{
  "id": "8d27e941-2194-45a9-8d24-a2e68ef9d447",
  "revision": 0,
  "last_node_id": 345,
  "last_link_id": 680,
  "nodes": [
    {
      "id": 301,
      "type": "GrowMask",
      "pos": [
        382.1693446740592,
        517.5092222587035
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 609
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            608,
            613
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMask"
      },
      "widgets_values": [
        0,
        true
      ],
      "widgets_values_named": {
        "expand": 0,
        "tapered_corners": true
      }
    },
    {
      "id": 297,
      "type": "ResizeAndPadImage",
      "pos": [
        -275.44003702161217,
        233.79601692532626
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 604
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            605,
            607
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResizeAndPadImage"
      },
      "widgets_values": [
        1024,
        1024,
        "white",
        "area"
      ],
      "widgets_values_named": {
        "target_width": 1024,
        "target_height": 1024,
        "padding_color": "white",
        "interpolation": "area"
      }
    },
    {
      "id": 300,
      "type": "ImageCompositeMasked",
      "pos": [
        888.3362621352205,
        361.8695508720278
      ],
      "size": [
        271.6666625976562,
        146
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "destination",
          "type": "IMAGE",
          "link": 606
        },
        {
          "name": "source",
          "type": "IMAGE",
          "link": 607
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 608
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            610,
            615
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageCompositeMasked"
      },
      "widgets_values": [
        0,
        0,
        false
      ],
      "widgets_values_named": {
        "x": 0,
        "y": 0,
        "resize_source": false
      }
    },
    {
      "id": 299,
      "type": "EmptyImage",
      "pos": [
        568.0860743453396,
        196.66132761046444
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            606
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyImage"
      },
      "widgets_values": [
        1024,
        1024,
        1,
        0
      ],
      "widgets_values_named": {
        "width": 1024,
        "height": 1024,
        "batch_size": 1,
        "color": 0
      }
    },
    {
      "id": 312,
      "type": "VAEDecode",
      "pos": [
        3549.5476699165465,
        -674.9078838264254
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 618
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 628
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            620
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 303,
      "type": "PreviewImage",
      "pos": [
        1351.8683502040647,
        157.35876249344122
      ],
      "size": [
        210,
        278
      ],
      "flags": {},
      "order": 21,
      "mode": 2,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 610
        },
        {
          "name": "onTrigger",
          "nameLocked": true,
          "type": -1,
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "onExecuted",
          "nameLocked": true,
          "type": -1,
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 326,
      "type": "ImageCompositeMasked",
      "pos": [
        894.2367770043301,
        1511.5715733873521
      ],
      "size": [
        271.6666625976562,
        146
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "destination",
          "type": "IMAGE",
          "link": 642
        },
        {
          "name": "source",
          "type": "IMAGE",
          "link": 643
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 644
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            640,
            646
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageCompositeMasked"
      },
      "widgets_values": [
        0,
        0,
        false
      ],
      "widgets_values_named": {
        "x": 0,
        "y": 0,
        "resize_source": false
      }
    },
    {
      "id": 327,
      "type": "GrowMask",
      "pos": [
        388.06985954316946,
        1667.2112447740283
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 645
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            641,
            644
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMask"
      },
      "widgets_values": [
        0,
        true
      ],
      "widgets_values_named": {
        "expand": 0,
        "tapered_corners": true
      }
    },
    {
      "id": 329,
      "type": "EmptyImage",
      "pos": [
        573.9865892144499,
        1346.3633501257889
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            642
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyImage"
      },
      "widgets_values": [
        1024,
        1024,
        1,
        0
      ],
      "widgets_values_named": {
        "width": 1024,
        "height": 1024,
        "batch_size": 1,
        "color": 0
      }
    },
    {
      "id": 333,
      "type": "ResizeAndPadImage",
      "pos": [
        -269.5395221525024,
        1383.4980394406507
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 650
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            643,
            647
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResizeAndPadImage"
      },
      "widgets_values": [
        1024,
        1024,
        "white",
        "area"
      ],
      "widgets_values_named": {
        "target_width": 1024,
        "target_height": 1024,
        "padding_color": "white",
        "interpolation": "area"
      }
    },
    {
      "id": 325,
      "type": "PrimitiveStringMultiline",
      "pos": [
        748.4561263862096,
        1801.7595407304188
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            639
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Describe the image by detailing the color, shape, proportions, texture. Do not include spatial relationship"
      ],
      "widgets_values_named": {
        "value": "Describe the image by detailing the color, shape, proportions, texture. Do not include spatial relationship"
      }
    },
    {
      "id": 335,
      "type": "ConditioningZeroOut",
      "pos": [
        1899.267620645879,
        1529.083295968376
      ],
      "size": [
        204.0999984741211,
        26
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 652
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            653
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut"
      }
    },
    {
      "id": 298,
      "type": "6fb2e128-7ee1-490b-a2c5-92dae0a869db",
      "pos": [
        16.765031592246668,
        516.0100628111692
      ],
      "size": [
        290,
        370
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 605
        },
        {
          "label": "object",
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": null
        },
        {
          "name": "bboxes",
          "shape": 7,
          "type": "BOUNDING_BOX",
          "link": null
        },
        {
          "name": "positive_coords",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "name": "negative_coords",
          "shape": 7,
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            609
          ]
        },
        {
          "name": "bboxes",
          "type": "BOUNDING_BOX",
          "links": []
        }
      ],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {
            "text": true
          },
          "version": "7.7",
          "input_ue_unconnectable": {}
        },
        "cnr_id": "comfy-core",
        "ver": "0.19.3",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "previewExposures": []
      },
      "widgets_values": [
        "girl with yellow dress, girl with black dress:6",
        0.7100000000000004,
        4,
        false,
        "sam3.1_multiplex_fp16.safetensors"
      ],
      "widgets_values_named": {
        "text": "girl with yellow dress, girl with black dress:6",
        "threshold": 0.7100000000000004,
        "refine_iterations": 4,
        "individual_masks": false,
        "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
      }
    },
    {
      "id": 309,
      "type": "EmptyLatentImage",
      "pos": [
        2725.332837885845,
        195.653213902467
      ],
      "size": [
        320,
        170
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            630
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage",
        "cnr_id": "comfy-core",
        "ver": "0.25.0"
      },
      "widgets_values": [
        1280,
        720,
        1
      ],
      "widgets_values_named": {
        "width": 1280,
        "height": 720,
        "batch_size": 1
      }
    },
    {
      "id": 338,
      "type": "VAEDecode",
      "pos": [
        4423.733297306369,
        -184.34475971907298
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 37,
      "mode": 2,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 657
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 661
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            658
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 336,
      "type": "LatentUpscaleBy",
      "pos": [
        3608.3907367809124,
        -99.06668323077618
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 34,
      "mode": 2,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 659
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            656
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LatentUpscaleBy"
      },
      "widgets_values": [
        "nearest-exact",
        1.5
      ],
      "widgets_values_named": {
        "upscale_method": "nearest-exact",
        "scale_by": 1.5
      }
    },
    {
      "id": 310,
      "type": "KSampler",
      "pos": [
        3150.8998830939718,
        -221.08963828084026
      ],
      "size": [
        320,
        590
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 616
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 635
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 625
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 630
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            618,
            659
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.25.0"
      },
      "widgets_values": [
        205924124134160,
        "randomize",
        8,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 205924124134160,
        "control_after_generate": "randomize",
        "steps": 8,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 302,
      "type": "PrimitiveStringMultiline",
      "pos": [
        742.5556115170991,
        652.0575182150948
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            611
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Describe the image by detailing only spatial relationships, poses, proportions. Do not include color, texture, clothing."
      ],
      "widgets_values_named": {
        "value": "Describe the image by detailing only spatial relationships, poses, proportions. Do not include color, texture, clothing."
      }
    },
    {
      "id": 305,
      "type": "ConditioningMultiply",
      "pos": [
        1695.634045152841,
        215.68892743392072
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 614
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            631
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningMultiply"
      },
      "widgets_values": [
        0.8
      ],
      "widgets_values_named": {
        "multiplier": 0.8
      }
    },
    {
      "id": 304,
      "type": "TextEncodeKrea2",
      "pos": [
        1246.9033974603637,
        501.0482158626049
      ],
      "size": [
        400,
        284
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 621
        },
        {
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "link": 611
        },
        {
          "name": "image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 615
        },
        {
          "name": "mask1",
          "shape": 7,
          "type": "MASK",
          "link": 613
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "mask2",
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            614
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TextEncodeKrea2"
      },
      "widgets_values": [
        "many defeated, fainted, limp agents sprawled on the floor.",
        1,
        0,
        "before prompt",
        false
      ],
      "widgets_values_named": {
        "prompt": "many defeated, fainted, limp agents sprawled on the floor.",
        "vision_megapixels": 1,
        "mask_padding": 0,
        "vision_position": "before prompt",
        "print_prompt": false
      }
    },
    {
      "id": 320,
      "type": "ConditioningConcat",
      "pos": [
        2468.3411598253215,
        -195.77310373635882
      ],
      "size": [
        236.03333282470703,
        46
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning_to",
          "type": "CONDITIONING",
          "link": 680
        },
        {
          "name": "conditioning_from",
          "type": "CONDITIONING",
          "link": 676
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            634,
            635,
            662
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningConcat"
      }
    },
    {
      "id": 316,
      "type": "ConditioningZeroOut",
      "pos": [
        2805.1974335008376,
        -123.4682991044826
      ],
      "size": [
        204.0999984741211,
        26
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 634
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            625,
            663
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut"
      }
    },
    {
      "id": 296,
      "type": "LoadImage",
      "pos": [
        -605.8646760555984,
        233.2125352491012
      ],
      "size": [
        282.83333587646484,
        314.0000000000001
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            604
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "__black_delmo_golden_delmo_rie_petoriyacowa_naomi_yuki_and_1_more_aika_and_1_more_drawn_by_not_a_chan__sample-4cd15395085fd087e8d1932681174c91.jpg",
        "image"
      ],
      "widgets_values_named": {
        "image": "__black_delmo_golden_delmo_rie_petoriyacowa_naomi_yuki_and_1_more_aika_and_1_more_drawn_by_not_a_chan__sample-4cd15395085fd087e8d1932681174c91.jpg",
        "upload": "image"
      }
    },
    {
      "id": 339,
      "type": "PreviewImage",
      "pos": [
        4723.43380959173,
        -182.6183108681594
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 38,
      "mode": 2,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 658
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 318,
      "type": "ConditioningConcat",
      "pos": [
        2039.7263860750263,
        221.95826501609793
      ],
      "size": [
        236.03333282470703,
        46
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning_to",
          "type": "CONDITIONING",
          "link": 631
        },
        {
          "name": "conditioning_from",
          "type": "CONDITIONING",
          "link": 651
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningConcat"
      }
    },
    {
      "id": 332,
      "type": "ConditioningConcat",
      "pos": [
        2045.6269009441364,
        1371.6602875314222
      ],
      "size": [
        236.03333282470703,
        46
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning_to",
          "type": "CONDITIONING",
          "link": 649
        },
        {
          "name": "conditioning_from",
          "type": "CONDITIONING",
          "link": 653
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            651,
            676
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningConcat"
      }
    },
    {
      "id": 331,
      "type": "ConditioningMultiply",
      "pos": [
        1701.53456002195,
        1365.3909499492452
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 648
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            649,
            652
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningMultiply"
      },
      "widgets_values": [
        0.5
      ],
      "widgets_values_named": {
        "multiplier": 0.5
      }
    },
    {
      "id": 313,
      "type": "PreviewImage",
      "pos": [
        3751.6072485804125,
        -674.712371071259
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 620
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 317,
      "type": "VAELoader",
      "pos": [
        2644.5192402655325,
        -476.44256248071224
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            628,
            661
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "qwen_image_vae.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "qwen_image_vae.safetensors"
      }
    },
    {
      "id": 308,
      "type": "CheckpointLoaderSimple",
      "pos": [
        2646.6522293719595,
        -618.6222681078732
      ],
      "size": [
        270,
        98
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            616,
            664
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": []
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "krea2_ultra_v15_nvfp4.safetensors"
      ],
      "widgets_values_named": {
        "ckpt_name": "krea2_ultra_v15_nvfp4.safetensors"
      }
    },
    {
      "id": 319,
      "type": "CLIPTextEncode",
      "pos": [
        1471.1197180013032,
        -501.32786134368655
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 655
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": []
        }
      ],
      "title": "Heap",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Scene in Cyberpunk 2077. Located at a city street, night, cyberpunk lighting.\n\nA high angle, wide shot, panning scene.\n\nDelmos is a villian organization consisting of mature, agents. Delmo agents have all blue uniform, plastic handband, shoulder pad, thigh high smooth blue boots.\n\nbackground: Team from agents are all defeated by an surprise attack ambush. Every agent is unconscience, fainted, sprawled out and various directions, some face up, some face down. eyes closed.\n\nforeground: the survivor standing, looking back\n\n\n\n\n\n"
      ],
      "widgets_values_named": {
        "text": "Scene in Cyberpunk 2077. Located at a city street, night, cyberpunk lighting.\n\nA high angle, wide shot, panning scene.\n\nDelmos is a villian organization consisting of mature, agents. Delmo agents have all blue uniform, plastic handband, shoulder pad, thigh high smooth blue boots.\n\nbackground: Team from agents are all defeated by an surprise attack ambush. Every agent is unconscience, fainted, sprawled out and various directions, some face up, some face down. eyes closed.\n\nforeground: the survivor standing, looking back\n\n\n\n\n\n"
      }
    },
    {
      "id": 307,
      "type": "CLIPLoader",
      "pos": [
        -1452.3882567852447,
        -526.489301076599
      ],
      "size": [
        450,
        170
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            621,
            654,
            655,
            678,
            679
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "models": [
          {
            "name": "qwen3vl_4b_fp8_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3_vl_4b_nvfp4_full.safetensors",
        "krea2",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3_vl_4b_nvfp4_full.safetensors",
        "type": "krea2",
        "device": "default"
      }
    },
    {
      "id": 342,
      "type": "CLIPTextEncode",
      "pos": [
        1476.6801795372378,
        -245.32593786401347
      ],
      "size": [
        389.20473136420526,
        199.93322261989022
      ],
      "flags": {
        "collapsed": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 678
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": []
        }
      ],
      "title": "Zako electrocuted",
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.25.0"
      },
      "widgets_values": [
        "Scene in Pixar. The episode located at an abandoned warehouse.\n\nDelmos is a villian organization consisting of mature, agents. Delmo agents have all blue uniform, shoulder pads, thigh high smooth blue boots.\n\nA team of four Delmos agents stream in, entering the doorway from the outdoors. katana in their right hand.\n\nThey each get hit by electric shocks. The arc begins off the screen to the left and connecting all the agents.\n\nAll the agents scream in pain, eyes closed, body bent backwards, neck flung back, legs kicked up.\n\n\n\n"
      ],
      "widgets_values_named": {
        "text": "Scene in Pixar. The episode located at an abandoned warehouse.\n\nDelmos is a villian organization consisting of mature, agents. Delmo agents have all blue uniform, shoulder pads, thigh high smooth blue boots.\n\nA team of four Delmos agents stream in, entering the doorway from the outdoors. katana in their right hand.\n\nThey each get hit by electric shocks. The arc begins off the screen to the left and connecting all the agents.\n\nAll the agents scream in pain, eyes closed, body bent backwards, neck flung back, legs kicked up.\n\n\n\n"
      }
    },
    {
      "id": 328,
      "type": "PreviewImage",
      "pos": [
        1357.768865073174,
        1307.0607850087656
      ],
      "size": [
        210,
        278
      ],
      "flags": {},
      "order": 24,
      "mode": 2,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 646
        },
        {
          "name": "onTrigger",
          "nameLocked": true,
          "type": -1,
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "onExecuted",
          "nameLocked": true,
          "type": -1,
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 345,
      "type": "CLIPTextEncode",
      "pos": [
        1469.8153343538722,
        -755.3315985237666
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 679
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            680
          ]
        }
      ],
      "title": "Heap + crawl away",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Scene in Cyberpunk 2077 based on Lycoris Recoil. Located at a city street, night, cyberpunk lighting.\n\nA high angle, wide shot, panning scene.\n\nDelmos is a villian organization consisting of mature, adult agents. Delmo agents have uniform, brown backpack, black socks, brown loafers.\n\nbackground: Team from agents are all defeated by an surprise attack ambush. Every agent is unconscience, fainted, sprawled out and various directions, lying on back, eyes closed.\n\nforeground: the survivor crawling away in desperation\n\n\n\n\n\n"
      ],
      "widgets_values_named": {
        "text": "Scene in Cyberpunk 2077 based on Lycoris Recoil. Located at a city street, night, cyberpunk lighting.\n\nA high angle, wide shot, panning scene.\n\nDelmos is a villian organization consisting of mature, adult agents. Delmo agents have uniform, brown backpack, black socks, brown loafers.\n\nbackground: Team from agents are all defeated by an surprise attack ambush. Every agent is unconscience, fainted, sprawled out and various directions, lying on back, eyes closed.\n\nforeground: the survivor crawling away in desperation\n\n\n\n\n\n"
      }
    },
    {
      "id": 337,
      "type": "KSampler",
      "pos": [
        3972.0269909846506,
        -195.8796905999416
      ],
      "size": [
        320,
        590
      ],
      "flags": {},
      "order": 36,
      "mode": 2,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 664
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 662
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 663
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 656
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            657
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.25.0"
      },
      "widgets_values": [
        139602643018933,
        "randomize",
        8,
        1,
        "euler",
        "simple",
        0.38
      ],
      "widgets_values_named": {
        "seed": 139602643018933,
        "control_after_generate": "randomize",
        "steps": 8,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 0.38
      }
    },
    {
      "id": 330,
      "type": "d4d3d423-8143-49e7-9ca1-6896e61ec881",
      "pos": [
        51.219113810442394,
        1668.8847039208354
      ],
      "size": [
        290,
        370
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 647
        },
        {
          "label": "object",
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": null
        },
        {
          "name": "bboxes",
          "shape": 7,
          "type": "BOUNDING_BOX",
          "link": null
        },
        {
          "name": "positive_coords",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "name": "negative_coords",
          "shape": 7,
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            645
          ]
        },
        {
          "name": "bboxes",
          "type": "BOUNDING_BOX",
          "links": []
        }
      ],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {
            "text": true
          },
          "version": "7.7",
          "input_ue_unconnectable": {}
        },
        "cnr_id": "comfy-core",
        "ver": "0.19.3",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "previewExposures": []
      },
      "widgets_values": [
        "person",
        0.7100000000000004,
        4,
        false,
        "sam3.1_multiplex_fp16.safetensors"
      ],
      "widgets_values_named": {
        "text": "person",
        "threshold": 0.7100000000000004,
        "refine_iterations": 4,
        "individual_masks": false,
        "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
      }
    },
    {
      "id": 334,
      "type": "LoadImage",
      "pos": [
        -599.9641611864888,
        1382.9145577644256
      ],
      "size": [
        282.83333587646484,
        314.0000000000001
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            650
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "00104-1346805547.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "00104-1346805547.png",
        "upload": "image"
      }
    },
    {
      "id": 324,
      "type": "TextEncodeKrea2",
      "pos": [
        1252.8039123294736,
        1650.7502383779295
      ],
      "size": [
        400,
        284
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 654
        },
        {
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "link": 639
        },
        {
          "name": "image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 640
        },
        {
          "name": "mask1",
          "shape": 7,
          "type": "MASK",
          "link": 641
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "mask2",
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            648
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TextEncodeKrea2"
      },
      "widgets_values": [
        "agent with leotard uniform.",
        1,
        0,
        "before prompt",
        false
      ],
      "widgets_values_named": {
        "prompt": "agent with leotard uniform.",
        "vision_megapixels": 1,
        "mask_padding": 0,
        "vision_position": "before prompt",
        "print_prompt": false
      }
    }
  ],
  "links": [
    [
      604,
      296,
      0,
      297,
      0,
      "IMAGE"
    ],
    [
      605,
      297,
      0,
      298,
      0,
      "IMAGE"
    ],
    [
      606,
      299,
      0,
      300,
      0,
      "IMAGE"
    ],
    [
      607,
      297,
      0,
      300,
      1,
      "IMAGE"
    ],
    [
      608,
      301,
      0,
      300,
      2,
      "MASK"
    ],
    [
      609,
      298,
      0,
      301,
      0,
      "MASK"
    ],
    [
      610,
      300,
      0,
      303,
      0,
      "IMAGE"
    ],
    [
      611,
      302,
      0,
      304,
      1,
      "STRING"
    ],
    [
      613,
      301,
      0,
      304,
      3,
      "MASK"
    ],
    [
      614,
      304,
      0,
      305,
      0,
      "CONDITIONING"
    ],
    [
      615,
      300,
      0,
      304,
      2,
      "IMAGE"
    ],
    [
      616,
      308,
      0,
      310,
      0,
      "MODEL"
    ],
    [
      618,
      310,
      0,
      312,
      0,
      "LATENT"
    ],
    [
      620,
      312,
      0,
      313,
      0,
      "IMAGE"
    ],
    [
      621,
      307,
      0,
      304,
      0,
      "CLIP"
    ],
    [
      625,
      316,
      0,
      310,
      2,
      "CONDITIONING"
    ],
    [
      628,
      317,
      0,
      312,
      1,
      "VAE"
    ],
    [
      630,
      309,
      0,
      310,
      3,
      "LATENT"
    ],
    [
      631,
      305,
      0,
      318,
      0,
      "CONDITIONING"
    ],
    [
      634,
      320,
      0,
      316,
      0,
      "CONDITIONING"
    ],
    [
      635,
      320,
      0,
      310,
      1,
      "CONDITIONING"
    ],
    [
      639,
      325,
      0,
      324,
      1,
      "STRING"
    ],
    [
      640,
      326,
      0,
      324,
      2,
      "IMAGE"
    ],
    [
      641,
      327,
      0,
      324,
      3,
      "MASK"
    ],
    [
      642,
      329,
      0,
      326,
      0,
      "IMAGE"
    ],
    [
      643,
      333,
      0,
      326,
      1,
      "IMAGE"
    ],
    [
      644,
      327,
      0,
      326,
      2,
      "MASK"
    ],
    [
      645,
      330,
      0,
      327,
      0,
      "MASK"
    ],
    [
      646,
      326,
      0,
      328,
      0,
      "IMAGE"
    ],
    [
      647,
      333,
      0,
      330,
      0,
      "IMAGE"
    ],
    [
      648,
      324,
      0,
      331,
      0,
      "CONDITIONING"
    ],
    [
      649,
      331,
      0,
      332,
      0,
      "CONDITIONING"
    ],
    [
      650,
      334,
      0,
      333,
      0,
      "IMAGE"
    ],
    [
      651,
      332,
      0,
      318,
      1,
      "CONDITIONING"
    ],
    [
      652,
      331,
      0,
      335,
      0,
      "CONDITIONING"
    ],
    [
      653,
      335,
      0,
      332,
      1,
      "CONDITIONING"
    ],
    [
      654,
      307,
      0,
      324,
      0,
      "CLIP"
    ],
    [
      655,
      307,
      0,
      319,
      0,
      "CLIP"
    ],
    [
      656,
      336,
      0,
      337,
      3,
      "LATENT"
    ],
    [
      657,
      337,
      0,
      338,
      0,
      "LATENT"
    ],
    [
      658,
      338,
      0,
      339,
      0,
      "IMAGE"
    ],
    [
      659,
      310,
      0,
      336,
      0,
      "LATENT"
    ],
    [
      661,
      317,
      0,
      338,
      1,
      "VAE"
    ],
    [
      662,
      320,
      0,
      337,
      1,
      "CONDITIONING"
    ],
    [
      663,
      316,
      0,
      337,
      2,
      "CONDITIONING"
    ],
    [
      664,
      308,
      0,
      337,
      0,
      "MODEL"
    ],
    [
      676,
      332,
      0,
      320,
      1,
      "CONDITIONING"
    ],
    [
      678,
      307,
      0,
      342,
      0,
      "CLIP"
    ],
    [
      679,
      307,
      0,
      345,
      0,
      "CLIP"
    ],
    [
      680,
      345,
      0,
      320,
      0,
      "CONDITIONING"
    ]
  ],
  "groups": [
    {
      "id": 13,
      "title": "Composition prompt",
      "bounding": [
        -730.0166633433685,
        69.3495496497063,
        3043.8121911400076,
        1080.3278226958012
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 14,
      "title": "Uniform prompt",
      "bounding": [
        -724.1161484742586,
        1219.0515721650306,
        3043.8121911400076,
        1080.3278226958012
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "6fb2e128-7ee1-490b-a2c5-92dae0a869db",
        "version": 1,
        "state": {
          "lastGroupId": 14,
          "lastNodeId": 345,
          "lastLinkId": 680,
          "lastRerouteId": 8
        },
        "revision": 0,
        "config": {},
        "name": "Image Segmentation (SAM3)",
        "description": "Segments images into masks using Meta SAM3 from text prompts, points, or boxes.",
        "inputNode": {
          "id": -10,
          "bounding": [
            -2260,
            -3450,
            136.369140625,
            220
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            -1130,
            -3305,
            120,
            80
          ]
        },
        "inputs": [
          {
            "id": "a6e75fa2-162a-4af0-a2fd-1e9c899a5ab6",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              264
            ],
            "localized_name": "image",
            "label": "image",
            "pos": [
              -2143.630859375,
              -3430
            ]
          },
          {
            "id": "3cefd304-7631-4ff6-a5a0-5a0ffb120745",
            "name": "text",
            "type": "STRING",
            "linkIds": [
              265
            ],
            "label": "object",
            "pos": [
              -2143.630859375,
              -3410
            ]
          },
          {
            "id": "1aec91c5-d8d2-441c-928c-49c14e7e80ed",
            "name": "bboxes",
            "type": "BOUNDING_BOX",
            "linkIds": [
              266
            ],
            "pos": [
              -2143.630859375,
              -3390
            ]
          },
          {
            "id": "1ec7ce1a-8257-4719-8a81-60ebc8a98899",
            "name": "positive_coords",
            "type": "STRING",
            "linkIds": [
              267
            ],
            "pos": [
              -2143.630859375,
              -3370
            ]
          },
          {
            "id": "c65f8b87-9bd7-48be-9fc2-823431e95019",
            "name": "negative_coords",
            "type": "STRING",
            "linkIds": [
              268
            ],
            "pos": [
              -2143.630859375,
              -3350
            ]
          },
          {
            "id": "bb4ba35a-ccfe-4c37-98e5-d9b0d69585fb",
            "name": "threshold",
            "type": "FLOAT",
            "linkIds": [
              269
            ],
            "pos": [
              -2143.630859375,
              -3330
            ]
          },
          {
            "id": "b1439668-b050-490b-a5dc-fc4052c55666",
            "name": "refine_iterations",
            "type": "INT",
            "linkIds": [
              270
            ],
            "pos": [
              -2143.630859375,
              -3310
            ]
          },
          {
            "id": "86e239e5-c098-4302-b54d-d42a38bc0f89",
            "name": "individual_masks",
            "type": "BOOLEAN",
            "linkIds": [
              271
            ],
            "pos": [
              -2143.630859375,
              -3290
            ]
          },
          {
            "id": "f9e0b9d4-b2f1-4907-a4a5-305656576706",
            "name": "ckpt_name",
            "type": "COMBO",
            "linkIds": [
              272
            ],
            "pos": [
              -2143.630859375,
              -3270
            ]
          }
        ],
        "outputs": [
          {
            "id": "ff50da09-1e59-4a58-9b7f-be1a00aa5913",
            "name": "masks",
            "type": "MASK",
            "linkIds": [
              231
            ],
            "localized_name": "masks",
            "pos": [
              -1110,
              -3285
            ]
          },
          {
            "id": "8f622e40-8528-4078-b7d3-147e9f872194",
            "name": "bboxes",
            "type": "BOUNDING_BOX",
            "linkIds": [
              232
            ],
            "localized_name": "bboxes",
            "pos": [
              -1110,
              -3265
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 272,
            "type": "SAM3_Detect",
            "pos": [
              -1470,
              -3460
            ],
            "size": [
              270,
              260
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "label": "model",
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 237
              },
              {
                "label": "image",
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 264
              },
              {
                "label": "conditioning",
                "localized_name": "conditioning",
                "name": "conditioning",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 200
              },
              {
                "label": "bboxes",
                "localized_name": "bboxes",
                "name": "bboxes",
                "shape": 7,
                "type": "BOUNDING_BOX",
                "link": 266
              },
              {
                "label": "positive_coords",
                "localized_name": "positive_coords",
                "name": "positive_coords",
                "shape": 7,
                "type": "STRING",
                "link": 267
              },
              {
                "label": "negative_coords",
                "localized_name": "negative_coords",
                "name": "negative_coords",
                "shape": 7,
                "type": "STRING",
                "link": 268
              },
              {
                "localized_name": "threshold",
                "name": "threshold",
                "type": "FLOAT",
                "widget": {
                  "name": "threshold"
                },
                "link": 269
              },
              {
                "localized_name": "refine_iterations",
                "name": "refine_iterations",
                "type": "INT",
                "widget": {
                  "name": "refine_iterations"
                },
                "link": 270
              },
              {
                "localized_name": "individual_masks",
                "name": "individual_masks",
                "type": "BOOLEAN",
                "widget": {
                  "name": "individual_masks"
                },
                "link": 271
              }
            ],
            "outputs": [
              {
                "localized_name": "masks",
                "name": "masks",
                "type": "MASK",
                "links": [
                  231
                ]
              },
              {
                "localized_name": "bboxes",
                "name": "bboxes",
                "type": "BOUNDING_BOX",
                "links": [
                  232
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SAM3_Detect",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              },
              "cnr_id": "comfy-core",
              "ver": "0.19.3",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              0.5,
              2,
              false
            ],
            "widgets_values_named": {
              "threshold": 0.5,
              "refine_iterations": 2,
              "individual_masks": false
            }
          },
          {
            "id": 273,
            "type": "CheckpointLoaderSimple",
            "pos": [
              -1970,
              -3200
            ],
            "size": [
              330,
              140
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "ckpt_name",
                "name": "ckpt_name",
                "type": "COMBO",
                "widget": {
                  "name": "ckpt_name"
                },
                "link": 272
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  237
                ]
              },
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  240
                ]
              },
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "CheckpointLoaderSimple",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              },
              "cnr_id": "comfy-core",
              "ver": "0.19.3",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "models": [
                {
                  "name": "sam3.1_multiplex_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
                  "directory": "checkpoints"
                }
              ]
            },
            "widgets_values": [
              "sam3.1_multiplex_fp16.safetensors"
            ],
            "widgets_values_named": {
              "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
            }
          },
          {
            "id": 274,
            "type": "CLIPTextEncode",
            "pos": [
              -2000,
              -3000
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 240
              },
              {
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 265
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  200
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              },
              "cnr_id": "comfy-core",
              "ver": "0.19.3",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              ""
            ],
            "widgets_values_named": {
              "text": ""
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 237,
            "origin_id": 273,
            "origin_slot": 0,
            "target_id": 272,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 200,
            "origin_id": 274,
            "origin_slot": 0,
            "target_id": 272,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 240,
            "origin_id": 273,
            "origin_slot": 1,
            "target_id": 274,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 231,
            "origin_id": 272,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 232,
            "origin_id": 272,
            "origin_slot": 1,
            "target_id": -20,
            "target_slot": 1,
            "type": "BOUNDING_BOX"
          },
          {
            "id": 264,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 272,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 265,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 274,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 266,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 272,
            "target_slot": 3,
            "type": "BOUNDING_BOX"
          },
          {
            "id": 267,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 272,
            "target_slot": 4,
            "type": "STRING"
          },
          {
            "id": 268,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 272,
            "target_slot": 5,
            "type": "STRING"
          },
          {
            "id": 269,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 272,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 270,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 272,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 271,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 272,
            "target_slot": 8,
            "type": "BOOLEAN"
          },
          {
            "id": 272,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 273,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "extra": {
          "ue_links": []
        }
      },
      {
        "id": "d4d3d423-8143-49e7-9ca1-6896e61ec881",
        "version": 1,
        "state": {
          "lastGroupId": 14,
          "lastNodeId": 345,
          "lastLinkId": 680,
          "lastRerouteId": 8
        },
        "revision": 0,
        "config": {},
        "name": "Image Segmentation (SAM3)",
        "description": "Segments images into masks using Meta SAM3 from text prompts, points, or boxes.",
        "inputNode": {
          "id": -10,
          "bounding": [
            -2260,
            -3450,
            136.369140625,
            220
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            -1130,
            -3305,
            120,
            80
          ]
        },
        "inputs": [
          {
            "id": "a6e75fa2-162a-4af0-a2fd-1e9c899a5ab6",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              264
            ],
            "localized_name": "image",
            "label": "image",
            "pos": [
              -2143.630859375,
              -3430
            ]
          },
          {
            "id": "3cefd304-7631-4ff6-a5a0-5a0ffb120745",
            "name": "text",
            "type": "STRING",
            "linkIds": [
              265
            ],
            "label": "object",
            "pos": [
              -2143.630859375,
              -3410
            ]
          },
          {
            "id": "1aec91c5-d8d2-441c-928c-49c14e7e80ed",
            "name": "bboxes",
            "type": "BOUNDING_BOX",
            "linkIds": [
              266
            ],
            "pos": [
              -2143.630859375,
              -3390
            ]
          },
          {
            "id": "1ec7ce1a-8257-4719-8a81-60ebc8a98899",
            "name": "positive_coords",
            "type": "STRING",
            "linkIds": [
              267
            ],
            "pos": [
              -2143.630859375,
              -3370
            ]
          },
          {
            "id": "c65f8b87-9bd7-48be-9fc2-823431e95019",
            "name": "negative_coords",
            "type": "STRING",
            "linkIds": [
              268
            ],
            "pos": [
              -2143.630859375,
              -3350
            ]
          },
          {
            "id": "bb4ba35a-ccfe-4c37-98e5-d9b0d69585fb",
            "name": "threshold",
            "type": "FLOAT",
            "linkIds": [
              269
            ],
            "pos": [
              -2143.630859375,
              -3330
            ]
          },
          {
            "id": "b1439668-b050-490b-a5dc-fc4052c55666",
            "name": "refine_iterations",
            "type": "INT",
            "linkIds": [
              270
            ],
            "pos": [
              -2143.630859375,
              -3310
            ]
          },
          {
            "id": "86e239e5-c098-4302-b54d-d42a38bc0f89",
            "name": "individual_masks",
            "type": "BOOLEAN",
            "linkIds": [
              271
            ],
            "pos": [
              -2143.630859375,
              -3290
            ]
          },
          {
            "id": "f9e0b9d4-b2f1-4907-a4a5-305656576706",
            "name": "ckpt_name",
            "type": "COMBO",
            "linkIds": [
              272
            ],
            "pos": [
              -2143.630859375,
              -3270
            ]
          }
        ],
        "outputs": [
          {
            "id": "ff50da09-1e59-4a58-9b7f-be1a00aa5913",
            "name": "masks",
            "type": "MASK",
            "linkIds": [
              231
            ],
            "localized_name": "masks",
            "pos": [
              -1110,
              -3285
            ]
          },
          {
            "id": "8f622e40-8528-4078-b7d3-147e9f872194",
            "name": "bboxes",
            "type": "BOUNDING_BOX",
            "linkIds": [
              232
            ],
            "localized_name": "bboxes",
            "pos": [
              -1110,
              -3265
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 321,
            "type": "SAM3_Detect",
            "pos": [
              -1470,
              -3460
            ],
            "size": [
              270,
              260
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "label": "model",
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 237
              },
              {
                "label": "image",
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 264
              },
              {
                "label": "conditioning",
                "localized_name": "conditioning",
                "name": "conditioning",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 200
              },
              {
                "label": "bboxes",
                "localized_name": "bboxes",
                "name": "bboxes",
                "shape": 7,
                "type": "BOUNDING_BOX",
                "link": 266
              },
              {
                "label": "positive_coords",
                "localized_name": "positive_coords",
                "name": "positive_coords",
                "shape": 7,
                "type": "STRING",
                "link": 267
              },
              {
                "label": "negative_coords",
                "localized_name": "negative_coords",
                "name": "negative_coords",
                "shape": 7,
                "type": "STRING",
                "link": 268
              },
              {
                "localized_name": "threshold",
                "name": "threshold",
                "type": "FLOAT",
                "widget": {
                  "name": "threshold"
                },
                "link": 269
              },
              {
                "localized_name": "refine_iterations",
                "name": "refine_iterations",
                "type": "INT",
                "widget": {
                  "name": "refine_iterations"
                },
                "link": 270
              },
              {
                "localized_name": "individual_masks",
                "name": "individual_masks",
                "type": "BOOLEAN",
                "widget": {
                  "name": "individual_masks"
                },
                "link": 271
              }
            ],
            "outputs": [
              {
                "localized_name": "masks",
                "name": "masks",
                "type": "MASK",
                "links": [
                  231
                ]
              },
              {
                "localized_name": "bboxes",
                "name": "bboxes",
                "type": "BOUNDING_BOX",
                "links": [
                  232
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "SAM3_Detect",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              },
              "cnr_id": "comfy-core",
              "ver": "0.19.3",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              0.5,
              2,
              false
            ],
            "widgets_values_named": {
              "threshold": 0.5,
              "refine_iterations": 2,
              "individual_masks": false
            }
          },
          {
            "id": 322,
            "type": "CheckpointLoaderSimple",
            "pos": [
              -1970,
              -3200
            ],
            "size": [
              330,
              140
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "ckpt_name",
                "name": "ckpt_name",
                "type": "COMBO",
                "widget": {
                  "name": "ckpt_name"
                },
                "link": 272
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  237
                ]
              },
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  240
                ]
              },
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "CheckpointLoaderSimple",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              },
              "cnr_id": "comfy-core",
              "ver": "0.19.3",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "models": [
                {
                  "name": "sam3.1_multiplex_fp16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
                  "directory": "checkpoints"
                }
              ]
            },
            "widgets_values": [
              "sam3.1_multiplex_fp16.safetensors"
            ],
            "widgets_values_named": {
              "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
            }
          },
          {
            "id": 323,
            "type": "CLIPTextEncode",
            "pos": [
              -2000,
              -3000
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 240
              },
              {
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 265
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  200
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode",
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              },
              "cnr_id": "comfy-core",
              "ver": "0.19.3",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": [
              ""
            ],
            "widgets_values_named": {
              "text": ""
            }
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 237,
            "origin_id": 322,
            "origin_slot": 0,
            "target_id": 321,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 200,
            "origin_id": 323,
            "origin_slot": 0,
            "target_id": 321,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 240,
            "origin_id": 322,
            "origin_slot": 1,
            "target_id": 323,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 231,
            "origin_id": 321,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 232,
            "origin_id": 321,
            "origin_slot": 1,
            "target_id": -20,
            "target_slot": 1,
            "type": "BOUNDING_BOX"
          },
          {
            "id": 264,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 321,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 265,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 323,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 266,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 321,
            "target_slot": 3,
            "type": "BOUNDING_BOX"
          },
          {
            "id": 267,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 321,
            "target_slot": 4,
            "type": "STRING"
          },
          {
            "id": 268,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 321,
            "target_slot": 5,
            "type": "STRING"
          },
          {
            "id": 269,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 321,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 270,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 321,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 271,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 321,
            "target_slot": 8,
            "type": "BOOLEAN"
          },
          {
            "id": 272,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 322,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "extra": {
          "ue_links": []
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6303940863128502,
      "offset": [
        -1399.7925776686284,
        877.0970379592868
      ]
    },
    "reroutes": [
      {
        "id": 1,
        "pos": [
          324.7281534397564,
          398.351368322306
        ],
        "linkIds": [
          607
        ]
      },
      {
        "id": 2,
        "pos": [
          -786.860377848272,
          131.1264617886718
        ],
        "linkIds": [
          621
        ]
      },
      {
        "id": 3,
        "parentId": 2,
        "pos": [
          1162.1013330072221,
          140.0511453885281
        ],
        "linkIds": [
          621
        ]
      },
      {
        "id": 4,
        "pos": [
          330.6286683088661,
          1548.0533908376303
        ],
        "linkIds": [
          643
        ]
      },
      {
        "id": 5,
        "parentId": 6,
        "pos": [
          1168.0018478763325,
          1289.7531679038525
        ],
        "linkIds": [
          621
        ]
      },
      {
        "id": 6,
        "pos": [
          -709.1730220449648,
          1280.8284843039962
        ],
        "linkIds": [
          621
        ]
      },
      {
        "id": 7,
        "pos": [
          -768.3234278927594,
          1275.2983535810708
        ],
        "linkIds": [
          654
        ]
      },
      {
        "id": 8,
        "parentId": 7,
        "pos": [
          1180.5849855146632,
          1299.6595978083471
        ],
        "linkIds": [
          654
        ]
      }
    ],
    "linkExtensions": [
      {
        "id": 607,
        "parentId": 1
      },
      {
        "id": 621,
        "parentId": 3
      },
      {
        "id": 643,
        "parentId": 4
      },
      {
        "id": 654,
        "parentId": 8
      }
    ],
    "frontendVersion": "1.52.7"
  },
  "version": 0.4
}