{
  "id": "d9dccd50-babe-4d34-af23-e085c845924e",
  "revision": 0,
  "last_node_id": 470,
  "last_link_id": 739,
  "nodes": [
    {
      "id": 5,
      "type": "SaveImage",
      "pos": [170.00002600581547, -69.99988627567387],
      "size": [700, 700],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 739
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2"
      },
      "widgets_values": ["ComfyUI-light_migration"]
    },
    {
      "id": 8,
      "type": "Note",
      "pos": [-300, 710],
      "size": [400, 116],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note for prompting",
      "properties": {},
      "widgets_values": [
        "Keep the Chinese characters.\nAppend additional image edit prompt instructions after."
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 9,
      "type": "MarkdownNote",
      "pos": [-1660, -70],
      "size": [750, 962.34375],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Model Links",
      "properties": {},
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\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)\n\n**loras**\n\n- [Qwen-Image-Edit-2509-Light-Migration.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Light-Migration.safetensors)\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)\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)\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-2509-Light-Migration.safetensors\n│   │      └── Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors\n│   ├── 📂 diffusion_models/\n│   │      └── qwen_image_edit_2509_fp8_e4m3fn.safetensors\n│   └── 📂 vae/\n│          └── qwen_image_vae.safetensors\n```\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 will be updated after the stable release; 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/Comfy-Org/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"
    },
    {
      "id": 6,
      "type": "LoadImage",
      "pos": [-860, 650],
      "size": [470, 670],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [733]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Lighting Image",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": ["input_2-relight.png", "image"]
    },
    {
      "id": 7,
      "type": "LoadImage",
      "pos": [-860, -70],
      "size": [470, 620],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [732]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject Image",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": ["input_1-relight.png", "image"]
    },
    {
      "id": 109,
      "type": "Note",
      "pos": [-300, 890],
      "size": [410, 116],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "参考色调，移除图1原有的光照并参考图2的光照和色调对图1重新照明, maintain canny edge of interior glass orb."
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 469,
      "type": "d878efb6-f575-4da6-bf2d-d9f32b55643c",
      "pos": [-299.9999912049565, -69.9999886684268],
      "size": [390, 676],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 732
        },
        {
          "label": "image2 (optional)",
          "name": "image2",
          "type": "IMAGE",
          "link": 733
        },
        {
          "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
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [739]
        }
      ],
      "title": "Image Edit (Qwen 2509 with LoRA)",
      "properties": {
        "proxyWidgets": [
          ["116", "prompt"],
          ["121", "seed"],
          ["443", "value"],
          ["113", "unet_name"],
          ["112", "clip_name"],
          ["111", "vae_name"],
          ["470", "lora_name"],
          ["119", "lora_name"],
          ["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": []
    }
  ],
  "links": [
    [732, 7, 0, 469, 0, "IMAGE"],
    [733, 6, 0, 469, 1, "IMAGE"],
    [739, 469, 0, 5, 0, "IMAGE"]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "d878efb6-f575-4da6-bf2d-d9f32b55643c",
        "version": 1,
        "state": {
          "lastGroupId": 51,
          "lastNodeId": 470,
          "lastLinkId": 739,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Image Edit (Qwen 2509 with LoRA)",
        "inputNode": {
          "id": -10,
          "bounding": [-1160, 280, 151.744140625, 260]
        },
        "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": "9112115c-0269-4612-85f6-ba95b50a4776",
            "name": "lora_name",
            "type": "COMBO",
            "linkIds": [737],
            "pos": [-1028.255859375, 480]
          },
          {
            "id": "283f901d-f64d-4918-9920-a650c52a3fd7",
            "name": "lora_name_1",
            "type": "COMBO",
            "linkIds": [738],
            "label": "lightning_lora",
            "pos": [-1028.255859375, 500]
          }
        ],
        "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": [1080.0000621422287, 30.000000695670025],
            "size": [290, 110],
            "flags": {},
            "order": 6,
            "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": [-730, 600],
            "size": [330, 110],
            "flags": {},
            "order": 7,
            "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": [-730, 340],
            "size": [330, 150],
            "flags": {},
            "order": 8,
            "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": [-730.0000406329304, -60.00000068926927],
            "size": [330, 110],
            "flags": {},
            "order": 9,
            "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": [736]
              }
            ],
            "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": [-270.0001887361502, 479.99995741979706],
            "size": [460, 260],
            "flags": {},
            "order": 10,
            "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": [1069.9999608793537, -119.99999943035368],
            "size": [290, 110],
            "flags": {},
            "order": 11,
            "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, -70],
            "size": [470, 490],
            "flags": {},
            "order": 12,
            "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": [
              "参考色调，移除图1原有的光照并参考图2的光照和色调对图1重新照明"
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 117,
            "type": "VAEEncode",
            "pos": [-70, 860],
            "size": [230, 100],
            "flags": {},
            "order": 13,
            "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.9999892485043, -60.00000068926927],
            "size": [230, 100],
            "flags": {
              "collapsed": false
            },
            "order": 14,
            "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": 119,
            "type": "LoraLoaderModelOnly",
            "pos": [319.9999078762321, 300.0000244903642],
            "size": [300, 140],
            "flags": {},
            "order": 15,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 734
              },
              {
                "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": [-670, 860],
            "size": [230, 80],
            "flags": {},
            "order": 16,
            "mode": 0,
            "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": [1069.9999608793537, 210.00000346554862],
            "size": [300, 590],
            "flags": {},
            "order": 17,
            "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": [
              67733640390271,
              "randomize",
              4,
              1,
              "euler",
              "simple",
              1
            ]
          },
          {
            "id": 436,
            "type": "PrimitiveInt",
            "pos": [319.9999078762321, 500.0000072007279],
            "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": [319.9999078762321, 670.0000003604878],
            "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": [319.9999078762321, -99.99999330336678],
            "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": [319.9999078762321, 69.99999985639295],
            "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": [749.9998628475637, -80.00000026963075],
            "size": [270, 130],
            "flags": {},
            "order": 18,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "MODEL",
                "link": 735
              },
              {
                "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": [729.9998698138274, 340.0000105578363],
            "size": [270, 130],
            "flags": {},
            "order": 19,
            "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": [729.9998698138274, 520.0000002344641],
            "size": [270, 130],
            "flags": {},
            "order": 20,
            "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": [329.99979964709337, 849.9999900371154],
            "size": [270, 100],
            "flags": {},
            "order": 21,
            "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": [239.9999357412878, -500.00001109709774],
            "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": 470,
            "type": "LoraLoaderModelOnly",
            "pos": [-750, 140],
            "size": [370, 140],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 736
              },
              {
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                },
                "link": 737
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [734, 735]
              }
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly",
              "cnr_id": "comfy-core",
              "ver": "0.3.50",
              "models": [
                {
                  "name": "Qwen-Image-Edit-2509-Light-Migration.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Light-Migration.safetensors",
                  "directory": "loras"
                }
              ],
              "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
                }
              }
            },
            "widgets_values": [
              "Qwen-Image-Edit-2509-Light-Migration.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": 119,
            "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": 734,
            "origin_id": 470,
            "origin_slot": 0,
            "target_id": 119,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 735,
            "origin_id": 470,
            "origin_slot": 0,
            "target_id": 440,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 736,
            "origin_id": 113,
            "origin_slot": 0,
            "target_id": 470,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 737,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 470,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 738,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 119,
            "target_slot": 1,
            "type": "COMBO"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.4263490042833591,
      "offset": [2293.0283112081383, 438.0363489101438]
    },
    "frontendVersion": "1.41.13",
    "workflowRendererVersion": "Vue-corrected",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "linearData": {
      "inputs": [
        ["7", "image"],
        ["6", "image"],
        ["469", "prompt"]
      ],
      "outputs": ["5"]
    },
    "linearMode": true
  },
  "version": 0.4
}
