{ "id": "56a1db8e-9282-4603-b83e-5fa9fa0e5345", "revision": 0, "last_node_id": 473, "last_link_id": 747, "nodes": [ { "id": 208, "type": "SaveImage", "pos": [ 270, -330 ], "size": [ 430, 740 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 741 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.3.76" }, "widgets_values": [ "ComfyUI" ] }, { "id": 103, "type": "LoadImage", "pos": [ -760.0000034785165, -329.9999904040152 ], "size": [ 480, 750 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 740 ] }, { "name": "MASK", "type": "MASK", "links": [] } ], "title": "Load Image + Draw Square Mask", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.59", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "image": "37dd5649ea6ac727ffb778dff739642156fc718fb0249b8dd1e6437cd0448b6a.png [input]" }, "widgets_values": [ "comfy_cloud_bottle.png", "image" ] }, { "id": 471, "type": "5f5b3951-e8b8-4068-9eb5-2c3d75ecf54b", "pos": [ -230, -330 ], "size": [ 440, 708 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "label": "image", "name": "image", "type": "IMAGE", "link": 740 }, { "label": "image2 (optional)", "name": "image2", "type": "IMAGE", "link": null }, { "label": "image3 (optional)", "name": "image3", "type": "IMAGE", "link": null }, { "label": "enable_turbo_mode", "name": "value", "type": "BOOLEAN", "widget": { "name": "value" }, "link": null }, { "label": "lightning_lora", "name": "lora_name_1", "type": "COMBO", "widget": { "name": "lora_name_1" }, "link": null }, { "label": "lora_strength", "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" }, "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 741 ] } ], "properties": { "proxyWidgets": [ [ "116", "prompt" ], [ "121", "seed" ], [ "443", "value" ], [ "113", "unet_name" ], [ "112", "clip_name" ], [ "111", "vae_name" ], [ "226", "lora_name" ], [ "472", "lora_name" ], [ "472", "strength_model" ], [ "121", "control_after_generate" ] ], "cnr_id": "comfy-core", "ver": "0.3.62", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 473, "type": "MarkdownNote", "pos": [ -1450, -330 ], "size": [ 660, 1030.140625 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI)\n- [Hugging Face:Comfy-Org/Qwen-Image-Edit_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/Qwen-Image_ComfyUI](https://modelscope.cn/models/Comfy-Org/Qwen-Image_ComfyUI)\n- [ModelScope:Comfy-Org/Qwen-Image-Edit_ComfyUI](https://modelscope.cn/models/Comfy-Org/Qwen-Image-Edit_ComfyUI)\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) (242 MB)\n\n**text_encoders**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors) (8.74 GB)\n\n**diffusion_models**\n\n- [qwen_image_edit_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors) (19.03 GB)\n\n**loras**\n\n- [Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors) (810.2 MB)\n- [Qwen-Image-Edit-2509-Fusion.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Fusion.safetensors) (225.2 MB)\n\n## Model Storage Location\n\n```\nšŸ“‚ ComfyUI/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ vae/\n│ │ └── qwen_image_vae.safetensors\n│ ā”œā”€ā”€ šŸ“‚ text_encoders/\n│ │ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n│ ā”œā”€ā”€ šŸ“‚ diffusion_models/\n│ │ └── qwen_image_edit_2509_fp8_e4m3fn.safetensors\n│ └── šŸ“‚ loras/\n│ ā”œā”€ā”€ Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors\n│ └── Qwen-Image-Edit-2509-Fusion.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\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" ], "color": "#222", "bgcolor": "#000" } ], "links": [ [ 740, 103, 0, 471, 0, "IMAGE" ], [ 741, 471, 0, 208, 0, "IMAGE" ] ], "groups": [], "definitions": { "subgraphs": [ { "id": "5f5b3951-e8b8-4068-9eb5-2c3d75ecf54b", "version": 1, "state": { "lastGroupId": 51, "lastNodeId": 473, "lastLinkId": 747, "lastRerouteId": 1 }, "revision": 0, "config": {}, "name": "Image Edit (Qwen 2509 with LoRA)", "inputNode": { "id": -10, "bounding": [ -1160, 280, 151.744140625, 280 ] }, "outputNode": { "id": -20, "bounding": [ 2030, -20, 120, 60 ] }, "inputs": [ { "id": "d5089bd3-63bc-4a24-b478-6565ed2364e3", "name": "image", "type": "IMAGE", "linkIds": [ 248 ], "label": "image", "pos": [ -1028.255859375, 300 ] }, { "id": "9e80fff0-ed0a-439f-a16e-a4a6cc1eb601", "name": "image2", "type": "IMAGE", "linkIds": [ 235, 236 ], "label": "image2 (optional)", "pos": [ -1028.255859375, 320 ] }, { "id": "49d98fd6-01b5-440b-8603-579252fd7fef", "name": "image3", "type": "IMAGE", "linkIds": [ 237, 238 ], "label": "image3 (optional)", "pos": [ -1028.255859375, 340 ] }, { "id": "5de32f24-a7b5-4423-b772-72824005f585", "name": "prompt", "type": "STRING", "linkIds": [ 244 ], "pos": [ -1028.255859375, 360 ] }, { "id": "85fb3d74-7881-4c71-bc8c-624be5eedc3d", "name": "seed", "type": "INT", "linkIds": [ 718 ], "pos": [ -1028.255859375, 380 ] }, { "id": "b0c828de-d7eb-42a3-8dfb-4f53360d4fc9", "name": "value", "type": "BOOLEAN", "linkIds": [ 719 ], "label": "enable_turbo_mode", "pos": [ -1028.255859375, 400 ] }, { "id": "072baa05-5551-4a98-bd66-015a36833ac2", "name": "unet_name", "type": "COMBO", "linkIds": [ 720 ], "pos": [ -1028.255859375, 420 ] }, { "id": "d2891d11-b336-4750-9742-b93717c9ae39", "name": "clip_name", "type": "COMBO", "linkIds": [ 721 ], "pos": [ -1028.255859375, 440 ] }, { "id": "4218135f-5128-4b7e-8572-92cc55615793", "name": "vae_name", "type": "COMBO", "linkIds": [ 722 ], "pos": [ -1028.255859375, 460 ] }, { "id": "283f901d-f64d-4918-9920-a650c52a3fd7", "name": "lora_name_1", "type": "COMBO", "linkIds": [ 738 ], "label": "lightning_lora", "pos": [ -1028.255859375, 480 ] }, { "id": "4f3a01c5-a063-48eb-973c-847df35a49f7", "name": "lora_name", "type": "COMBO", "linkIds": [ 746 ], "pos": [ -1028.255859375, 500 ] }, { "id": "3dddccbd-0d86-40fa-957d-241b6f54a201", "name": "strength_model", "type": "FLOAT", "linkIds": [ 747 ], "label": "lora_strength", "pos": [ -1028.255859375, 520 ] } ], "outputs": [ { "id": "c4ebfc18-de83-4361-8e42-767c3c8c25c0", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 110 ], "localized_name": "IMAGE", "pos": [ 2050, 0 ] } ], "widgets": [], "nodes": [ { "id": 110, "type": "CFGNorm", "pos": [ 1079.9998685593825, 29.99996459560395 ], "size": [ 290, 110 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 141 } ], "outputs": [ { "localized_name": "patched_model", "name": "patched_model", "type": "MODEL", "links": [ 186 ] } ], "properties": { "Node name for S&R": "CFGNorm", "cnr_id": "comfy-core", "ver": "0.3.50", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": { "widget_ue_connectable": { "strength": true } } }, "widgets_values": [ 1 ] }, { "id": 111, "type": "VAELoader", "pos": [ -729.9998385017533, 599.999932648826 ], "size": [ 330, 110 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "vae_name", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" }, "link": 722 } ], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 76, 168, 206, 207 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "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" } ], "widget_ue_connectable": {} }, "widgets_values": [ "qwen_image_vae.safetensors" ] }, { "id": 112, "type": "CLIPLoader", "pos": [ -729.9998385017533, 339.9999191975528 ], "size": [ 330, 150 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": 721 } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 204, 205 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "models": [ { "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors", "directory": "text_encoders" } ], "widget_ue_connectable": {} }, "widgets_values": [ "qwen_2.5_vl_7b_fp8_scaled.safetensors", "qwen_image", "default" ] }, { "id": 113, "type": "UNETLoader", "pos": [ -729.9998385017533, -60.00004904249312 ], "size": [ 330, 110 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "unet_name", "name": "unet_name", "type": "COMBO", "widget": { "name": "unet_name" }, "link": 720 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 745 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors", "directory": "diffusion_models" } ], "widget_ue_connectable": {} }, "widgets_values": [ "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "default" ] }, { "id": 114, "type": "TextEncodeQwenImageEditPlus", "pos": [ -269.99981757755063, 479.9999580567886 ], "size": [ 460, 260 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 204 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 206 }, { "localized_name": "image1", "name": "image1", "shape": 7, "type": "IMAGE", "link": 251 }, { "localized_name": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 236 }, { "localized_name": "image3", "name": "image3", "shape": 7, "type": "IMAGE", "link": 238 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 210 ] } ], "properties": { "Node name for S&R": "TextEncodeQwenImageEditPlus", "cnr_id": "comfy-core", "ver": "0.3.59", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 115, "type": "ModelSamplingAuraFlow", "pos": [ 1070.0000419313599, -120.00002699734924 ], "size": [ 290, 110 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 708 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "properties": { "Node name for S&R": "ModelSamplingAuraFlow", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 3 ] }, { "id": 116, "type": "TextEncodeQwenImageEditPlus", "pos": [ -280.0000178520761, -70.00002512911689 ], "size": [ 470, 490 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 205 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 207 }, { "localized_name": "image1", "name": "image1", "shape": 7, "type": "IMAGE", "link": 250 }, { "localized_name": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 235 }, { "localized_name": "image3", "name": "image3", "shape": 7, "type": "IMAGE", "link": 237 }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 244 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 211 ] } ], "properties": { "Node name for S&R": "TextEncodeQwenImageEditPlus", "cnr_id": "comfy-core", "ver": "0.3.59", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Image blending, correcting the product's perspective angle and light and shadow to integrate the product into the background" ], "color": "#232", "bgcolor": "#353" }, { "id": 117, "type": "VAEEncode", "pos": [ -69.99992219857222, 859.9999461000994 ], "size": [ 230, 100 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "pixels", "name": "pixels", "type": "IMAGE", "link": 249 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 168 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 246 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.3.50", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": { "widget_ue_connectable": {} } }, "widgets_values": [] }, { "id": 118, "type": "VAEDecode", "pos": [ 1589.9998446460042, -60.00004904249312 ], "size": [ 230, 100 ], "flags": { "collapsed": false }, "order": 13, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 128 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 110 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 226, "type": "LoraLoaderModelOnly", "pos": [ 320.00004193136215, 299.9999401217571 ], "size": [ 300, 140 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 743 }, { "localized_name": "lora_name", "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" }, "link": 738 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 709 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.50", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "models": [ { "name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors", "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors", "directory": "loras" } ], "ue_properties": { "widget_ue_connectable": { "lora_name": true, "strength_model": true } } }, "widgets_values": [ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors", 1 ] }, { "id": 120, "type": "FluxKontextImageScale", "pos": [ -680, 870 ], "size": [ 230, 80 ], "flags": {}, "order": 14, "mode": 4, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 248 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 249, 250, 251 ] } ], "properties": { "Node name for S&R": "FluxKontextImageScale", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 121, "type": "KSampler", "pos": [ 1070.0000419313599, 209.9999031307536 ], "size": [ 300, 590 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 186 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 211 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 210 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 246 }, { "localized_name": "seed", "name": "seed", "type": "INT", "widget": { "name": "seed" }, "link": 718 }, { "localized_name": "steps", "name": "steps", "type": "INT", "widget": { "name": "steps" }, "link": 707 }, { "localized_name": "cfg", "name": "cfg", "type": "FLOAT", "widget": { "name": "cfg" }, "link": 706 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 128 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 1032855151349184, "randomize", 4, 1, "euler", "simple", 1 ] }, { "id": 436, "type": "PrimitiveInt", "pos": [ 320.00004193136215, 499.99991023003616 ], "size": [ 270, 110 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "INT", "name": "INT", "type": "INT", "links": [ 713 ] } ], "title": "Stpes", "properties": { "Node name for S&R": "PrimitiveInt", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 4, "fixed" ] }, { "id": 437, "type": "PrimitiveFloat", "pos": [ 320.00004193136215, 669.999952078444 ], "size": [ 270, 110 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "FLOAT", "name": "FLOAT", "type": "FLOAT", "links": [ 714 ] } ], "title": "CFG", "properties": { "Node name for S&R": "PrimitiveFloat", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1 ] }, { "id": 438, "type": "PrimitiveInt", "pos": [ 320.00004193136215, -100.00003745945139 ], "size": [ 270, 110 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "INT", "name": "INT", "type": "INT", "links": [ 711 ] } ], "title": "Steps", "properties": { "Node name for S&R": "PrimitiveInt", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 20, "fixed" ] }, { "id": 439, "type": "PrimitiveFloat", "pos": [ 320.00004193136215, 69.99998103604995 ], "size": [ 270, 110 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "FLOAT", "name": "FLOAT", "type": "FLOAT", "links": [ 712 ] } ], "title": "CFG", "properties": { "Node name for S&R": "PrimitiveFloat", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 4 ] }, { "id": 440, "type": "ComfySwitchNode", "pos": [ 750.000059866393, -80.00001055690325 ], "size": [ 270, 130 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "type": "MODEL", "link": 744 }, { "localized_name": "on_true", "name": "on_true", "type": "MODEL", "link": 709 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": 715 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "MODEL", "links": [ 708 ] } ], "title": "Switch (Model)", "properties": { "Node name for S&R": "ComfySwitchNode", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ false ] }, { "id": 441, "type": "ComfySwitchNode", "pos": [ 730.0002571517464, 339.9999191975528 ], "size": [ 270, 130 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "type": "INT", "link": 711 }, { "localized_name": "on_true", "name": "on_true", "type": "INT", "link": 713 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": 716 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "INT", "links": [ 707 ] } ], "title": "Switch (Steps)", "properties": { "Node name for S&R": "ComfySwitchNode", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ false ] }, { "id": 442, "type": "ComfySwitchNode", "pos": [ 730.0002571517464, 519.9998624032837 ], "size": [ 270, 130 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "type": "FLOAT", "link": 712 }, { "localized_name": "on_true", "name": "on_true", "type": "FLOAT", "link": 714 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": 717 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "FLOAT", "links": [ 706 ] } ], "title": "Switch (CFG)", "properties": { "Node name for S&R": "ComfySwitchNode", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ false ] }, { "id": 443, "type": "PrimitiveBoolean", "pos": [ 330.0001674765872, 849.999895284175 ], "size": [ 270, 100 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "BOOLEAN", "widget": { "name": "value" }, "link": 719 } ], "outputs": [ { "localized_name": "BOOLEAN", "name": "BOOLEAN", "type": "BOOLEAN", "links": [ 715, 716, 717 ] } ], "title": "Enable Lightning LoRA", "properties": { "Node name for S&R": "PrimitiveBoolean", "cnr_id": "comfy-core", "ver": "0.18.1", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ false ] }, { "id": 444, "type": "MarkdownNote", "pos": [ 240.00008377977088, -500.00005240531004 ], "size": [ 450, 310 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [], "title": "Note: KSampler settings", "properties": {}, "widgets_values": [ "You can test and find the best setting by yourself. The following table is for reference.\n| Parameters | Qwen Team | Comfy Original | with 4steps LoRA |\n|--------|---------|------------|---------------------------|\n| Steps | 50 | 20 | 4 |\n| CFG | 4.0 | 2.5 | 1.0 |" ], "color": "#432", "bgcolor": "#000" }, { "id": 472, "type": "LoraLoaderModelOnly", "pos": [ -759.9995425737229, 139.999986453924 ], "size": [ 380, 140 ], "flags": { "collapsed": false }, "order": 21, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 745 }, { "localized_name": "lora_name", "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" }, "link": 746 }, { "localized_name": "strength_model", "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" }, "link": 747 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 743, 744 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.50", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": { "widget_ue_connectable": { "lora_name": true, "strength_model": true } }, "models": [ { "name": "Qwen-Image-Edit-2509-Fusion.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Fusion.safetensors", "directory": "loras" } ] }, "widgets_values": [ "Qwen-Image-Edit-2509-Fusion.safetensors", 1 ] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -770, -170, 410, 960 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ -330, -170, 570, 960 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 50, "title": "Ligtning LoRA", "bounding": [ 270, 220, 390, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 51, "title": "Original Settings", "bounding": [ 270, -170, 390, 360 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "links": [ { "id": 141, "origin_id": 115, "origin_slot": 0, "target_id": 110, "target_slot": 0, "type": "MODEL" }, { "id": 128, "origin_id": 121, "origin_slot": 0, "target_id": 118, "target_slot": 0, "type": "LATENT" }, { "id": 76, "origin_id": 111, "origin_slot": 0, "target_id": 118, "target_slot": 1, "type": "VAE" }, { "id": 186, "origin_id": 110, "origin_slot": 0, "target_id": 121, "target_slot": 0, "type": "MODEL" }, { "id": 211, "origin_id": 116, "origin_slot": 0, "target_id": 121, "target_slot": 1, "type": "CONDITIONING" }, { "id": 210, "origin_id": 114, "origin_slot": 0, "target_id": 121, "target_slot": 2, "type": "CONDITIONING" }, { "id": 168, "origin_id": 111, "origin_slot": 0, "target_id": 117, "target_slot": 1, "type": "VAE" }, { "id": 204, "origin_id": 112, "origin_slot": 0, "target_id": 114, "target_slot": 0, "type": "CLIP" }, { "id": 206, "origin_id": 111, "origin_slot": 0, "target_id": 114, "target_slot": 1, "type": "VAE" }, { "id": 205, "origin_id": 112, "origin_slot": 0, "target_id": 116, "target_slot": 0, "type": "CLIP" }, { "id": 207, "origin_id": 111, "origin_slot": 0, "target_id": 116, "target_slot": 1, "type": "VAE" }, { "id": 110, "origin_id": 118, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "IMAGE" }, { "id": 235, "origin_id": -10, "origin_slot": 1, "target_id": 116, "target_slot": 3, "type": "IMAGE" }, { "id": 236, "origin_id": -10, "origin_slot": 1, "target_id": 114, "target_slot": 3, "type": "IMAGE" }, { "id": 237, "origin_id": -10, "origin_slot": 2, "target_id": 116, "target_slot": 4, "type": "IMAGE" }, { "id": 238, "origin_id": -10, "origin_slot": 2, "target_id": 114, "target_slot": 4, "type": "IMAGE" }, { "id": 244, "origin_id": -10, "origin_slot": 3, "target_id": 116, "target_slot": 5, "type": "STRING" }, { "id": 246, "origin_id": 117, "origin_slot": 0, "target_id": 121, "target_slot": 3, "type": "LATENT" }, { "id": 248, "origin_id": -10, "origin_slot": 0, "target_id": 120, "target_slot": 0, "type": "IMAGE" }, { "id": 249, "origin_id": 120, "origin_slot": 0, "target_id": 117, "target_slot": 0, "type": "IMAGE" }, { "id": 250, "origin_id": 120, "origin_slot": 0, "target_id": 116, "target_slot": 2, "type": "IMAGE" }, { "id": 251, "origin_id": 120, "origin_slot": 0, "target_id": 114, "target_slot": 2, "type": "IMAGE" }, { "id": 706, "origin_id": 442, "origin_slot": 0, "target_id": 121, "target_slot": 6, "type": "FLOAT" }, { "id": 707, "origin_id": 441, "origin_slot": 0, "target_id": 121, "target_slot": 5, "type": "INT" }, { "id": 708, "origin_id": 440, "origin_slot": 0, "target_id": 115, "target_slot": 0, "type": "MODEL" }, { "id": 709, "origin_id": 226, "origin_slot": 0, "target_id": 440, "target_slot": 1, "type": "MODEL" }, { "id": 711, "origin_id": 438, "origin_slot": 0, "target_id": 441, "target_slot": 0, "type": "INT" }, { "id": 712, "origin_id": 439, "origin_slot": 0, "target_id": 442, "target_slot": 0, "type": "FLOAT" }, { "id": 713, "origin_id": 436, "origin_slot": 0, "target_id": 441, "target_slot": 1, "type": "INT" }, { "id": 714, "origin_id": 437, "origin_slot": 0, "target_id": 442, "target_slot": 1, "type": "FLOAT" }, { "id": 715, "origin_id": 443, "origin_slot": 0, "target_id": 440, "target_slot": 2, "type": "BOOLEAN" }, { "id": 716, "origin_id": 443, "origin_slot": 0, "target_id": 441, "target_slot": 2, "type": "BOOLEAN" }, { "id": 717, "origin_id": 443, "origin_slot": 0, "target_id": 442, "target_slot": 2, "type": "BOOLEAN" }, { "id": 718, "origin_id": -10, "origin_slot": 4, "target_id": 121, "target_slot": 4, "type": "INT" }, { "id": 719, "origin_id": -10, "origin_slot": 5, "target_id": 443, "target_slot": 0, "type": "BOOLEAN" }, { "id": 720, "origin_id": -10, "origin_slot": 6, "target_id": 113, "target_slot": 0, "type": "COMBO" }, { "id": 721, "origin_id": -10, "origin_slot": 7, "target_id": 112, "target_slot": 0, "type": "COMBO" }, { "id": 722, "origin_id": -10, "origin_slot": 8, "target_id": 111, "target_slot": 0, "type": "COMBO" }, { "id": 738, "origin_id": -10, "origin_slot": 9, "target_id": 226, "target_slot": 1, "type": "COMBO" }, { "id": 743, "origin_id": 472, "origin_slot": 0, "target_id": 226, "target_slot": 0, "type": "MODEL" }, { "id": 744, "origin_id": 472, "origin_slot": 0, "target_id": 440, "target_slot": 0, "type": "MODEL" }, { "id": 745, "origin_id": 113, "origin_slot": 0, "target_id": 472, "target_slot": 0, "type": "MODEL" }, { "id": 746, "origin_id": -10, "origin_slot": 10, "target_id": 472, "target_slot": 1, "type": "COMBO" }, { "id": 747, "origin_id": -10, "origin_slot": 11, "target_id": 472, "target_slot": 2, "type": "FLOAT" } ], "extra": { "workflowRendererVersion": "LG" } } ] }, "config": {}, "extra": { "ds": { "scale": 0.6652541106427843, "offset": [ 1603.75462782182, 620.2629057272396 ] }, "frontendVersion": "1.41.13", "workflowRendererVersion": "LG", "ue_links": [], "links_added_by_ue": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }