{
  "id": "e47d064a-cb92-4da7-b92b-be9f1ddd26f5",
  "revision": 0,
  "last_node_id": 172,
  "last_link_id": 374,
  "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": [
        -1432.1181276006087,
        1127.9833174819903
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 10,
      "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.8216147041212,
        845.3235021497342
      ],
      "size": [
        378.8074837263441,
        288
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 188
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 374
        },
        {
          "name": "video",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 128
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            174,
            239
          ]
        },
        {
          "name": "thinking",
          "type": "STRING",
          "links": null
        }
      ],
      "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": [
        -430.4437572552506,
        1289.2366637608511
      ],
      "size": [
        321.7347395963642,
        208.97775534516904
      ],
      "flags": {},
      "order": 24,
      "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": [
        3467.2908805874067,
        1015.7979977300848
      ],
      "size": [
        270,
        98
      ],
      "flags": {},
      "order": 47,
      "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": 15,
      "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": [
            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": [
        3802.832925576853,
        1015.7979977300848
      ],
      "size": [
        679.2202228599258,
        942.4879654105011
      ],
      "flags": {},
      "order": 48,
      "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": [
        225,
        136
      ],
      "flags": {},
      "order": 27,
      "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": 31,
      "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": [
            264,
            358
          ]
        }
      ],
      "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": 95,
      "type": "VAELoader",
      "pos": [
        -431.172707073633,
        -352.6520079243505
      ],
      "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": [
        34.67055415270261,
        0.17636195724179915
      ],
      "size": [
        418.5183049982245,
        286
      ],
      "flags": {},
      "order": 36,
      "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": [
            361
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": []
        },
        {
          "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": [
        -431.172707073633,
        -535.2511024130404
      ],
      "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": [
        1149.423899467103,
        17.491195427210272
      ],
      "size": [
        225,
        46
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 362
        },
        {
          "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": [
        -431.172707073633,
        -692.5964871944833
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            356
          ]
        }
      ],
      "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": 102,
      "type": "PrimitiveInt",
      "pos": [
        -1432.1181276006087,
        1370.770553058384
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 4,
      "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": 32,
      "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": 14,
      "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": [
        225,
        148
      ],
      "flags": {},
      "order": 18,
      "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": 110,
      "type": "TextEncodeQwenImage21",
      "pos": [
        1763.2447055183823,
        -27.0196389118691
      ],
      "size": [
        418.5183049982245,
        286
      ],
      "flags": {},
      "order": 42,
      "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": [
            369
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": []
        },
        {
          "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": [
        2879.18491741341,
        -9.31015139254317
      ],
      "size": [
        225,
        46
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 372
        },
        {
          "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": 113,
      "type": "ComfySwitchNode",
      "pos": [
        2886.206790608514,
        1015.7979977300848
      ],
      "size": [
        225,
        78
      ],
      "flags": {},
      "order": 40,
      "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": [
        3176.7488355979604,
        1151.3472839234273
      ],
      "size": [
        225,
        78
      ],
      "flags": {},
      "order": 46,
      "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": [
        1392.725272548747,
        845.3235021497342
      ],
      "size": [
        313.59454277712825,
        168
      ],
      "flags": {},
      "order": 33,
      "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": [
        1041.9947309785937,
        -352.6520079243505
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 247
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            248,
            275
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 124,
      "type": "Reroute",
      "pos": [
        2779.3680676079452,
        -352.6520079243505
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 327
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "VAE",
          "links": [
            250
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 125,
      "type": "Reroute",
      "pos": [
        1631.3198153258752,
        -546.4345829580983
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 251
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "CLIP",
          "links": [
            252
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 126,
      "type": "Reroute",
      "pos": [
        2106.7630105166068,
        -692.5964871944833
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 373
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "MODEL",
          "links": [
            370
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 128,
      "type": "Reroute",
      "pos": [
        2745.664745619068,
        1167.5437068144702
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 257
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            258,
            259
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 129,
      "type": "Reroute",
      "pos": [
        2745.664745619068,
        1116.9863304370651
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 20,
      "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": [
        2442.7966739327117,
        623.0724588808584
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 264
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "LATENT",
          "links": [
            367
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 135,
      "type": "Reroute",
      "pos": [
        1638.9111671379133,
        -352.6520079243505
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 16,
      "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": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 303
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            305,
            307,
            342,
            374
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 140,
      "type": "Reroute",
      "pos": [
        1299.423899467103,
        482.73447685505306
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 26,
      "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": [
        1481.3198153258752,
        -6.381061766528921
      ],
      "size": [
        225,
        78.6115909044841
      ],
      "flags": {},
      "order": 41,
      "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": 19,
      "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": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 345
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            347,
            360
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 157,
      "type": "Reroute",
      "pos": [
        2106.7630105166068,
        538.8879504249969
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 347
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "INT",
          "links": [
            368
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 158,
      "type": "MarkdownNote",
      "pos": [
        -941.2162680023249,
        -692.5964871944833
      ],
      "size": [
        446.5927533972422,
        514.062500526828
      ],
      "flags": {},
      "order": 5,
      "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- loras\n  - [qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/loras/qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors) (913 MB)\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    ├── 📂loras/\n    │   └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.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- loras\n  - [qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/blob/main/loras/qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors) (913 MB)\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    ├── 📂loras/\n    │   └── qwen_image_2.1_turbo_lora_avg_rank_178_bf16.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": 161,
      "type": "ManualSigmas",
      "pos": [
        505.656066688269,
        233.0024320816777
      ],
      "size": [
        274.7672706150911,
        58
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            354
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ManualSigmas"
      },
      "widgets_values": [
        "1.0, 0.978453, 0.95418, 0.926626, 0.89508, 0.845148, 0.704534, 0.414568, 0.0"
      ],
      "widgets_values_named": {
        "sigmas": "1.0, 0.978453, 0.95418, 0.926626, 0.89508, 0.845148, 0.704534, 0.414568, 0.0"
      }
    },
    {
      "id": 162,
      "type": "KSamplerSelect",
      "pos": [
        505.656066688269,
        101.32827431203263
      ],
      "size": [
        274.7672706150911,
        58
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            353
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "euler"
      ],
      "widgets_values_named": {
        "sampler_name": "euler"
      }
    },
    {
      "id": 163,
      "type": "BasicGuider",
      "pos": [
        505.656066688269,
        -18.345883457612132
      ],
      "size": [
        274.7672706150911,
        46
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 350
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 361
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            352
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "BasicGuider"
      }
    },
    {
      "id": 164,
      "type": "RandomNoise",
      "pos": [
        505.656066688269,
        -174.02004122725717
      ],
      "size": [
        274.7672706150911,
        82
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          },
          "link": 360
        }
      ],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            351
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        1234,
        "fixed"
      ],
      "widgets_values_named": {
        "noise_seed": 1234,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 165,
      "type": "SamplerCustomAdvanced",
      "pos": [
        856.2694417562436,
        17.491195427210272
      ],
      "size": [
        253.133937410312,
        106
      ],
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 351
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 352
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 353
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 354
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 358
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            362
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "SamplerCustomAdvanced"
      }
    },
    {
      "id": 166,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -71.9084251328257,
        -692.5964871944833
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 356
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            350,
            373
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "LoraLoaderModelOnly",
        "models": [
          {
            "name": "qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/loras/qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
        1
      ],
      "widgets_values_named": {
        "lora_name": "qwen_image_2.1_turbo_lora_avg_rank_178_bf16.safetensors",
        "strength_model": 1
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 167,
      "type": "ManualSigmas",
      "pos": [
        2243.0294033176206,
        206.20108526192428
      ],
      "size": [
        274.7672706150911,
        58
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            366
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "ManualSigmas"
      },
      "widgets_values": [
        "1.0, 0.978453, 0.95418, 0.926626, 0.89508, 0.845148, 0.704534, 0.414568, 0.0"
      ],
      "widgets_values_named": {
        "sigmas": "1.0, 0.978453, 0.95418, 0.926626, 0.89508, 0.845148, 0.704534, 0.414568, 0.0"
      }
    },
    {
      "id": 168,
      "type": "KSamplerSelect",
      "pos": [
        2243.0294033176206,
        74.52692749227904
      ],
      "size": [
        274.7672706150911,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            365
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "euler"
      ],
      "widgets_values_named": {
        "sampler_name": "euler"
      }
    },
    {
      "id": 169,
      "type": "SamplerCustomAdvanced",
      "pos": [
        2593.642778385595,
        -9.31015139254317
      ],
      "size": [
        253.133937410312,
        106
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 363
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 364
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 365
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 366
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 367
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            372
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "SamplerCustomAdvanced"
      }
    },
    {
      "id": 170,
      "type": "BasicGuider",
      "pos": [
        2243.0294033176206,
        -45.1472302773657
      ],
      "size": [
        274.7672706150911,
        46
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 370
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 369
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            364
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "BasicGuider"
      }
    },
    {
      "id": 171,
      "type": "RandomNoise",
      "pos": [
        2243.0294033176206,
        -200.82138804701052
      ],
      "size": [
        274.7672706150911,
        82
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          },
          "link": 368
        }
      ],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            363
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        1234,
        "fixed"
      ],
      "widgets_values_named": {
        "noise_seed": 1234,
        "control_after_generate": "fixed"
      }
    }
  ],
  "links": [
    [
      113,
      57,
      0,
      73,
      0,
      "IMAGE"
    ],
    [
      156,
      91,
      0,
      92,
      0,
      "INT"
    ],
    [
      157,
      91,
      1,
      92,
      1,
      "INT"
    ],
    [
      183,
      102,
      0,
      105,
      0,
      "INT"
    ],
    [
      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"
    ],
    [
      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"
    ],
    [
      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"
    ],
    [
      344,
      56,
      0,
      155,
      0,
      "INT"
    ],
    [
      345,
      155,
      0,
      156,
      0,
      "INT"
    ],
    [
      347,
      156,
      0,
      157,
      0,
      "INT"
    ],
    [
      350,
      166,
      0,
      163,
      0,
      "MODEL"
    ],
    [
      351,
      164,
      0,
      165,
      0,
      "NOISE"
    ],
    [
      352,
      163,
      0,
      165,
      1,
      "GUIDER"
    ],
    [
      353,
      162,
      0,
      165,
      2,
      "SAMPLER"
    ],
    [
      354,
      161,
      0,
      165,
      3,
      "SIGMAS"
    ],
    [
      356,
      100,
      0,
      166,
      0,
      "MODEL"
    ],
    [
      358,
      92,
      0,
      165,
      4,
      "LATENT"
    ],
    [
      360,
      156,
      0,
      164,
      0,
      "INT"
    ],
    [
      361,
      96,
      0,
      163,
      1,
      "CONDITIONING"
    ],
    [
      362,
      165,
      0,
      99,
      0,
      "LATENT"
    ],
    [
      363,
      171,
      0,
      169,
      0,
      "NOISE"
    ],
    [
      364,
      170,
      0,
      169,
      1,
      "GUIDER"
    ],
    [
      365,
      168,
      0,
      169,
      2,
      "SAMPLER"
    ],
    [
      366,
      167,
      0,
      169,
      3,
      "SIGMAS"
    ],
    [
      367,
      130,
      0,
      169,
      4,
      "LATENT"
    ],
    [
      368,
      157,
      0,
      171,
      0,
      "INT"
    ],
    [
      369,
      110,
      0,
      170,
      1,
      "CONDITIONING"
    ],
    [
      370,
      126,
      0,
      170,
      0,
      "MODEL"
    ],
    [
      372,
      169,
      0,
      111,
      0,
      "LATENT"
    ],
    [
      373,
      166,
      0,
      126,
      0,
      "MODEL"
    ],
    [
      349,
      50,
      0,
      89,
      0,
      "IMAGE"
    ],
    [
      188,
      98,
      0,
      59,
      0,
      "CLIP"
    ],
    [
      128,
      81,
      0,
      59,
      5,
      "STRING"
    ],
    [
      187,
      106,
      1,
      81,
      0,
      "INT"
    ],
    [
      176,
      89,
      0,
      56,
      1,
      "IMAGE"
    ],
    [
      170,
      102,
      0,
      56,
      2,
      "INT"
    ],
    [
      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"
    ],
    [
      196,
      95,
      0,
      96,
      5,
      "VAE"
    ],
    [
      195,
      104,
      0,
      96,
      6,
      "STRING"
    ],
    [
      276,
      135,
      0,
      110,
      5,
      "VAE"
    ],
    [
      241,
      120,
      0,
      110,
      6,
      "STRING"
    ],
    [
      374,
      139,
      0,
      59,
      1,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Object extraction",
      "bounding": [
        -38.33536912574222,
        -273.6874076709681,
        1430.8778525284936,
        600.6954913255518
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 3,
      "title": "Object Removal",
      "bounding": [
        1414.2517865485668,
        -274.7975399913933,
        1705.214072659547,
        601.8183200821009
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "da2ffc0e-e6a8-4a06-8600-d26f7f23bbca",
        "version": 1,
        "state": {
          "lastGroupId": 3,
          "lastNodeId": 172,
          "lastLinkId": 374,
          "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": 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"
          },
          {
            "id": 323,
            "origin_id": 149,
            "origin_slot": 0,
            "target_id": 147,
            "target_slot": 0,
            "type": "INT"
          }
        ],
        "extra": {}
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.35584102738371703,
      "offset": [
        2949.178046481555,
        1304.5987275874065
      ]
    },
    "frontendVersion": "1.55.14",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}