ComfyUI / workflows /api /new-krea2-identity-edit-raw.json
aleph65's picture
Add new-krea2 identity-edit workflows (std + max) from The AI Blueprint Krea 2 Identity LoRA video
905aa07 verified
Raw
History Blame Contribute Delete
4.27 kB
{
"1": {
"_meta": {
"title": "Load Krea 2 Diffusion Model"
},
"class_type": "UNETLoader",
"inputs": {
"unet_name": "krea2_raw_bf16.safetensors",
"weight_dtype": "default"
}
},
"10": {
"_meta": {
"title": "Krea2 Edit (source patch)"
},
"class_type": "Krea2EditModelPatch",
"inputs": {
"fit_mode": "crop (legacy)",
"model": [
"2",
0
],
"ref_boost": 1.0,
"ref_boost_a": 1.0,
"source_image": [
"7",
0
],
"source_latent": [
"8",
0
],
"vae": [
"4",
0
]
}
},
"11": {
"_meta": {
"title": "Edit Instruction (grounded on source)"
},
"class_type": "Krea2EditGroundedEncode",
"inputs": {
"clip": [
"3",
0
],
"grounding_px": 768,
"image": [
"7",
0
],
"prompt": "A cinematic portrait photo of this woman standing in a neon-lit city street at night, shallow depth of field, soft rim lighting, 85mm lens",
"system_prompt": ""
}
},
"12": {
"_meta": {
"title": "Negative (grounded \u2014 used at CFG > 1)"
},
"class_type": "Krea2EditGroundedEncode",
"inputs": {
"clip": [
"3",
0
],
"grounding_px": 768,
"image": [
"7",
0
],
"prompt": "blurry, low quality, jpeg artifacts, oversaturated, plastic skin, deformed face, extra fingers",
"system_prompt": ""
}
},
"13": {
"_meta": {
"title": "Target Latent (auto-sized from source)"
},
"class_type": "EmptySD3LatentImage",
"inputs": {
"batch_size": 1,
"height": [
"9",
1
],
"width": [
"9",
0
]
}
},
"14": {
"class_type": "KSampler",
"inputs": {
"cfg": 2.5,
"denoise": 1.0,
"latent_image": [
"13",
0
],
"model": [
"10",
0
],
"negative": [
"12",
0
],
"positive": [
"11",
0
],
"sampler_name": "er_sde",
"scheduler": "simple",
"seed": 42,
"steps": 50
}
},
"15": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"14",
0
],
"vae": [
"4",
0
]
}
},
"16": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "new-krea2-identity-raw",
"images": [
"15",
0
]
}
},
"2": {
"_meta": {
"title": "Identity Edit LoRA v1.1 (required)"
},
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "krea2_identity_edit_v1_1.safetensors",
"model": [
"1",
0
],
"strength_model": 1.0
}
},
"3": {
"_meta": {
"title": "Load Text Encoder"
},
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
"device": "default",
"type": "krea2"
}
},
"4": {
"_meta": {
"title": "Load VAE"
},
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
}
},
"5": {
"_meta": {
"title": "Source Image"
},
"class_type": "LoadImage",
"inputs": {
"image": "example.png"
}
},
"6": {
"_meta": {
"title": "Input max size (longest edge)"
},
"class_type": "PrimitiveInt",
"inputs": {
"value": 1536
}
},
"7": {
"_meta": {
"title": "Scale source (longest edge = max size)"
},
"class_type": "ImageScaleToMaxDimension",
"inputs": {
"image": [
"5",
0
],
"largest_size": [
"6",
0
],
"upscale_method": "lanczos"
}
},
"8": {
"_meta": {
"title": "VAE Encode Source"
},
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"7",
0
],
"vae": [
"4",
0
]
}
},
"9": {
"_meta": {
"title": "Source size \u2192 target latent"
},
"class_type": "GetImageSize",
"inputs": {
"image": [
"7",
0
]
}
}
}