{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              -140,
              110,
              450,
              510
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 1,
            "title": "Prompt(Optional)"
          },
          {
            "bounding": [
              -570,
              110,
              410,
              670
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Load Models"
          }
        ],
        "id": "f754a936-daaf-4b6e-9658-41fdc54d301d",
        "inputNode": {
          "bounding": [
            -900,
            530,
            120,
            200
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "6c36b5bc-c9a5-4b07-8b52-6fe0df434cce",
            "linkIds": [
              148,
              149
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -800,
              550
            ],
            "type": "IMAGE"
          },
          {
            "id": "8497fe33-124d-4e3e-9ab6-fc4a56a98dde",
            "linkIds": [
              150
            ],
            "name": "text",
            "pos": [
              -800,
              570
            ],
            "type": "STRING"
          },
          {
            "id": "509ab2c1-e6da-47ba-8714-023100ab92bd",
            "linkIds": [
              153
            ],
            "name": "steps",
            "pos": [
              -800,
              590
            ],
            "type": "INT"
          },
          {
            "id": "dd81894e-5def-4c75-9b17-d8f89fe095d6",
            "linkIds": [
              154
            ],
            "name": "cfg",
            "pos": [
              -800,
              610
            ],
            "type": "FLOAT"
          },
          {
            "id": "66da7c8a-3369-4a3f-92f2-3073afc55e7d",
            "linkIds": [
              159
            ],
            "name": "layers",
            "pos": [
              -800,
              630
            ],
            "type": "INT"
          },
          {
            "id": "310a8446-8fe8-44bc-b0d6-cd54df21c416",
            "linkIds": [
              190
            ],
            "name": "unet_name",
            "pos": [
              -800,
              650
            ],
            "type": "COMBO"
          },
          {
            "id": "80d16ca4-4e2e-4331-9a39-75167f891a54",
            "linkIds": [
              191
            ],
            "name": "clip_name",
            "pos": [
              -800,
              670
            ],
            "type": "COMBO"
          },
          {
            "id": "05572eba-b1d1-43ba-b042-880c24eac1ce",
            "linkIds": [
              192
            ],
            "name": "vae_name",
            "pos": [
              -800,
              690
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 75,
            "origin_id": 38,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 131,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 134,
            "origin_id": 71,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 129,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 69,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 133,
            "origin_id": 71,
            "origin_slot": 0,
            "target_id": 69,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 125,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 130,
            "origin_id": 69,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 132,
            "origin_id": 70,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 142,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 76,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 74,
            "origin_id": 38,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 139,
            "origin_id": 39,
            "origin_slot": 0,
            "target_id": 71,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 143,
            "origin_id": 76,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 76,
            "origin_id": 39,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 148,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 149,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 71,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 110,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 150,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 6,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 153,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 3,
            "target_slot": 5,
            "type": "INT"
          },
          {
            "id": 154,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 3,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 155,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 118,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 156,
            "origin_id": 78,
            "origin_slot": 1,
            "target_id": 118,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 157,
            "origin_id": 118,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 159,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 118,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 190,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 37,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 191,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 38,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 192,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 39,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 197,
            "origin_id": 37,
            "origin_slot": 0,
            "target_id": 140,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 198,
            "origin_id": 140,
            "origin_slot": 0,
            "target_id": 66,
            "target_slot": 0,
            "type": "MODEL"
          }
        ],
        "name": "Image to Layers (Qwen-Image-Layered)",
        "nodes": [
          {
            "flags": {},
            "id": 38,
            "inputs": [
              {
                "link": 191,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  74,
                  75
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "slot_index": 0,
                "type": "CLIP"
              }
            ],
            "pos": [
              -539.9999046122803,
              410.00014733299156
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "text_encoders",
                  "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"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              350,
              150
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_2.5_vl_7b_fp8_scaled.safetensors",
              "qwen_image",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 39,
            "inputs": [
              {
                "link": 192,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  76,
                  139
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "slot_index": 0,
                "type": "VAE"
              }
            ],
            "pos": [
              -539.9999046122803,
              650.0001214823827
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "vae",
                  "name": "qwen_image_layered_vae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/vae/qwen_image_layered_vae.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              350,
              110
            ],
            "type": "VAELoader",
            "widgets_values": [
              "qwen_image_layered_vae.safetensors"
            ]
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 75,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": null,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  131
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -129.99990103139794,
              420.0000242476832
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              430,
              190
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 70,
            "inputs": [
              {
                "link": 131,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              },
              {
                "link": 134,
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  132
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              370,
              400
            ],
            "properties": {
              "Node name for S&R": "ReferenceLatent",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              210,
              50
            ],
            "type": "ReferenceLatent",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 69,
            "inputs": [
              {
                "link": 129,
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING"
              },
              {
                "link": 133,
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT"
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  130
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              370,
              350
            ],
            "properties": {
              "Node name for S&R": "ReferenceLatent",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              210,
              50
            ],
            "type": "ReferenceLatent",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 66,
            "inputs": [
              {
                "link": 198,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  125
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              680.0006111543867,
              140.00007562554413
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              270,
              110
            ],
            "type": "ModelSamplingAuraFlow",
            "widgets_values": [
              1
            ]
          },
          {
            "flags": {},
            "id": 76,
            "inputs": [
              {
                "link": 142,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "dim",
                "name": "dim",
                "type": "COMBO",
                "widget": {
                  "name": "dim"
                }
              },
              {
                "link": null,
                "localized_name": "slice_size",
                "name": "slice_size",
                "type": "INT",
                "widget": {
                  "name": "slice_size"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  143
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              980.0002287306397,
              150.00007985313977
            ],
            "properties": {
              "Node name for S&R": "LatentCutToBatch",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              270,
              140
            ],
            "type": "LatentCutToBatch",
            "widgets_values": [
              "t",
              1
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 71,
            "inputs": [
              {
                "link": 149,
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE"
              },
              {
                "link": 139,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  133,
                  134
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              -19.999854527846082,
              680.0001341651696
            ],
            "properties": {
              "Node name for S&R": "VAEEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              230,
              100
            ],
            "type": "VAEEncode",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 8,
            "inputs": [
              {
                "link": 143,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 76,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  110
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              1010,
              390
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              210,
              50
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 74,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 150,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  129
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              -129.99990103139794,
              180.0000076606574
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              430,
              170
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 125,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 130,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 132,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 157,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 153,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": 154,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              },
              {
                "link": null,
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                }
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": null,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  142
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              680.0006111543867,
              300.0001008294396
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              270,
              564.65625
            ],
            "type": "KSampler",
            "widgets_values": [
              774900210088741,
              "randomize",
              20,
              2.5,
              "euler",
              "simple",
              1
            ]
          },
          {
            "flags": {},
            "id": 78,
            "inputs": [
              {
                "link": 148,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  155
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  156
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              -489.9999683495714,
              880.0001338418128
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              230,
              140
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 118,
            "inputs": [
              {
                "link": 155,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 156,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 159,
                "localized_name": "layers",
                "name": "layers",
                "type": "INT",
                "widget": {
                  "name": "layers"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  157
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              -79.9998798934198,
              840.000032056161
            ],
            "properties": {
              "Node name for S&R": "EmptyQwenImageLayeredLatentImage",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "showAdvanced": false,
            "size": [
              340,
              170
            ],
            "type": "EmptyQwenImageLayeredLatentImage",
            "widgets_values": [
              640,
              640,
              2,
              1
            ]
          },
          {
            "flags": {},
            "id": 37,
            "inputs": [
              {
                "link": 190,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  197
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              -539.9999046122803,
              210.00002034344425
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "qwen_image_layered_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_layered_bf16.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              350,
              110
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "qwen_image_layered_bf16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 140,
            "inputs": [
              {
                "link": 197,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                }
              },
              {
                "link": null,
                "localized_name": "strength_model",
                "name": "strength_model",
                "type": "FLOAT",
                "widget": {
                  "name": "strength_model"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  198
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              95.89715593534675,
              -53.659996061040516
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly"
            },
            "size": [
              270,
              115.328125
            ],
            "type": "LoraLoaderModelOnly",
            "widgets_values": [
              "illustration-1.0-qwen-image.safetensors",
              1
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            1400,
            320,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "7df75921-6729-4aad-bfc1-fcc536c2d298",
            "linkIds": [
              110
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              1420,
              340
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 3,
          "lastLinkId": 198,
          "lastNodeId": 140,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [
          {
            "bounding": [
              0,
              80,
              450,
              660
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 1,
            "title": "Prompt(Optional)"
          },
          {
            "bounding": [
              -460,
              80,
              430,
              660
            ],
            "color": "#3f789e",
            "flags": {},
            "font_size": 24,
            "id": 2,
            "title": "Model"
          }
        ],
        "id": "1ea4fa01-a81b-4420-a03c-f60019e69a92",
        "inputNode": {
          "bounding": [
            -690,
            600,
            120,
            240
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "8497fe33-124d-4e3e-9ab6-fc4a56a98dde",
            "linkIds": [
              150
            ],
            "name": "text",
            "pos": [
              -590,
              620
            ],
            "type": "STRING"
          },
          {
            "id": "509ab2c1-e6da-47ba-8714-023100ab92bd",
            "linkIds": [
              153
            ],
            "name": "steps",
            "pos": [
              -590,
              640
            ],
            "type": "INT"
          },
          {
            "id": "dd81894e-5def-4c75-9b17-d8f89fe095d6",
            "linkIds": [
              154
            ],
            "name": "cfg",
            "pos": [
              -590,
              660
            ],
            "type": "FLOAT"
          },
          {
            "id": "66da7c8a-3369-4a3f-92f2-3073afc55e7d",
            "linkIds": [
              159
            ],
            "name": "layers",
            "pos": [
              -590,
              680
            ],
            "type": "INT"
          },
          {
            "id": "fb8e14af-31a7-4bd7-9599-ab96cbd61e3d",
            "linkIds": [
              162
            ],
            "name": "width",
            "pos": [
              -590,
              700
            ],
            "type": "INT"
          },
          {
            "id": "98801300-49b3-40d7-b140-0d59828337de",
            "linkIds": [
              163
            ],
            "name": "height",
            "pos": [
              -590,
              720
            ],
            "type": "INT"
          },
          {
            "id": "7bd328de-f9b7-4e29-b6e3-5e88c1c9f2a0",
            "linkIds": [
              193
            ],
            "name": "seed",
            "pos": [
              -590,
              740
            ],
            "type": "INT"
          },
          {
            "id": "555f7e86-5c08-44d3-9bd0-1dbd414658cb",
            "linkIds": [
              194
            ],
            "name": "unet_name",
            "pos": [
              -590,
              760
            ],
            "type": "COMBO"
          },
          {
            "id": "c64ded06-f8cd-43d5-a02b-0a7b80e2ce78",
            "linkIds": [
              195
            ],
            "name": "clip_name",
            "pos": [
              -590,
              780
            ],
            "type": "COMBO"
          },
          {
            "id": "35f8fbab-f2b1-43e9-a205-4b4b2d4706a8",
            "linkIds": [
              196
            ],
            "name": "vae_name",
            "pos": [
              -590,
              800
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 75,
            "origin_id": 119,
            "origin_slot": 0,
            "target_id": 121,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 126,
            "origin_id": 127,
            "origin_slot": 0,
            "target_id": 122,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 125,
            "origin_id": 122,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 142,
            "origin_id": 126,
            "origin_slot": 0,
            "target_id": 123,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 74,
            "origin_id": 119,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 143,
            "origin_id": 123,
            "origin_slot": 0,
            "target_id": 124,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 76,
            "origin_id": 120,
            "origin_slot": 0,
            "target_id": 124,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 110,
            "origin_id": 124,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 150,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 125,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 153,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 126,
            "target_slot": 5,
            "type": "INT"
          },
          {
            "id": 154,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 126,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 157,
            "origin_id": 128,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 159,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 128,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 160,
            "origin_id": 125,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 161,
            "origin_id": 121,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 162,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 128,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 163,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 128,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 193,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 126,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 194,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 127,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 195,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 119,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 196,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 120,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "name": "Text to Layers (Qwen-Image-Layered)",
        "nodes": [
          {
            "flags": {},
            "id": 119,
            "inputs": [
              {
                "link": 195,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  74,
                  75
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "slot_index": 0,
                "type": "CLIP"
              }
            ],
            "pos": [
              -420,
              370
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "text_encoders",
                  "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"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              350,
              150
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "qwen_2.5_vl_7b_fp8_scaled.safetensors",
              "qwen_image",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 120,
            "inputs": [
              {
                "link": 196,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  76
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "slot_index": 0,
                "type": "VAE"
              }
            ],
            "pos": [
              -420,
              600
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "vae",
                  "name": "qwen_image_layered_vae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/vae/qwen_image_layered_vae.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              350,
              110
            ],
            "type": "VAELoader",
            "widgets_values": [
              "qwen_image_layered_vae.safetensors"
            ]
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {},
            "id": 121,
            "inputs": [
              {
                "link": 75,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": null,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  161
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              10,
              530
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              430,
              190
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 122,
            "inputs": [
              {
                "link": 126,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  125
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              530,
              150
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              270,
              110
            ],
            "type": "ModelSamplingAuraFlow",
            "widgets_values": [
              1
            ]
          },
          {
            "flags": {},
            "id": 123,
            "inputs": [
              {
                "link": 142,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "dim",
                "name": "dim",
                "type": "COMBO",
                "widget": {
                  "name": "dim"
                }
              },
              {
                "link": null,
                "localized_name": "slice_size",
                "name": "slice_size",
                "type": "INT",
                "widget": {
                  "name": "slice_size"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  143
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              830,
              160
            ],
            "properties": {
              "Node name for S&R": "LatentCutToBatch",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              270,
              140
            ],
            "type": "LatentCutToBatch",
            "widgets_values": [
              "t",
              1
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 124,
            "inputs": [
              {
                "link": 143,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 76,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  110
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              850,
              370
            ],
            "properties": {
              "Node name for S&R": "VAEDecode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              210,
              50
            ],
            "type": "VAEDecode",
            "widgets_values": []
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 125,
            "inputs": [
              {
                "link": 74,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 150,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  160
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "slot_index": 0,
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              10,
              150
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              430,
              320
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 126,
            "inputs": [
              {
                "link": 125,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 160,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 161,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 157,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              },
              {
                "link": 193,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 153,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": 154,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              },
              {
                "link": null,
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                }
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": null,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  142
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "slot_index": 0,
                "type": "LATENT"
              }
            ],
            "pos": [
              530,
              320
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              270,
              400
            ],
            "type": "KSampler",
            "widgets_values": [
              904379688751502,
              "fixed",
              20,
              2.5,
              "euler",
              "simple",
              1
            ]
          },
          {
            "flags": {},
            "id": 127,
            "inputs": [
              {
                "link": 194,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  126
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "slot_index": 0,
                "type": "MODEL"
              }
            ],
            "pos": [
              -420,
              170
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "qwen_image_layered_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_layered_bf16.safetensors"
                }
              ],
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              350,
              110
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "qwen_image_layered_bf16.safetensors",
              "default"
            ]
          },
          {
            "flags": {},
            "id": 128,
            "inputs": [
              {
                "link": 162,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 163,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 159,
                "localized_name": "layers",
                "name": "layers",
                "type": "INT",
                "widget": {
                  "name": "layers"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  157
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              -400,
              800
            ],
            "properties": {
              "Node name for S&R": "EmptyQwenImageLayeredLatentImage",
              "cnr_id": "comfy-core",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ue_properties": {
                "input_ue_unconnectable": {},
                "version": "7.7",
                "widget_ue_connectable": {}
              },
              "ver": "0.5.1"
            },
            "size": [
              340,
              170
            ],
            "type": "EmptyQwenImageLayeredLatentImage",
            "widgets_values": [
              640,
              640,
              2,
              1
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            1950,
            390,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "7df75921-6729-4aad-bfc1-fcc536c2d298",
            "linkIds": [
              110
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              1970,
              410
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 3,
          "lastLinkId": 198,
          "lastNodeId": 140,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1054.3096488451476,
        250.56858635246203
      ],
      "scale": 0.540282424436043
    },
    "frontendVersion": "1.42.8",
    "ue_links": [],
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
  "last_link_id": 198,
  "last_node_id": 140,
  "links": [
    [
      147,
      74,
      0,
      82,
      0,
      "IMAGE"
    ],
    [
      150,
      82,
      0,
      83,
      0,
      "IMAGE"
    ],
    [
      151,
      83,
      0,
      60,
      0,
      "IMAGE"
    ],
    [
      187,
      115,
      0,
      117,
      0,
      "IMAGE"
    ],
    [
      188,
      116,
      0,
      115,
      0,
      "STRING"
    ],
    [
      189,
      116,
      0,
      83,
      1,
      "STRING"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 79,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [],
      "pos": [
        -800.0003125947351,
        149.99981375219494
      ],
      "properties": {
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        }
      },
      "size": [
        450,
        1030
      ],
      "title": "Model links (for local user)",
      "type": "MarkdownNote",
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\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\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**diffusion_models**\n\n- [qwen_image_layered_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_layered_bf16.safetensors)\n\n**vae**\n\n- [qwen_image_layered_vae.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/vae/qwen_image_layered_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│   ├── 📂 diffusion_models/\n│   │      └── qwen_image_layered_bf16.safetensors\n│   └── 📂 vae/\n│          └── qwen_image_layered_vae.safetensors\n```\n\n## FP8 \n\nBy default we are using bf16, it will require high VRAM, for fp8 please visit [qwen_image_layered_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/blob/main/split_files/diffusion_models/qwen_image_layered_fp8mixed.safetensors)\n\nThen update the **Load Diffusion model** node inside the [Subgraph](https://docs.comfy.org/interface/features/subgraph) to use it."
      ]
    },
    {
      "flags": {},
      "id": 74,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            147
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -310.00039715884964,
        149.99981375219494
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0.5.1"
      },
      "size": [
        340,
        500
      ],
      "type": "LoadImage",
      "widgets_values": [
        "3008a1a11f383953d578331d6baa59e245d13918420e8000517fc7f7bd5fa8cf.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 60,
      "inputs": [
        {
          "link": 151,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [],
      "pos": [
        503.8298539571458,
        145.0642271086781
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0.5.1"
      },
      "size": [
        830,
        960
      ],
      "type": "SaveImage",
      "widgets_values": [
        "Qwen-image-layers"
      ]
    },
    {
      "flags": {},
      "id": 82,
      "inputs": [
        {
          "link": 147,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "upscale_method",
          "name": "upscale_method",
          "type": "COMBO",
          "widget": {
            "name": "upscale_method"
          }
        },
        {
          "link": null,
          "localized_name": "largest_size",
          "name": "largest_size",
          "type": "INT",
          "widget": {
            "name": "largest_size"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            150
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -310.00039715884964,
        699.999617968127
      ],
      "properties": {
        "Node name for S&R": "ImageScaleToMaxDimension",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0.5.1"
      },
      "size": [
        340,
        140
      ],
      "type": "ImageScaleToMaxDimension",
      "widgets_values": [
        "lanczos",
        640
      ]
    },
    {
      "flags": {},
      "id": 116,
      "inputs": [
        {
          "link": null,
          "localized_name": "value",
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            188,
            189
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -310.00039715884964,
        -150.0001808718327
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0.5.1"
      },
      "size": [
        340,
        230
      ],
      "title": "Prompt",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "an illustrated image of a woman standing in a room in the evening looking very tired with light spilling into the room"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 86,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [],
      "pos": [
        -310.00039715884964,
        899.9997932517026
      ],
      "properties": {
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        }
      },
      "size": [
        420,
        480
      ],
      "title": "Note: Settings",
      "type": "MarkdownNote",
      "widgets_values": [
        "## Sampler settings\n\nThis model is slow. The original sampling settings are steps: 50 and CFG: 4.0. It will at least double the generated time.\n\n## Input size\n\nFor input size, 640px is recommended, 1024px for high-res\n\n## Prompt(Optional)\n\nThe text prompt is intended to describe the overall content of the input image—including elements that may be partially occluded (e.g., you may specify the text hidden behind a foreground object). It is not designed to control the semantic content of individual layers explicitly."
      ]
    },
    {
      "flags": {},
      "id": 117,
      "inputs": [
        {
          "link": 187,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 4,
      "order": 7,
      "outputs": [],
      "pos": [
        1819.9997355373341,
        149.99984199444077
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {}
        },
        "ver": "0.5.1"
      },
      "size": [
        830,
        960
      ],
      "type": "SaveImage",
      "widgets_values": [
        "Qwen-image-layers"
      ]
    },
    {
      "flags": {},
      "id": 83,
      "inputs": [
        {
          "link": 150,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 189,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        },
        {
          "link": null,
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          }
        },
        {
          "link": null,
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          }
        },
        {
          "link": null,
          "name": "layers",
          "type": "INT",
          "widget": {
            "name": "layers"
          }
        },
        {
          "link": null,
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          }
        },
        {
          "link": null,
          "name": "clip_name",
          "type": "COMBO",
          "widget": {
            "name": "clip_name"
          }
        },
        {
          "link": null,
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            151
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        59.99923235651704,
        149.99981375219494
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "proxyWidgets": [
          [
            "6",
            "text"
          ],
          [
            "3",
            "steps"
          ],
          [
            "3",
            "cfg"
          ],
          [
            "118",
            "layers"
          ],
          [
            "37",
            "unet_name"
          ],
          [
            "38",
            "clip_name"
          ],
          [
            "39",
            "vae_name"
          ],
          [
            "3",
            "control_after_generate"
          ]
        ],
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {
            "text": true
          }
        },
        "ver": "0.5.1"
      },
      "size": [
        400,
        550
      ],
      "type": "f754a936-daaf-4b6e-9658-41fdc54d301d",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 115,
      "inputs": [
        {
          "link": 188,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        },
        {
          "link": null,
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          }
        },
        {
          "link": null,
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          }
        },
        {
          "link": null,
          "name": "layers",
          "type": "INT",
          "widget": {
            "name": "layers"
          }
        },
        {
          "link": null,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": null,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "link": null,
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          }
        },
        {
          "link": null,
          "name": "clip_name",
          "type": "COMBO",
          "widget": {
            "name": "clip_name"
          }
        },
        {
          "link": null,
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          }
        }
      ],
      "mode": 4,
      "order": 5,
      "outputs": [
        {
          "links": [
            187
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1379.9991013817046,
        149.99981375219494
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "proxyWidgets": [
          [
            "125",
            "text"
          ],
          [
            "126",
            "steps"
          ],
          [
            "126",
            "cfg"
          ],
          [
            "128",
            "layers"
          ],
          [
            "128",
            "width"
          ],
          [
            "128",
            "height"
          ],
          [
            "126",
            "seed"
          ],
          [
            "127",
            "unet_name"
          ],
          [
            "119",
            "clip_name"
          ],
          [
            "120",
            "vae_name"
          ],
          [
            "126",
            "control_after_generate"
          ]
        ],
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.7",
          "widget_ue_connectable": {
            "text": true
          }
        },
        "ver": "0.5.1"
      },
      "size": [
        400,
        550
      ],
      "type": "1ea4fa01-a81b-4420-a03c-f60019e69a92",
      "widgets_values": []
    }
  ],
  "revision": 0,
  "version": 0.4
}