{
  "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
  "revision": 0,
  "last_node_id": 124,
  "last_link_id": 193,
  "nodes": [
    {
      "id": 74,
      "type": "LoadImage",
      "pos": [
        -310,
        150
      ],
      "size": [
        339.984375,
        499.984375
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            147
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "raccoon_rocker.png",
        "image"
      ]
    },
    {
      "id": 82,
      "type": "ImageScaleToMaxDimension",
      "pos": [
        -310,
        700
      ],
      "size": [
        339.984375,
        99.984375
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 147
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            150
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScaleToMaxDimension",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "lanczos",
        640
      ]
    },
    {
      "id": 86,
      "type": "MarkdownNote",
      "pos": [
        60,
        770
      ],
      "size": [
        409.984375,
        379.984375
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Settings",
      "properties": {},
      "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."
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 60,
      "type": "SaveImage",
      "pos": [
        510,
        150
      ],
      "size": [
        829.984375,
        959.984375
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 151
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "Qwen-image-layers"
      ]
    },
    {
      "id": 79,
      "type": "MarkdownNote",
      "pos": [
        -800,
        150
      ],
      "size": [
        449.984375,
        849.984375
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Model links (for local user)",
      "properties": {},
      "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## Model links\n\n- [Hugging Face:Comfy-Org/HunyuanVideo_1.5_repackaged](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged)\n- [Hugging Face:Comfy-Org/Qwen-Image-Layered_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/HunyuanVideo_1.5_repackaged](https://modelscope.cn/models/Comfy-Org/HunyuanVideo_1.5_repackaged)\n- [ModelScope:Comfy-Org/Qwen-Image-Layered_ComfyUI](https://modelscope.cn/models/Comfy-Org/Qwen-Image-Layered_ComfyUI)\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) (8.74 GB)\n\n**diffusion_models**\n\n- [qwen_image_layered_control_bf16.safetensors](https://huggingface.co/DiffSynth-Studio/Qwen-Image-Layered-Control/resolve/main/qwen_image_layered_control_bf16.safetensors) (38.05 GB)\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) (242.1 MB)\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_control_bf16.safetensors\n│   └── 📂 vae/\n│          └── qwen_image_layered_vae.safetensors\n```"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 83,
      "type": "f754a936-daaf-4b6e-9658-41fdc54d301d",
      "pos": [
        60,
        150
      ],
      "size": [
        399.984375,
        549.984375
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 150
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            151
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "proxyWidgetErrorQuarantine": [
          {
            "originalEntry": [
              "-1",
              "text"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "steps"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "cfg"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "layers"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "unet_name"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "weight_dtype"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "clip_name"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "-1",
              "vae_name"
            ],
            "reason": "missingSourceNode",
            "attemptedAtVersion": 1
          },
          {
            "originalEntry": [
              "3",
              "control_after_generate"
            ],
            "reason": "missingSubgraphInput",
            "attemptedAtVersion": 1
          }
        ],
        "previewExposures": [
          {
            "name": "$$canvas-image-preview",
            "sourceNodeId": "3",
            "sourcePreviewName": "$$canvas-image-preview"
          }
        ]
      },
      "widgets_values": [
        "guitar",
        20,
        2.5,
        2,
        "qwen_image_layered_control_bf16.safetensors",
        "fp8_e4m3fn",
        "qwen_2.5_vl_7b_fp8_scaled.safetensors",
        "qwen_image_layered_vae.safetensors",
        657641993490688
      ]
    }
  ],
  "links": [
    [
      147,
      74,
      0,
      82,
      0,
      "IMAGE"
    ],
    [
      150,
      82,
      0,
      83,
      0,
      "IMAGE"
    ],
    [
      151,
      83,
      0,
      60,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "f754a936-daaf-4b6e-9658-41fdc54d301d",
        "version": 1,
        "state": {
          "lastGroupId": 3,
          "lastNodeId": 124,
          "lastLinkId": 193,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Image to Layers(Qwen-Image-Layered Control)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -510,
            523,
            120,
            220
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1160,
            523,
            120,
            60
          ]
        },
        "inputs": [
          {
            "id": "6c36b5bc-c9a5-4b07-8b52-6fe0df434cce",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              148,
              149
            ],
            "localized_name": "image",
            "pos": [
              -410,
              543
            ]
          },
          {
            "id": "8497fe33-124d-4e3e-9ab6-fc4a56a98dde",
            "name": "text",
            "type": "STRING",
            "linkIds": [
              150
            ],
            "pos": [
              -410,
              563
            ]
          },
          {
            "id": "509ab2c1-e6da-47ba-8714-023100ab92bd",
            "name": "steps",
            "type": "INT",
            "linkIds": [
              153
            ],
            "pos": [
              -410,
              583
            ]
          },
          {
            "id": "dd81894e-5def-4c75-9b17-d8f89fe095d6",
            "name": "cfg",
            "type": "FLOAT",
            "linkIds": [
              154
            ],
            "pos": [
              -410,
              603
            ]
          },
          {
            "id": "66da7c8a-3369-4a3f-92f2-3073afc55e7d",
            "name": "layers",
            "type": "INT",
            "linkIds": [
              159
            ],
            "pos": [
              -410,
              623
            ]
          },
          {
            "id": "dcdacab9-02fa-4848-894a-0b6265bed3ec",
            "name": "unet_name",
            "type": "COMBO",
            "linkIds": [
              160
            ],
            "pos": [
              -410,
              643
            ]
          },
          {
            "id": "91a7fb5b-8d55-46fc-985f-6a711c620ab9",
            "name": "weight_dtype",
            "type": "COMBO",
            "linkIds": [
              163
            ],
            "pos": [
              -410,
              663
            ]
          },
          {
            "id": "86c67b10-e443-4768-bfff-426e2179ef02",
            "name": "clip_name",
            "type": "COMBO",
            "linkIds": [
              164
            ],
            "pos": [
              -410,
              683
            ]
          },
          {
            "id": "f696d621-a8df-42c6-8536-df148ebe855c",
            "name": "vae_name",
            "type": "COMBO",
            "linkIds": [
              165
            ],
            "pos": [
              -410,
              703
            ]
          },
          {
            "id": "67444bb4-2f97-4a34-8018-43e4bdccf270",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              192
            ],
            "pos": [
              0,
              0
            ]
          }
        ],
        "outputs": [
          {
            "id": "7df75921-6729-4aad-bfc1-fcc536c2d298",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              110
            ],
            "localized_name": "IMAGE",
            "pos": [
              1180,
              543
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 7,
            "type": "CLIPTextEncode",
            "pos": [
              70,
              420
            ],
            "size": [
              430,
              190
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 75
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "slot_index": 0,
                "links": [
                  131
                ]
              }
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              ""
            ],
            "color": "#322",
            "bgcolor": "#533"
          },
          {
            "id": 70,
            "type": "ReferenceLatent",
            "pos": [
              330,
              670
            ],
            "size": [
              210,
              50
            ],
            "flags": {
              "collapsed": true
            },
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 131
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 134
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  132
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ReferenceLatent",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 69,
            "type": "ReferenceLatent",
            "pos": [
              330,
              710
            ],
            "size": [
              210,
              50
            ],
            "flags": {
              "collapsed": true
            },
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 129
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 133
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  130
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ReferenceLatent",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 66,
            "type": "ModelSamplingAuraFlow",
            "pos": [
              530,
              150
            ],
            "size": [
              270,
              60
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 126
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  125
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingAuraFlow",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              1
            ]
          },
          {
            "id": 124,
            "type": "LatentCut",
            "pos": [
              830,
              -50
            ],
            "size": [
              270,
              170
            ],
            "flags": {},
            "order": 14,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 142
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  193
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "LatentCut",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "t",
              1,
              16384
            ]
          },
          {
            "id": 76,
            "type": "LatentCutToBatch",
            "pos": [
              830,
              160
            ],
            "size": [
              270,
              90
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 193
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  143
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "LatentCutToBatch",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "t",
              1
            ]
          },
          {
            "id": 71,
            "type": "VAEEncode",
            "pos": [
              100,
              690
            ],
            "size": [
              140,
              50
            ],
            "flags": {
              "collapsed": false
            },
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 149
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 139
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  133,
                  134
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEEncode",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 8,
            "type": "VAEDecode",
            "pos": [
              850,
              310
            ],
            "size": [
              210,
              50
            ],
            "flags": {
              "collapsed": true
            },
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 143
              },
              {
                "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.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 6,
            "type": "CLIPTextEncode",
            "pos": [
              70,
              180
            ],
            "size": [
              430,
              170
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 74
              },
              {
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 150
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "slot_index": 0,
                "links": [
                  129
                ]
              }
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "guitar"
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 3,
            "type": "KSampler",
            "pos": [
              530,
              280
            ],
            "size": [
              270,
              400
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 125
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 130
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 132
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 157
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 192
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 153
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 154
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "slot_index": 0,
                "links": [
                  142
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              657641993490688,
              "randomize",
              20,
              2.5,
              "euler",
              "simple",
              1
            ]
          },
          {
            "id": 78,
            "type": "GetImageSize",
            "pos": [
              80,
              790
            ],
            "size": [
              210,
              140
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 148
              }
            ],
            "outputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "links": [
                  155
                ]
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "links": [
                  156
                ]
              },
              {
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 123,
            "type": "EmptyQwenImageLayeredLatentImage",
            "pos": [
              320,
              790
            ],
            "size": [
              340,
              130
            ],
            "flags": {},
            "order": 13,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 155
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 156
              },
              {
                "localized_name": "layers",
                "name": "layers",
                "type": "INT",
                "widget": {
                  "name": "layers"
                },
                "link": 159
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  157
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "EmptyQwenImageLayeredLatentImage",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              640,
              640,
              2,
              1
            ]
          },
          {
            "id": 37,
            "type": "UNETLoader",
            "pos": [
              -320,
              180
            ],
            "size": [
              350,
              90
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                },
                "link": 160
              },
              {
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                },
                "link": 163
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "slot_index": 0,
                "links": [
                  126
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "models": [
                {
                  "name": "qwen_image_layered_control_bf16.safetensors",
                  "url": "https://huggingface.co/DiffSynth-Studio/Qwen-Image-Layered-Control/resolve/main/qwen_image_layered_control_bf16.safetensors",
                  "directory": "diffusion_models"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "qwen_image_layered_control_bf16.safetensors",
              "fp8_e4m3fn"
            ]
          },
          {
            "id": 38,
            "type": "CLIPLoader",
            "pos": [
              -320,
              310
            ],
            "size": [
              350,
              110
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                },
                "link": 164
              }
            ],
            "outputs": [
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "slot_index": 0,
                "links": [
                  74,
                  75
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "models": [
                {
                  "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
                  "directory": "text_encoders"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "qwen_2.5_vl_7b_fp8_scaled.safetensors",
              "qwen_image",
              "default"
            ]
          },
          {
            "id": 39,
            "type": "VAELoader",
            "pos": [
              -320,
              460
            ],
            "size": [
              350,
              60
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                },
                "link": 165
              }
            ],
            "outputs": [
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "slot_index": 0,
                "links": [
                  76,
                  139
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "cnr_id": "comfy-core",
              "ver": "0.5.1",
              "models": [
                {
                  "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",
                  "directory": "vae"
                }
              ],
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              "qwen_image_layered_vae.safetensors"
            ]
          }
        ],
        "groups": [
          {
            "id": 1,
            "title": "Prompt",
            "bounding": [
              60,
              110,
              450,
              510
            ],
            "color": "#3f789e",
            "flags": {}
          },
          {
            "id": 2,
            "title": "Load Models",
            "bounding": [
              -330,
              110,
              366.7470703125,
              421.6
            ],
            "color": "#3f789e",
            "flags": {}
          }
        ],
        "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": 126,
            "origin_id": 37,
            "origin_slot": 0,
            "target_id": 66,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "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": 124,
            "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": 123,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 156,
            "origin_id": 78,
            "origin_slot": 1,
            "target_id": 123,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 157,
            "origin_id": 123,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 159,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 123,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 160,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 37,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 163,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 37,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 164,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 38,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 165,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 39,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 192,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 3,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 193,
            "origin_id": 124,
            "origin_slot": 0,
            "target_id": 76,
            "target_slot": 0,
            "type": "LATENT"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5388400011697814,
      "offset": [
        943.4109810143656,
        557.843188384042
      ]
    },
    "frontendVersion": "1.47.10",
    "workflowRendererVersion": "LG",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
