{ "1": { "class_type": "UNETLoader", "inputs": { "unet_name": "qwen_image_edit_2511_bf16.safetensors", "weight_dtype": "default" } }, "10": { "_meta": { "title": "Accelerate? (ON=fast 4-step / OFF=full quality)" }, "class_type": "PrimitiveBoolean", "inputs": { "value": false } }, "11": { "_meta": { "title": "Switch: MODEL" }, "class_type": "ComfySwitchNode", "inputs": { "on_false": [ "8", 0 ], "on_true": [ "9", 0 ], "switch": [ "10", 0 ] } }, "12": { "_meta": { "title": "Full steps" }, "class_type": "PrimitiveInt", "inputs": { "value": 20 } }, "13": { "_meta": { "title": "Accel steps" }, "class_type": "PrimitiveInt", "inputs": { "value": 4 } }, "14": { "_meta": { "title": "Switch: STEPS" }, "class_type": "ComfySwitchNode", "inputs": { "on_false": [ "12", 0 ], "on_true": [ "13", 0 ], "switch": [ "10", 0 ] } }, "15": { "_meta": { "title": "Full CFG" }, "class_type": "PrimitiveFloat", "inputs": { "value": 4 } }, "16": { "_meta": { "title": "Accel CFG" }, "class_type": "PrimitiveFloat", "inputs": { "value": 1 } }, "17": { "_meta": { "title": "Switch: CFG" }, "class_type": "ComfySwitchNode", "inputs": { "on_false": [ "15", 0 ], "on_true": [ "16", 0 ], "switch": [ "10", 0 ] } }, "18": { "_meta": { "title": "Positive prompt" }, "class_type": "TextEncodeQwenImageEditPlus", "inputs": { "clip": [ "8", 1 ], "image1": [ "5", 0 ], "image2": [ "28", 0 ], "prompt": "replace the outfit of the subject with the bikini in the second image, don't change anything else", "vae": [ "3", 0 ] } }, "19": { "_meta": { "title": "Negative prompt" }, "class_type": "TextEncodeQwenImageEditPlus", "inputs": { "clip": [ "8", 1 ], "image1": [ "5", 0 ], "image2": [ "28", 0 ], "prompt": "", "vae": [ "3", 0 ] } }, "2": { "class_type": "CLIPLoader", "inputs": { "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "device": "default", "type": "qwen_image" } }, "20": { "class_type": "FluxKontextMultiReferenceLatentMethod", "inputs": { "conditioning": [ "18", 0 ], "reference_latents_method": "index_timestep_zero" } }, "21": { "class_type": "FluxKontextMultiReferenceLatentMethod", "inputs": { "conditioning": [ "19", 0 ], "reference_latents_method": "index_timestep_zero" } }, "22": { "class_type": "VAEEncode", "inputs": { "pixels": [ "5", 0 ], "vae": [ "3", 0 ] } }, "23": { "class_type": "KSampler", "inputs": { "cfg": [ "17", 0 ], "denoise": 1, "latent_image": [ "22", 0 ], "model": [ "11", 0 ], "negative": [ "21", 0 ], "positive": [ "20", 0 ], "sampler_name": "euler", "scheduler": "simple", "seed": 42, "steps": [ "14", 0 ] } }, "24": { "class_type": "VAEDecode", "inputs": { "samples": [ "23", 0 ], "vae": [ "3", 0 ] } }, "25": { "class_type": "SaveImage", "inputs": { "filename_prefix": "Qwen_Edit", "images": [ "24", 0 ] } }, "27": { "class_type": "LoadImage", "inputs": { "image": "Screenshot 2026-07-02 at 6.05.45\u202fPM.png" } }, "28": { "class_type": "FluxKontextImageScale", "inputs": { "image": [ "27", 0 ] } }, "3": { "class_type": "VAELoader", "inputs": { "vae_name": "qwen_image_vae.safetensors" } }, "4": { "class_type": "LoadImage", "inputs": { "image": "_DSC5579.jpg" } }, "5": { "class_type": "FluxKontextImageScale", "inputs": { "image": [ "4", 0 ] } }, "6": { "class_type": "ModelSamplingAuraFlow", "inputs": { "model": [ "1", 0 ], "shift": 3.1 } }, "7": { "class_type": "CFGNorm", "inputs": { "model": [ "6", 0 ], "pre_cfg": false, "strength": 1 } }, "8": { "_meta": { "title": "Power Lora Loader (content LoRAs)" }, "class_type": "Power Lora Loader (rgthree)", "inputs": { "clip": [ "2", 0 ], "lora_1": { "lora": "Qwen4Play_v2.safetensors", "on": true, "strength": 1, "strengthTwo": null }, "model": [ "7", 0 ] } }, "9": { "_meta": { "title": "Lightning 4-step LoRA (acceleration)" }, "class_type": "LoraLoaderModelOnly", "inputs": { "lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors", "model": [ "8", 0 ], "strength_model": 1 } } }