{ "id": "ad18abd3-bdee-4f80-8fae-d15d4f845b9d", "revision": 0, "last_node_id": 92, "last_link_id": 226, "nodes": [ { "id": 82, "type": "MarkdownNote", "pos": [ -1270, -370 ], "size": [ 570, 700 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "title": "Model Links", "properties": {}, "widgets_values": [ "## Report Issue\n\nNote: please [update ComfyUI](https://docs.comfy.org/zh-CN/installation/update_comfyui) first and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model Links\n\n**text_encoders**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n\n**loras**\n\n- [Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors)\n\n**diffusion_models**\n\n- [qwen_image_edit_2511_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2511_bf16.safetensors)\n\n**vae**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\n\nModel Storage Location\n\n```\nšŸ“‚ ComfyUI/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ text_encoders/\n│ │ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n│ ā”œā”€ā”€ šŸ“‚ loras/\n│ │ └── Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors\n│ ā”œā”€ā”€ šŸ“‚ diffusion_models/\n│ │ └── qwen_image_edit_2511_bf16.safetensors\n│ └── šŸ“‚ vae/\n│ └── qwen_image_vae.safetensors\n```\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 83, "type": "LoadImage", "pos": [ -640, 30 ], "size": [ 274.07552083333337, 314.0000000000001 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 222, 225 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "LoadImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "texture_fur.png", "image" ] }, { "id": 9, "type": "SaveImage", "pos": [ 150, -380 ], "size": [ 580, 480 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 220 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "SaveImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Qwen_Edit_2511" ] }, { "id": 92, "type": "SaveImage", "pos": [ 150, 180 ], "size": [ 580, 480 ], "flags": {}, "order": 6, "mode": 4, "inputs": [ { "name": "images", "type": "IMAGE", "link": 226 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "SaveImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Qwen_Edit_2511" ] }, { "id": 41, "type": "LoadImage", "pos": [ -640, -370 ], "size": [ 274.07552083333337, 314.00000000000006 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 221, 224 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "LoadImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "leather_sofa.png", "image" ] }, { "id": 91, "type": "8deb84c1-8382-4dff-8045-41b8c873a9c8", "pos": [ -300, 170 ], "size": [ 400, 460 ], "flags": {}, "order": 4, "mode": 4, "inputs": [ { "label": "image_1", "name": "image2", "type": "IMAGE", "link": 224 }, { "label": "image_2(optional)", "name": "image3", "type": "IMAGE", "link": 225 }, { "label": "image_3(optional)", "name": "image", "type": "IMAGE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 226 ] } ], "properties": { "proxyWidgets": [ [ "-1", "prompt" ], [ "65", "seed" ], [ "65", "control_after_generate" ] ], "cnr_id": "comfy-core", "ver": "0.5.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Change the furniture leather difference in image 1 to the fur material in image 2." ] }, { "id": 89, "type": "f6a6199b-ec6b-4d5d-b9ef-71e48ab04b12", "pos": [ -300, -370 ], "size": [ 400, 460 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "label": "image_1", "name": "image2", "type": "IMAGE", "link": 221 }, { "label": "image_2(optional)", "name": "image3", "type": "IMAGE", "link": 222 }, { "label": "image_3(optional)", "name": "image", "type": "IMAGE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 220 ] } ], "properties": { "proxyWidgets": [ [ "-1", "prompt" ], [ "65", "seed" ], [ "65", "control_after_generate" ] ], "cnr_id": "comfy-core", "ver": "0.5.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Change the furniture leather difference in image 1 to the fur material in image 2." ] } ], "links": [ [ 220, 89, 0, 9, 0, "IMAGE" ], [ 221, 41, 0, 89, 0, "IMAGE" ], [ 222, 83, 0, 89, 1, "IMAGE" ], [ 224, 41, 0, 91, 0, "IMAGE" ], [ 225, 83, 0, 91, 1, "IMAGE" ], [ 226, 91, 0, 92, 0, "IMAGE" ] ], "groups": [], "definitions": { "subgraphs": [ { "id": "f6a6199b-ec6b-4d5d-b9ef-71e48ab04b12", "version": 1, "state": { "lastGroupId": 3, "lastNodeId": 89, "lastLinkId": 226, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Image Edit (Qwen 2511)", "inputNode": { "id": -10, "bounding": [ -840, 175, 141.2265625, 120 ] }, "outputNode": { "id": -20, "bounding": [ 1160, 195, 120, 60 ] }, "inputs": [ { "id": "dd7b081e-ea65-43c8-bd68-0f82506c4246", "name": "image2", "type": "IMAGE", "linkIds": [ 219 ], "localized_name": "image2", "label": "image_1", "shape": 7, "pos": [ -718.7734375, 195 ] }, { "id": "70e82187-e90b-49d7-88cd-fce5c0522cc4", "name": "image3", "type": "IMAGE", "linkIds": [ 222, 223 ], "localized_name": "image3", "label": "image_2(optional)", "shape": 7, "pos": [ -718.7734375, 215 ] }, { "id": "342882bc-746e-471e-afc5-cac803d00044", "name": "image", "type": "IMAGE", "linkIds": [ 220, 221 ], "localized_name": "image", "label": "image_3(optional)", "pos": [ -718.7734375, 235 ] }, { "id": "37ec7435-5be8-4f68-a490-136ebe1a15f2", "name": "prompt", "type": "STRING", "linkIds": [ 217 ], "pos": [ -718.7734375, 255 ] } ], "outputs": [ { "id": "213ca908-7f8f-492b-9998-d4b74688db71", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 9 ], "localized_name": "IMAGE", "pos": [ 1180, 215 ] } ], "widgets": [], "nodes": [ { "id": 67, "type": "ModelSamplingAuraFlow", "pos": [ 320, -330 ], "size": [ 270, 68.33333333333334 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 226 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 177 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "ModelSamplingAuraFlow", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 3.1 ] }, { "id": 10, "type": "VAELoader", "pos": [ -645.9996482820792, 186.98522949158058 ], "size": [ 396.1328125, 68.33333333333334 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 12, 184, 185, 193 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "VAELoader", "models": [ { "name": "qwen_image_vae.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors", "directory": "vae" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_image_vae.safetensors" ] }, { "id": 12, "type": "UNETLoader", "pos": [ -645.9996482820792, -299.0147578770062 ], "size": [ 396.1328125, 96.66666666666667 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 226 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2511_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2511_bf16.safetensors", "directory": "diffusion_models" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_image_edit_2511_bf16.safetensors", "default" ] }, { "id": 71, "type": "FluxKontextMultiReferenceLatentMethod", "pos": [ 310, 40 ], "size": [ 309.6734375, 70 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 188 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 189 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "FluxKontextMultiReferenceLatentMethod", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "index_timestep_zero" ], "color": "#222", "bgcolor": "#000" }, { "id": 70, "type": "FluxKontextMultiReferenceLatentMethod", "pos": [ 310, -90 ], "size": [ 309.6734375, 70 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 186 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 187 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "FluxKontextMultiReferenceLatentMethod", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "index_timestep_zero" ], "color": "#222", "bgcolor": "#000" }, { "id": 64, "type": "CFGNorm", "pos": [ 320, -220 ], "size": [ 270, 68.33333333333334 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 177 } ], "outputs": [ { "localized_name": "patched_model", "name": "patched_model", "type": "MODEL", "links": [ 171 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "CFGNorm", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1 ] }, { "id": 81, "type": "MarkdownNote", "pos": [ 640, 280 ], "size": [ 270, 190 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "title": "KSampler settings", "properties": {}, "widgets_values": [ "You can test and find the best setting by yourself. The following table is for reference.\n| | Qwen | Comfy | lightning LoRA |\n|--------|---------|------------|---------------------------|\n| Steps | 40 | 20 | 4 |\n| CFG | 4.0 | 4.0 | 1.0 |\n\nBy default, we use 20 steps as we just don't want it to take too long. Try 40 if you want a better result, but it will take longer." ], "color": "#222", "bgcolor": "#000" }, { "id": 69, "type": "TextEncodeQwenImageEditPlus", "pos": [ -170, 30 ], "size": [ 420, 220 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 181 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 185 }, { "localized_name": "image1", "name": "image1", "shape": 7, "type": "IMAGE", "link": 214 }, { "localized_name": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 223 }, { "localized_name": "image3", "name": "image3", "shape": 7, "type": "IMAGE", "link": 221 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 188 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "TextEncodeQwenImageEditPlus", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "" ], "color": "#322", "bgcolor": "#533" }, { "id": 72, "type": "Note", "pos": [ 330, 160 ], "size": [ 280, 90 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "The \"Edit Model Reference Method\" nodes above are not needed if you use Comfy files, but may be needed if you use repackaged ones from other people." ], "color": "#432", "bgcolor": "#653" }, { "id": 8, "type": "VAEDecode", "pos": [ 960, -320 ], "size": [ 140, 46 ], "flags": { "collapsed": false }, "order": 7, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 175 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 12 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 9 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "VAEDecode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 68, "type": "TextEncodeQwenImageEditPlus", "pos": [ -170, -290 ], "size": [ 426.6276041666667, 265.55989583333337 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 178 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 184 }, { "localized_name": "image1", "name": "image1", "shape": 7, "type": "IMAGE", "link": 225 }, { "localized_name": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 222 }, { "localized_name": "image3", "name": "image3", "shape": 7, "type": "IMAGE", "link": 220 }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 217 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 186 ] } ], "title": "TextEncodeQwenImageEditPlus (Positive)", "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "TextEncodeQwenImageEditPlus", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Change the furniture leather difference in image 1 to the fur material in image 2." ], "color": "#232", "bgcolor": "#353" }, { "id": 75, "type": "VAEEncode", "pos": [ 40, 370 ], "size": [ 187.5, 60 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "pixels", "name": "pixels", "type": "IMAGE", "link": 215 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 193 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 195 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "VAEEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 65, "type": "KSampler", "pos": [ 630, -330 ], "size": [ 280, 560 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 171 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 187 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 189 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 195 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 175 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 0, "randomize", 40, 4, "euler", "simple", 1 ] }, { "id": 88, "type": "FluxKontextImageScale", "pos": [ -640, 380 ], "size": [ 194.9458984375, 26 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 219 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 213, 214, 215, 225 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "FluxKontextImageScale", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 61, "type": "CLIPLoader", "pos": [ -650, -80 ], "size": [ 396.1328125, 125 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 178, 181 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors", "directory": "text_encoders" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_2.5_vl_7b_fp8_scaled.safetensors", "qwen_image", "default" ] } ], "groups": [ { "id": 1, "title": "Models", "bounding": [ -660, -370, 416.1419982910156, 630.0299011230469 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Prompt", "bounding": [ -220, -370, 510, 630 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "links": [ { "id": 188, "origin_id": 69, "origin_slot": 0, "target_id": 71, "target_slot": 0, "type": "CONDITIONING" }, { "id": 186, "origin_id": 68, "origin_slot": 0, "target_id": 70, "target_slot": 0, "type": "CONDITIONING" }, { "id": 177, "origin_id": 67, "origin_slot": 0, "target_id": 64, "target_slot": 0, "type": "MODEL" }, { "id": 181, "origin_id": 61, "origin_slot": 0, "target_id": 69, "target_slot": 0, "type": "CLIP" }, { "id": 185, "origin_id": 10, "origin_slot": 0, "target_id": 69, "target_slot": 1, "type": "VAE" }, { "id": 214, "origin_id": 88, "origin_slot": 0, "target_id": 69, "target_slot": 2, "type": "IMAGE" }, { "id": 215, "origin_id": 88, "origin_slot": 0, "target_id": 75, "target_slot": 0, "type": "IMAGE" }, { "id": 193, "origin_id": 10, "origin_slot": 0, "target_id": 75, "target_slot": 1, "type": "VAE" }, { "id": 178, "origin_id": 61, "origin_slot": 0, "target_id": 68, "target_slot": 0, "type": "CLIP" }, { "id": 184, "origin_id": 10, "origin_slot": 0, "target_id": 68, "target_slot": 1, "type": "VAE" }, { "id": 171, "origin_id": 64, "origin_slot": 0, "target_id": 65, "target_slot": 0, "type": "MODEL" }, { "id": 187, "origin_id": 70, "origin_slot": 0, "target_id": 65, "target_slot": 1, "type": "CONDITIONING" }, { "id": 189, "origin_id": 71, "origin_slot": 0, "target_id": 65, "target_slot": 2, "type": "CONDITIONING" }, { "id": 195, "origin_id": 75, "origin_slot": 0, "target_id": 65, "target_slot": 3, "type": "LATENT" }, { "id": 175, "origin_id": 65, "origin_slot": 0, "target_id": 8, "target_slot": 0, "type": "LATENT" }, { "id": 12, "origin_id": 10, "origin_slot": 0, "target_id": 8, "target_slot": 1, "type": "VAE" }, { "id": 9, "origin_id": 8, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "IMAGE" }, { "id": 217, "origin_id": -10, "origin_slot": 3, "target_id": 68, "target_slot": 5, "type": "STRING" }, { "id": 219, "origin_id": -10, "origin_slot": 0, "target_id": 88, "target_slot": 0, "type": "IMAGE" }, { "id": 220, "origin_id": -10, "origin_slot": 2, "target_id": 68, "target_slot": 4, "type": "IMAGE" }, { "id": 221, "origin_id": -10, "origin_slot": 2, "target_id": 69, "target_slot": 4, "type": "IMAGE" }, { "id": 222, "origin_id": -10, "origin_slot": 1, "target_id": 68, "target_slot": 3, "type": "IMAGE" }, { "id": 223, "origin_id": -10, "origin_slot": 1, "target_id": 69, "target_slot": 3, "type": "IMAGE" }, { "id": 225, "origin_id": 88, "origin_slot": 0, "target_id": 68, "target_slot": 2, "type": "IMAGE" }, { "id": 226, "origin_id": 12, "origin_slot": 0, "target_id": 67, "target_slot": 0, "type": "MODEL" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "8deb84c1-8382-4dff-8045-41b8c873a9c8", "version": 1, "state": { "lastGroupId": 3, "lastNodeId": 88, "lastLinkId": 225, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Image Edit (Qwen 2511 4steps)", "inputNode": { "id": -10, "bounding": [ -840, 175, 141.2265625, 120 ] }, "outputNode": { "id": -20, "bounding": [ 1160, 195, 120, 60 ] }, "inputs": [ { "id": "dd7b081e-ea65-43c8-bd68-0f82506c4246", "name": "image2", "type": "IMAGE", "linkIds": [ 219 ], "localized_name": "image2", "label": "image_1", "shape": 7, "pos": [ -718.7734375, 195 ] }, { "id": "70e82187-e90b-49d7-88cd-fce5c0522cc4", "name": "image3", "type": "IMAGE", "linkIds": [ 222, 223 ], "localized_name": "image3", "label": "image_2(optional)", "shape": 7, "pos": [ -718.7734375, 215 ] }, { "id": "342882bc-746e-471e-afc5-cac803d00044", "name": "image", "type": "IMAGE", "linkIds": [ 224, 225 ], "localized_name": "image", "label": "image_3(optional)", "pos": [ -718.7734375, 235 ] }, { "id": "37ec7435-5be8-4f68-a490-136ebe1a15f2", "name": "prompt", "type": "STRING", "linkIds": [ 217 ], "pos": [ -718.7734375, 255 ] } ], "outputs": [ { "id": "213ca908-7f8f-492b-9998-d4b74688db71", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 9 ], "localized_name": "IMAGE", "pos": [ 1180, 215 ] } ], "widgets": [], "nodes": [ { "id": 61, "type": "CLIPLoader", "pos": [ -645.9996482820792, 8.985344797735479 ], "size": [ 396.1328125, 125 ], "flags": {}, "order": 0, "mode": 4, "inputs": [], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 178, 181 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors", "directory": "text_encoders" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_2.5_vl_7b_fp8_scaled.safetensors", "qwen_image", "default" ] }, { "id": 67, "type": "ModelSamplingAuraFlow", "pos": [ 320, -330 ], "size": [ 270, 68.33333333333334 ], "flags": {}, "order": 6, "mode": 4, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 192 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 177 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "ModelSamplingAuraFlow", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 3.1 ] }, { "id": 10, "type": "VAELoader", "pos": [ -645.9996482820792, 186.98522949158058 ], "size": [ 396.1328125, 68.33333333333334 ], "flags": {}, "order": 1, "mode": 4, "inputs": [], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 12, 184, 185, 193 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "VAELoader", "models": [ { "name": "qwen_image_vae.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors", "directory": "vae" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_image_vae.safetensors" ] }, { "id": 12, "type": "UNETLoader", "pos": [ -645.9996482820792, -299.0147578770062 ], "size": [ 396.1328125, 96.66666666666667 ], "flags": {}, "order": 2, "mode": 4, "inputs": [], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 191 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2511_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2511_bf16.safetensors", "directory": "diffusion_models" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_image_edit_2511_bf16.safetensors", "default" ] }, { "id": 71, "type": "FluxKontextMultiReferenceLatentMethod", "pos": [ 310, 40 ], "size": [ 309.6734375, 70 ], "flags": {}, "order": 13, "mode": 4, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 188 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 189 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "FluxKontextMultiReferenceLatentMethod", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "index_timestep_zero" ], "color": "#222", "bgcolor": "#000" }, { "id": 70, "type": "FluxKontextMultiReferenceLatentMethod", "pos": [ 310, -90 ], "size": [ 309.6734375, 70 ], "flags": {}, "order": 12, "mode": 4, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 186 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 187 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "FluxKontextMultiReferenceLatentMethod", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "index_timestep_zero" ], "color": "#222", "bgcolor": "#000" }, { "id": 64, "type": "CFGNorm", "pos": [ 320, -220 ], "size": [ 270, 68.33333333333334 ], "flags": {}, "order": 7, "mode": 4, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 177 } ], "outputs": [ { "localized_name": "patched_model", "name": "patched_model", "type": "MODEL", "links": [ 171 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "CFGNorm", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1 ] }, { "id": 81, "type": "MarkdownNote", "pos": [ 640, 280 ], "size": [ 270, 190 ], "flags": {}, "order": 3, "mode": 4, "inputs": [], "outputs": [], "title": "KSampler settings", "properties": {}, "widgets_values": [ "You can test and find the best setting by yourself. The following table is for reference.\n| | Qwen | Comfy | lightning LoRA |\n|--------|---------|------------|---------------------------|\n| Steps | 40 | 20 | 4 |\n| CFG | 4.0 | 4.0 | 1.0 |\n\nBy default, we use 20 steps as we just don't want it to take too long. Try 40 if you want a better result, but it will take longer." ], "color": "#222", "bgcolor": "#000" }, { "id": 72, "type": "Note", "pos": [ 330, 160 ], "size": [ 280, 90 ], "flags": {}, "order": 4, "mode": 4, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "The \"Edit Model Reference Method\" nodes above are not needed if you use Comfy files, but may be needed if you use repackaged ones from other people." ], "color": "#432", "bgcolor": "#653" }, { "id": 8, "type": "VAEDecode", "pos": [ 960, -320 ], "size": [ 140, 46 ], "flags": { "collapsed": false }, "order": 8, "mode": 4, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 175 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 12 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 9 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "VAEDecode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 68, "type": "TextEncodeQwenImageEditPlus", "pos": [ -170, -290 ], "size": [ 426.6276041666667, 265.55989583333337 ], "flags": {}, "order": 10, "mode": 4, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 178 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 184 }, { "localized_name": "image1", "name": "image1", "shape": 7, "type": "IMAGE", "link": 213 }, { "localized_name": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 222 }, { "localized_name": "image3", "name": "image3", "shape": 7, "type": "IMAGE", "link": 225 }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 217 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 186 ] } ], "title": "TextEncodeQwenImageEditPlus (Positive)", "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "TextEncodeQwenImageEditPlus", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Change the furniture leather difference in image 1 to the fur material in image 2." ], "color": "#232", "bgcolor": "#353" }, { "id": 75, "type": "VAEEncode", "pos": [ 40, 370 ], "size": [ 187.5, 60 ], "flags": {}, "order": 14, "mode": 4, "inputs": [ { "localized_name": "pixels", "name": "pixels", "type": "IMAGE", "link": 215 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 193 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 195 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "VAEEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 88, "type": "FluxKontextImageScale", "pos": [ -640, 380 ], "size": [ 194.9458984375, 26 ], "flags": {}, "order": 15, "mode": 4, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 219 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 213, 214, 215 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "FluxKontextImageScale", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 74, "type": "LoraLoaderModelOnly", "pos": [ -645.9996482820792, -145.01474041268298 ], "size": [ 396.1328125, 96.66666666666667 ], "flags": {}, "order": 5, "mode": 4, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 191 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 192 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "LoraLoaderModelOnly", "models": [ { "name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors", "url": "https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors", "directory": "loras" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors", 1 ] }, { "id": 65, "type": "KSampler", "pos": [ 630, -330 ], "size": [ 280, 560 ], "flags": {}, "order": 9, "mode": 4, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 171 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 187 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 189 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 195 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 175 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 374470990866512, "randomize", 4, 1, "euler", "simple", 1 ] }, { "id": 69, "type": "TextEncodeQwenImageEditPlus", "pos": [ -170, 30 ], "size": [ 420, 220 ], "flags": {}, "order": 11, "mode": 4, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 181 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 185 }, { "localized_name": "image1", "name": "image1", "shape": 7, "type": "IMAGE", "link": 214 }, { "localized_name": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 223 }, { "localized_name": "image3", "name": "image3", "shape": 7, "type": "IMAGE", "link": 224 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 188 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "TextEncodeQwenImageEditPlus", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "" ], "color": "#322", "bgcolor": "#533" } ], "groups": [ { "id": 1, "title": "Models", "bounding": [ -660, -370, 416.1419982910156, 630.0299011230469 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Prompt", "bounding": [ -220, -370, 510, 630 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "links": [ { "id": 192, "origin_id": 74, "origin_slot": 0, "target_id": 67, "target_slot": 0, "type": "MODEL" }, { "id": 188, "origin_id": 69, "origin_slot": 0, "target_id": 71, "target_slot": 0, "type": "CONDITIONING" }, { "id": 186, "origin_id": 68, "origin_slot": 0, "target_id": 70, "target_slot": 0, "type": "CONDITIONING" }, { "id": 177, "origin_id": 67, "origin_slot": 0, "target_id": 64, "target_slot": 0, "type": "MODEL" }, { "id": 181, "origin_id": 61, "origin_slot": 0, "target_id": 69, "target_slot": 0, "type": "CLIP" }, { "id": 185, "origin_id": 10, "origin_slot": 0, "target_id": 69, "target_slot": 1, "type": "VAE" }, { "id": 214, "origin_id": 88, "origin_slot": 0, "target_id": 69, "target_slot": 2, "type": "IMAGE" }, { "id": 215, "origin_id": 88, "origin_slot": 0, "target_id": 75, "target_slot": 0, "type": "IMAGE" }, { "id": 193, "origin_id": 10, "origin_slot": 0, "target_id": 75, "target_slot": 1, "type": "VAE" }, { "id": 178, "origin_id": 61, "origin_slot": 0, "target_id": 68, "target_slot": 0, "type": "CLIP" }, { "id": 184, "origin_id": 10, "origin_slot": 0, "target_id": 68, "target_slot": 1, "type": "VAE" }, { "id": 213, "origin_id": 88, "origin_slot": 0, "target_id": 68, "target_slot": 2, "type": "IMAGE" }, { "id": 171, "origin_id": 64, "origin_slot": 0, "target_id": 65, "target_slot": 0, "type": "MODEL" }, { "id": 187, "origin_id": 70, "origin_slot": 0, "target_id": 65, "target_slot": 1, "type": "CONDITIONING" }, { "id": 189, "origin_id": 71, "origin_slot": 0, "target_id": 65, "target_slot": 2, "type": "CONDITIONING" }, { "id": 195, "origin_id": 75, "origin_slot": 0, "target_id": 65, "target_slot": 3, "type": "LATENT" }, { "id": 191, "origin_id": 12, "origin_slot": 0, "target_id": 74, "target_slot": 0, "type": "MODEL" }, { "id": 175, "origin_id": 65, "origin_slot": 0, "target_id": 8, "target_slot": 0, "type": "LATENT" }, { "id": 12, "origin_id": 10, "origin_slot": 0, "target_id": 8, "target_slot": 1, "type": "VAE" }, { "id": 9, "origin_id": 8, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "IMAGE" }, { "id": 217, "origin_id": -10, "origin_slot": 3, "target_id": 68, "target_slot": 5, "type": "STRING" }, { "id": 219, "origin_id": -10, "origin_slot": 0, "target_id": 88, "target_slot": 0, "type": "IMAGE" }, { "id": 222, "origin_id": -10, "origin_slot": 1, "target_id": 68, "target_slot": 3, "type": "IMAGE" }, { "id": 223, "origin_id": -10, "origin_slot": 1, "target_id": 69, "target_slot": 3, "type": "IMAGE" }, { "id": 224, "origin_id": -10, "origin_slot": 2, "target_id": 69, "target_slot": 4, "type": "IMAGE" }, { "id": 225, "origin_id": -10, "origin_slot": 2, "target_id": 68, "target_slot": 4, "type": "IMAGE" } ], "extra": { "workflowRendererVersion": "LG" } } ] }, "config": {}, "extra": { "ds": { "scale": 1.173807427787063, "offset": [ 1209.8255117202073, 577.8503352803713 ] }, "frontendVersion": "1.37.11", "workflowRendererVersion": "LG", "groupNodes": {}, "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }