{ "1": { "_meta": { "title": "Load Krea 2 Diffusion Model" }, "class_type": "UNETLoader", "inputs": { "unet_name": "krea2_turbo_bf16.safetensors", "weight_dtype": "default" } }, "10": { "_meta": { "title": "Krea2 Edit (source patch)" }, "class_type": "Krea2EditModelPatch", "inputs": { "model": [ "2", 0 ], "source_latent": [ "9", 0 ], "source_latent_b": [ "19", 0 ] } }, "11": { "_meta": { "title": "Edit Instruction (grounded on source)" }, "class_type": "Krea2EditGroundedEncode", "inputs": { "clip": [ "3", 0 ], "grounding_px": 768, "image": [ "7", 0 ], "image_b": [ "18", 0 ], "prompt": "replace the robot on the street with the man in the gray jacket" } }, "12": { "_meta": { "title": "Negative (grounded, empty \u2014 used at CFG > 1)" }, "class_type": "Krea2EditGroundedEncode", "inputs": { "clip": [ "3", 0 ], "grounding_px": 768, "image": [ "7", 0 ], "image_b": [ "18", 0 ], "prompt": "" } }, "13": { "_meta": { "title": "Target Latent (auto-sized from source)" }, "class_type": "EmptySD3LatentImage", "inputs": { "batch_size": 1, "height": [ "8", 1 ], "width": [ "8", 0 ] } }, "14": { "class_type": "KSampler", "inputs": { "cfg": 1.0, "denoise": 1.0, "latent_image": [ "13", 0 ], "model": [ "10", 0 ], "negative": [ "12", 0 ], "positive": [ "11", 0 ], "sampler_name": "euler", "scheduler": "simple", "seed": 42, "steps": 10 } }, "15": { "class_type": "VAEDecode", "inputs": { "samples": [ "14", 0 ], "vae": [ "4", 0 ] } }, "16": { "class_type": "SaveImage", "inputs": { "filename_prefix": "krea2_turbo_edit_2img", "images": [ "15", 0 ] } }, "17": { "_meta": { "title": "Reference Image B (subject)" }, "class_type": "LoadImage", "inputs": { "image": "example.png" } }, "18": { "_meta": { "title": "Resize B to match A" }, "class_type": "ResizeImageMaskNode", "inputs": { "input": [ "17", 0 ], "resize_type": "match size", "resize_type.crop": "center", "resize_type.match": [ "7", 0 ], "scale_method": "area" } }, "19": { "_meta": { "title": "VAE Encode Reference B" }, "class_type": "VAEEncode", "inputs": { "pixels": [ "18", 0 ], "vae": [ "4", 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 A (scene / base)" }, "class_type": "LoadImage", "inputs": { "image": "example.png" } }, "6": { "_meta": { "title": "Input max size (longest edge)" }, "class_type": "PrimitiveInt", "inputs": { "value": 1280 } }, "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": "Source size \u2192 target latent" }, "class_type": "GetImageSize", "inputs": { "image": [ "7", 0 ] } }, "9": { "_meta": { "title": "VAE Encode Source" }, "class_type": "VAEEncode", "inputs": { "pixels": [ "7", 0 ], "vae": [ "4", 0 ] } } }