{
  "id": "e47d064a-cb92-4da7-b92b-be9f1ddd26f5",
  "revision": 0,
  "last_node_id": 157,
  "last_link_id": 349,
  "nodes": [
    {
      "id": 50,
      "type": "LoadImage",
      "pos": [
        -2042.6157583884642,
        1127.9833174819903
      ],
      "size": [
        566.4336766212634,
        908.991574481458
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            349
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "widgets_values": [
        "qwen_image_2_1_layer_decomposition_input.webp",
        "image"
      ],
      "widgets_values_named": {
        "image": "qwen_image_2_1_layer_decomposition_input.webp",
        "upload": "image"
      }
    },
    {
      "id": 89,
      "type": "ResizeImageMaskNode",
      "pos": [
        -1438.9629745062193,
        1127.9833174819903
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "IMAGE,MASK",
          "link": 349
        }
      ],
      "outputs": [
        {
          "name": "resized",
          "type": "IMAGE",
          "links": [
            176
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "widgets_values": [
        "scale to multiple",
        32,
        "bicubic"
      ],
      "widgets_values_named": {
        "resize_type": "scale to multiple",
        "resize_type.multiple": 32,
        "scale_method": "bicubic"
      }
    },
    {
      "id": 59,
      "type": "TextGenerate",
      "pos": [
        -73.82161470412119,
        845.3235021497342
      ],
      "size": [
        378.8074837263441,
        268
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 188
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 219
        },
        {
          "name": "video",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 128
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            174,
            239
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "TextGenerate"
      },
      "widgets_values": [
        "",
        16,
        "off",
        false,
        true,
        "auto"
      ],
      "widgets_values_named": {
        "prompt": "",
        "max_length": 16,
        "sampling_mode": "off",
        "thinking": false,
        "use_default_template": true,
        "mtp": "auto"
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 81,
      "type": "StringFormat",
      "pos": [
        -450.05916005949257,
        1289.2366637608511
      ],
      "size": [
        321.7347395963642,
        208.97775534516904
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "values.a",
          "shape": 7,
          "type": "*",
          "link": 187
        },
        {
          "name": "values.b",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            128
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "StringFormat"
      },
      "widgets_values": [
        "Analyze the current image and select the next foremost visually coherent subject or object group to extract as one layer.\nThere are {a} layers remaining including the final background.\nChoose the target at an appropriate level of granularity so the remaining image can still be meaningfully divided into the remaining layers.\nReturn only one concise English noun phrase that uniquely identifies the target subject.\nUse about 5 to 12 words.\nInclude useful visual details such as clothing, position, or pose when needed to distinguish the subject.\nDo not include explanations, labels, Markdown, or punctuation.\nExample output: the woman in the beige blazer sitting on the railing"
      ],
      "widgets_values_named": {
        "f_string": "Analyze the current image and select the next foremost visually coherent subject or object group to extract as one layer.\nThere are {a} layers remaining including the final background.\nChoose the target at an appropriate level of granularity so the remaining image can still be meaningfully divided into the remaining layers.\nReturn only one concise English noun phrase that uniquely identifies the target subject.\nUse about 5 to 12 words.\nInclude useful visual details such as clothing, position, or pose when needed to distinguish the subject.\nDo not include explanations, labels, Markdown, or punctuation.\nExample output: the woman in the beige blazer sitting on the railing"
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 57,
      "type": "EndLoop",
      "pos": [
        3168.8238155368244,
        1006.2008264821983
      ],
      "size": [
        270,
        98
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "output_value",
          "shape": 7,
          "type": "*",
          "link": 229
        },
        {
          "name": "next_iteration_value",
          "shape": 7,
          "type": "*",
          "link": 234
        },
        {
          "name": "terminations.termination0",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "outputs",
          "shape": 6,
          "type": "IMAGE",
          "links": [
            113
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "EndLoop"
      },
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "accumulate": true
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 56,
      "type": "StartLoop",
      "pos": [
        -1118.0541734340163,
        1107.1619121388626
      ],
      "size": [
        349.177734375,
        236
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "parent_iteration",
          "shape": 7,
          "type": "INT",
          "link": null
        },
        {
          "name": "initial_iteration_value",
          "shape": 7,
          "type": "*",
          "link": 176
        },
        {
          "name": "mode.num_iterations",
          "type": "INT",
          "widget": {
            "name": "mode.num_iterations"
          },
          "link": 170
        }
      ],
      "outputs": [
        {
          "name": "iteration_index",
          "type": "INT",
          "links": [
            186,
            344
          ]
        },
        {
          "name": "is_first",
          "type": "BOOLEAN",
          "links": null
        },
        {
          "name": "is_last",
          "type": "BOOLEAN",
          "links": [
            260
          ]
        },
        {
          "name": "list_item",
          "type": "*",
          "links": null
        },
        {
          "name": "current_iteration_value",
          "type": "IMAGE",
          "links": [
            217,
            257,
            303
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "StartLoop"
      },
      "widgets_values": [
        "simple",
        4,
        false
      ],
      "widgets_values_named": {
        "mode": "simple",
        "mode.num_iterations": 4,
        "cache_iterations": false
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 73,
      "type": "SaveImage",
      "pos": [
        3478.448537398293,
        1006.2008264821983
      ],
      "size": [
        719.4067075526532,
        1016.678398689382
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 113
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core"
      },
      "widgets_values": [
        "ComfyUI"
      ],
      "widgets_values_named": {
        "filename_prefix": "ComfyUI"
      }
    },
    {
      "id": 91,
      "type": "GetImageSize",
      "pos": [
        -11.832332471925099,
        656.2234085942466
      ],
      "size": [
        210,
        136
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 307
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            156
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            157
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "GetImageSize"
      }
    },
    {
      "id": 92,
      "type": "EmptyLatentImage",
      "pos": [
        239.19082002704164,
        632.669630128745
      ],
      "size": [
        225.08182346227295,
        106
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 156
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 157
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            162,
            264
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage",
        "cnr_id": "comfy-core",
        "ver": "0.26.0"
      },
      "widgets_values": [
        512,
        512,
        1
      ],
      "widgets_values_named": {
        "width": 512,
        "height": 512,
        "batch_size": 1
      }
    },
    {
      "id": 94,
      "type": "KSampler",
      "pos": [
        523.7620267512204,
        176.5793359861301
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 256
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 160
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 161
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 162
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 346
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            166
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        1234,
        "fixed",
        25,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 1234,
        "control_after_generate": "fixed",
        "steps": 25,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 95,
      "type": "VAELoader",
      "pos": [
        -449.43875783592233,
        -12.21152240230435
      ],
      "size": [
        301.3524169921875,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            196,
            247
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "models": [
          {
            "name": "qwen_image_2.1_vae_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_vae_bf16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "qwen_image_2.1_vae_bf16.safetensors"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 96,
      "type": "TextEncodeQwenImage21",
      "pos": [
        43.488899975654704,
        195.73410743361313
      ],
      "size": [
        418.5183049982245,
        286
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 163
        },
        {
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 342
        },
        {
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_4",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 196
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 195
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            160
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            161
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "TextEncodeQwenImage21"
      },
      "widgets_values": [
        "",
        "",
        0
      ],
      "widgets_values_named": {
        "prompt": "",
        "negative_prompt": "",
        "resolution": 0
      }
    },
    {
      "id": 98,
      "type": "CLIPLoader",
      "pos": [
        -447.39445015644276,
        -182.37342663868893
      ],
      "size": [
        301.3524169921875,
        106
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            163,
            188,
            251
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "models": [
          {
            "name": "qwen3vl_8b_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_8b_int8_convrot.safetensors",
        "qwen_image",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_8b_int8_convrot.safetensors",
        "type": "qwen_image",
        "device": "default"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 99,
      "type": "VAEDecode",
      "pos": [
        877.4400663020015,
        176.57933598613013
      ],
      "size": [
        157.56002807617188,
        46
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 166
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 248
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            230,
            336
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      }
    },
    {
      "id": 100,
      "type": "UNETLoader",
      "pos": [
        -447.39445015644276,
        -330.1216401722446
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            255
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "models": [
          {
            "name": "qwen_image_2.1_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "qwen_image_2.1_int8_convrot.safetensors",
        "weight_dtype": "default"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 101,
      "type": "MarkdownNote",
      "pos": [
        -891.9062366994235,
        -328.53533087507327
      ],
      "size": [
        389.61380077225,
        288.1499138219051
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## models\n\n- diffusion_models\n  - [qwen_image_2.1_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors) (7.26 GB)\n- text_encoders\n  - [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) (9.35 GB)\n- vae\n  - [qwen_image_2.1_vae_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/vae/qwen_image_2.1_vae_bf16.safetensors) (676 MB)\n\n```text\n📂ComfyUI/\n└── 📂models/\n    ├── 📂diffusion_models/\n    │   └── qwen_image_2.1_int8_convrot.safetensors \n    ├── 📂text_encoders/\n    │   └── qwen3vl_8b_int8_convrot.safetensors \n    └── 📂vae/\n        └── qwen_image_2.1_vae_bf16.safetensors \n```\n\n## guide\n\n- [日本語](https://comfyui.nomadoor.net/ja/basic-workflows/qwen-image-2-1/)\n- [English](https://comfyui.nomadoor.net/en/basic-workflows/qwen-image-2-1/)\n- [中文](https://comfyui.nomadoor.net/zh/basic-workflows/qwen-image-2-1/)"
      ],
      "widgets_values_named": {
        "text": "## models\n\n- diffusion_models\n  - [qwen_image_2.1_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors) (7.26 GB)\n- text_encoders\n  - [qwen3vl_8b_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) (9.35 GB)\n- vae\n  - [qwen_image_2.1_vae_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/vae/qwen_image_2.1_vae_bf16.safetensors) (676 MB)\n\n```text\n📂ComfyUI/\n└── 📂models/\n    ├── 📂diffusion_models/\n    │   └── qwen_image_2.1_int8_convrot.safetensors \n    ├── 📂text_encoders/\n    │   └── qwen3vl_8b_int8_convrot.safetensors \n    └── 📂vae/\n        └── qwen_image_2.1_vae_bf16.safetensors \n```\n\n## guide\n\n- [日本語](https://comfyui.nomadoor.net/ja/basic-workflows/qwen-image-2-1/)\n- [English](https://comfyui.nomadoor.net/en/basic-workflows/qwen-image-2-1/)\n- [中文](https://comfyui.nomadoor.net/zh/basic-workflows/qwen-image-2-1/)"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 102,
      "type": "PrimitiveInt",
      "pos": [
        -1440.405073867284,
        1370.770553058384
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            170,
            183
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        5,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 5,
        "fixed": "fixed"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 104,
      "type": "StringFormat",
      "pos": [
        336.91895583778336,
        947.7236647480003
      ],
      "size": [
        313.59454277712825,
        168
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "values.a",
          "shape": 7,
          "type": "*",
          "link": 174
        },
        {
          "name": "values.b",
          "shape": 7,
          "type": "*",
          "link": null
        },
        {
          "name": "values.c",
          "shape": 7,
          "type": "*",
          "link": null
        },
        {
          "name": "values.d",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            195
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "StringFormat"
      },
      "widgets_values": [
        "This is an RGBA image with transparency. Extract only {a} from the image. The image has alpha channel and everything except {a} is transparent."
      ],
      "widgets_values_named": {
        "f_string": "This is an RGBA image with transparency. Extract only {a} from the image. The image has alpha channel and everything except {a} is transparent."
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 105,
      "type": "Reroute",
      "pos": [
        -843.8764390590163,
        1370.3691484868868
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 183
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            185
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 106,
      "type": "ComfyMathExpression",
      "pos": [
        -690.3311602100158,
        1270.441271483951
      ],
      "size": [
        210,
        148
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 185
        },
        {
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": 186
        },
        {
          "name": "values.c",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            187
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
        "a - b"
      ],
      "widgets_values_named": {
        "expression": "a - b"
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 109,
      "type": "KSampler",
      "pos": [
        2001.2348527942684,
        176.5793359861301
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 254
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 203
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 204
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 265
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 348
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            209
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      },
      "widgets_values": [
        1234,
        "fixed",
        25,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 1234,
        "control_after_generate": "fixed",
        "steps": 25,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 110,
      "type": "TextEncodeQwenImage21",
      "pos": [
        1524.508353940862,
        195.89336085360014
      ],
      "size": [
        418.5183049982245,
        286
      ],
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 252
        },
        {
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 343
        },
        {
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_4",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 276
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 241
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            203
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            204
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "TextEncodeQwenImage21"
      },
      "widgets_values": [
        "",
        "",
        0
      ],
      "widgets_values_named": {
        "prompt": "",
        "negative_prompt": "",
        "resolution": 0
      }
    },
    {
      "id": 111,
      "type": "VAEDecode",
      "pos": [
        2354.912892345062,
        176.5793359861301
      ],
      "size": [
        157.56002807617188,
        46
      ],
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 209
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 250
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            232
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.33"
      }
    },
    {
      "id": 112,
      "type": "SplitImageWithAlpha",
      "pos": [
        -352.50573387276904,
        864.3686142037486
      ],
      "size": [
        224.1813134096407,
        46
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 217
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            219
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "SplitImageWithAlpha"
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 113,
      "type": "ComfySwitchNode",
      "pos": [
        2549.5743718138874,
        1006.2008264821983
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "IMAGE",
          "link": 230
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "IMAGE",
          "link": 258
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 261
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            229
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "id": 116,
      "type": "ComfySwitchNode",
      "pos": [
        2859.199093675356,
        1147.5185101197997
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "IMAGE",
          "link": 232
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "IMAGE",
          "link": 259
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 262
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            234
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "id": 120,
      "type": "StringFormat",
      "pos": [
        1006.0237919212377,
        845.3235021497342
      ],
      "size": [
        313.59454277712825,
        168
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "values.a",
          "shape": 7,
          "type": "*",
          "link": 239
        },
        {
          "name": "values.b",
          "shape": 7,
          "type": "*",
          "link": null
        },
        {
          "name": "values.c",
          "shape": 7,
          "type": "*",
          "link": null
        },
        {
          "name": "values.d",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            241
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "StringFormat"
      },
      "widgets_values": [
        "Treat the painted region in <image1> as a missing area for reconstruction. The region covers {a}; {a} should be removed and must not appear in the final image. Reconstruct that region as a natural continuation of the surrounding background and scene structure, with matching perspective, lighting, and texture. Keep everything outside the painted region unchanged."
      ],
      "widgets_values_named": {
        "f_string": "Treat the painted region in <image1> as a missing area for reconstruction. The region covers {a}; {a} should be removed and must not appear in the final image. Reconstruct that region as a natural continuation of the surrounding background and scene structure, with matching perspective, lighting, and texture. Keep everything outside the painted region unchanged."
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 123,
      "type": "Reroute",
      "pos": [
        754.4216430080335,
        -12.211522402304364
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 247
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            248,
            275
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 124,
      "type": "Reroute",
      "pos": [
        2236.816537867362,
        -13.797831699475724
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 327
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            250
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 125,
      "type": "Reroute",
      "pos": [
        1374.3697924320104,
        -183.9597359358603
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 251
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "CLIP",
          "links": [
            252
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 126,
      "type": "Reroute",
      "pos": [
        1875.7017511195502,
        -330.1216401722446
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 341
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "MODEL",
          "links": [
            254
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 127,
      "type": "Reroute",
      "pos": [
        382.4566628452758,
        -330.1216401722446
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 255
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "MODEL",
          "links": [
            256,
            341
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 128,
      "type": "Reroute",
      "pos": [
        2421.280357440508,
        1157.9465355665836
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 257
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            258,
            259
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 129,
      "type": "Reroute",
      "pos": [
        2421.280357440508,
        1107.3891591891786
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 260
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "BOOLEAN",
          "links": [
            261,
            262
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 130,
      "type": "Reroute",
      "pos": [
        1868.0266589390865,
        632.669630128745
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 264
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "LATENT",
          "links": [
            265
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 135,
      "type": "Reroute",
      "pos": [
        1373.1620318118817,
        -13.797831699475724
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 275
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            276,
            327
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 139,
      "type": "Reroute",
      "pos": [
        -368.3719450122634,
        483.71945012263376
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 303
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            305,
            307,
            342
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 140,
      "type": "Reroute",
      "pos": [
        961.6281493659101,
        482.73447685505306
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 305
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            335
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 154,
      "type": "da2ffc0e-e6a8-4a06-8600-d26f7f23bbca",
      "pos": [
        1242.583463748355,
        216.53193799894038
      ],
      "size": [
        224.0665908031342,
        78.6115909044841
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "destination",
          "type": "IMAGE",
          "link": 335
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 336
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            343
          ]
        }
      ],
      "properties": {
        "previewExposures": []
      },
      "widgets_values": [
        20
      ],
      "widgets_values_named": {
        "expand": 20
      }
    },
    {
      "id": 155,
      "type": "Reroute",
      "pos": [
        -370.26011037780495,
        548.4851216728835
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 344
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            345
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 156,
      "type": "Reroute",
      "pos": [
        387.0072049738792,
        548.4851216728835
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 345
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            346,
            347
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 157,
      "type": "Reroute",
      "pos": [
        1868.0266589390865,
        548.4851216728835
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 347
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            348
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    }
  ],
  "links": [
    [
      113,
      57,
      0,
      73,
      0,
      "IMAGE"
    ],
    [
      156,
      91,
      0,
      92,
      0,
      "INT"
    ],
    [
      157,
      91,
      1,
      92,
      1,
      "INT"
    ],
    [
      160,
      96,
      0,
      94,
      1,
      "CONDITIONING"
    ],
    [
      161,
      96,
      1,
      94,
      2,
      "CONDITIONING"
    ],
    [
      162,
      92,
      0,
      94,
      3,
      "LATENT"
    ],
    [
      166,
      94,
      0,
      99,
      0,
      "LATENT"
    ],
    [
      183,
      102,
      0,
      105,
      0,
      "INT"
    ],
    [
      203,
      110,
      0,
      109,
      1,
      "CONDITIONING"
    ],
    [
      204,
      110,
      1,
      109,
      2,
      "CONDITIONING"
    ],
    [
      209,
      109,
      0,
      111,
      0,
      "LATENT"
    ],
    [
      217,
      56,
      4,
      112,
      0,
      "IMAGE"
    ],
    [
      230,
      99,
      0,
      113,
      0,
      "IMAGE"
    ],
    [
      232,
      111,
      0,
      116,
      0,
      "IMAGE"
    ],
    [
      247,
      95,
      0,
      123,
      0,
      "VAE"
    ],
    [
      248,
      123,
      0,
      99,
      1,
      "VAE"
    ],
    [
      250,
      124,
      0,
      111,
      1,
      "VAE"
    ],
    [
      251,
      98,
      0,
      125,
      0,
      "CLIP"
    ],
    [
      254,
      126,
      0,
      109,
      0,
      "MODEL"
    ],
    [
      255,
      100,
      0,
      127,
      0,
      "MODEL"
    ],
    [
      256,
      127,
      0,
      94,
      0,
      "MODEL"
    ],
    [
      257,
      56,
      4,
      128,
      0,
      "IMAGE"
    ],
    [
      258,
      128,
      0,
      113,
      1,
      "IMAGE"
    ],
    [
      259,
      128,
      0,
      116,
      1,
      "IMAGE"
    ],
    [
      260,
      56,
      2,
      129,
      0,
      "BOOLEAN"
    ],
    [
      261,
      129,
      0,
      113,
      2,
      "BOOLEAN"
    ],
    [
      262,
      129,
      0,
      116,
      2,
      "BOOLEAN"
    ],
    [
      264,
      92,
      0,
      130,
      0,
      "LATENT"
    ],
    [
      265,
      130,
      0,
      109,
      3,
      "LATENT"
    ],
    [
      275,
      123,
      0,
      135,
      0,
      "VAE"
    ],
    [
      303,
      56,
      4,
      139,
      0,
      "IMAGE"
    ],
    [
      305,
      139,
      0,
      140,
      0,
      "IMAGE"
    ],
    [
      307,
      139,
      0,
      91,
      0,
      "IMAGE"
    ],
    [
      229,
      113,
      0,
      57,
      0,
      "IMAGE"
    ],
    [
      234,
      116,
      0,
      57,
      1,
      "IMAGE"
    ],
    [
      327,
      135,
      0,
      124,
      0,
      "VAE"
    ],
    [
      335,
      140,
      0,
      154,
      0,
      "IMAGE"
    ],
    [
      336,
      99,
      0,
      154,
      1,
      "IMAGE"
    ],
    [
      341,
      127,
      0,
      126,
      0,
      "MODEL"
    ],
    [
      344,
      56,
      0,
      155,
      0,
      "INT"
    ],
    [
      345,
      155,
      0,
      156,
      0,
      "INT"
    ],
    [
      346,
      156,
      0,
      94,
      4,
      "INT"
    ],
    [
      347,
      156,
      0,
      157,
      0,
      "INT"
    ],
    [
      348,
      157,
      0,
      109,
      4,
      "INT"
    ],
    [
      188,
      98,
      0,
      59,
      0,
      "CLIP"
    ],
    [
      219,
      112,
      0,
      59,
      1,
      "IMAGE"
    ],
    [
      128,
      81,
      0,
      59,
      4,
      "STRING"
    ],
    [
      187,
      106,
      1,
      81,
      0,
      "INT"
    ],
    [
      176,
      89,
      0,
      56,
      1,
      "IMAGE"
    ],
    [
      163,
      98,
      0,
      96,
      0,
      "CLIP"
    ],
    [
      342,
      139,
      0,
      96,
      1,
      "IMAGE"
    ],
    [
      174,
      59,
      0,
      104,
      0,
      "STRING"
    ],
    [
      185,
      105,
      0,
      106,
      0,
      "INT"
    ],
    [
      186,
      56,
      0,
      106,
      1,
      "INT"
    ],
    [
      252,
      125,
      0,
      110,
      0,
      "CLIP"
    ],
    [
      343,
      154,
      0,
      110,
      1,
      "IMAGE"
    ],
    [
      239,
      59,
      0,
      120,
      0,
      "STRING"
    ],
    [
      170,
      102,
      0,
      56,
      2,
      "INT"
    ],
    [
      196,
      95,
      0,
      96,
      5,
      "VAE"
    ],
    [
      195,
      104,
      0,
      96,
      6,
      "STRING"
    ],
    [
      276,
      135,
      0,
      110,
      5,
      "VAE"
    ],
    [
      241,
      120,
      0,
      110,
      6,
      "STRING"
    ],
    [
      349,
      50,
      0,
      89,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Object extraction",
      "bounding": [
        33.488899975654704,
        106.57933598613013,
        1011.5111944025186,
        365.154771447483
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 3,
      "title": "Object Removal",
      "bounding": [
        1232.583463748355,
        106.5793359861301,
        1289.889456672879,
        365.31402486747004
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "da2ffc0e-e6a8-4a06-8600-d26f7f23bbca",
        "version": 1,
        "state": {
          "lastGroupId": 3,
          "lastNodeId": 157,
          "lastLinkId": 349,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Fill the target in green",
        "inputNode": {
          "id": -10,
          "bounding": [
            888.5627717197311,
            259.92234051112905,
            128,
            88
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            2158.0940921040733,
            252.41586854598327,
            128,
            67.99999999999997
          ]
        },
        "inputs": [
          {
            "id": "93425ce6-7d2f-47d2-9eb5-2834722a0024",
            "name": "destination",
            "type": "IMAGE",
            "linkIds": [
              320
            ],
            "localized_name": "destination",
            "pos": [
              992.5627717197311,
              283.92234051112905
            ]
          },
          {
            "id": "9057dc81-c111-477d-ac4a-81084e1af4b9",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              333
            ],
            "localized_name": "image",
            "pos": [
              992.5627717197311,
              303.92234051112905
            ]
          },
          {
            "id": "887bf354-3c50-4554-a34d-718710a180e7",
            "name": "expand",
            "type": "INT",
            "linkIds": [
              339
            ],
            "pos": [
              0,
              0
            ]
          }
        ],
        "outputs": [
          {
            "id": "b03dece5-aa55-40c7-a490-30741e24ca83",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              321
            ],
            "localized_name": "IMAGE",
            "pos": [
              2182.0940921040733,
              276.41586854598324
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 153,
            "type": "GrowMask",
            "pos": [
              1579.8983862104233,
              381.9590670664255
            ],
            "size": [
              210,
              82
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 332
              },
              {
                "localized_name": "expand",
                "name": "expand",
                "type": "INT",
                "widget": {
                  "name": "expand"
                },
                "link": 339
              }
            ],
            "outputs": [
              {
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK",
                "links": [
                  334
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "Node name for S&R": "GrowMask"
            },
            "widgets_values": [
              20,
              true
            ],
            "widgets_values_named": {
              "expand": 20,
              "tapered_corners": true
            }
          },
          {
            "id": 145,
            "type": "ImageCompositeMasked",
            "pos": [
              1837.1463978883266,
              262.3905555574025
            ],
            "size": [
              271.64609375,
              146
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "destination",
                "name": "destination",
                "type": "IMAGE",
                "link": 320
              },
              {
                "localized_name": "source",
                "name": "source",
                "type": "IMAGE",
                "link": 319
              },
              {
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK",
                "link": 334
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  321
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "Node name for S&R": "ImageCompositeMasked"
            },
            "widgets_values": [
              0,
              0,
              true
            ],
            "widgets_values_named": {
              "x": 0,
              "y": 0,
              "resize_source": true
            }
          },
          {
            "id": 147,
            "type": "EmptyImage",
            "pos": [
              1572.710023882478,
              118.04592030259016
            ],
            "size": [
              210,
              130
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "color",
                "name": "color",
                "type": "INT",
                "widget": {
                  "name": "color"
                },
                "link": 323
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  319
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "Node name for S&R": "EmptyImage"
            },
            "widgets_values": [
              512,
              512,
              1,
              9999999
            ],
            "widgets_values_named": {
              "width": 512,
              "height": 512,
              "batch_size": 1,
              "color": 9999999
            }
          },
          {
            "id": 152,
            "type": "InvertMask",
            "pos": [
              1333.576990654247,
              382.6155931920161
            ],
            "size": [
              216.70124734932566,
              26
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 331
              }
            ],
            "outputs": [
              {
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK",
                "links": [
                  332
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "Node name for S&R": "InvertMask"
            }
          },
          {
            "id": 151,
            "type": "SplitImageWithAlpha",
            "pos": [
              1083.7189340950113,
              361.25401802259256
            ],
            "size": [
              216.70124734932566,
              46
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 333
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": []
              },
              {
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK",
                "links": [
                  331
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "Node name for S&R": "SplitImageWithAlpha"
            }
          },
          {
            "id": 149,
            "type": "ColorToRGBInt",
            "pos": [
              1331.2907804651065,
              150.04592030259016
            ],
            "size": [
              210,
              98
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "rgb_int",
                "name": "rgb_int",
                "type": "INT",
                "links": [
                  323
                ]
              },
              {
                "localized_name": "hex",
                "name": "hex",
                "type": "COLOR",
                "links": null
              },
              {
                "localized_name": "alpha",
                "name": "alpha",
                "type": "FLOAT",
                "links": null
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "Node name for S&R": "ColorToRGBInt"
            },
            "widgets_values": [
              "#00ff00"
            ],
            "widgets_values_named": {
              "color": "#00ff00"
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 332,
            "origin_id": 152,
            "origin_slot": 0,
            "target_id": 153,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 319,
            "origin_id": 147,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 334,
            "origin_id": 153,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 2,
            "type": "MASK"
          },
          {
            "id": 323,
            "origin_id": 149,
            "origin_slot": 0,
            "target_id": 147,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 331,
            "origin_id": 151,
            "origin_slot": 1,
            "target_id": 152,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 320,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 333,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 151,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 321,
            "origin_id": 145,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 339,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 153,
            "target_slot": 1,
            "type": "INT"
          }
        ],
        "extra": {}
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.4305676431342941,
      "offset": [
        1092.569497081654,
        714.2870609449761
      ]
    },
    "frontendVersion": "1.53.6",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}