{
  "id": "1d1c25e1-1a70-4627-84ae-b2a3de839ce6",
  "revision": 0,
  "last_node_id": 16,
  "last_link_id": 26,
  "nodes": [
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [
        113.8215216222734,
        276.32691264183313
      ],
      "size": [
        281.890625,
        102
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            3,
            21
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1,
            2,
            20
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            8,
            18
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sdxl\\animagine-xl-4.0.safetensors"
      ]
    },
    {
      "id": 2,
      "type": "CLIPTextEncode",
      "pos": [
        570.6799831607349,
        257.89768187260245
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            4,
            22
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "masterpiece, high score, great score, absurdres, romantic atmosphere, 1girl, solo, full body, standing, brown long hair, blush, gentle smile, waving hand, white winter coat, red scarf, falling snow, night city street, warm street lights"
      ]
    },
    {
      "id": 3,
      "type": "CLIPTextEncode",
      "pos": [
        570.6799831607349,
        520.9746049495257
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            5,
            23
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "lowres, bad anatomy, bad hands, text, error, missing finger, extra digits, fewer digits, cropped, worst quality, low quality, low score, bad score, average score, signature, watermark, username, blurry"
      ]
    },
    {
      "id": 4,
      "type": "EmptyLatentImage",
      "pos": [
        150.67998316073488,
        517.8976818726024
      ],
      "size": [
        270,
        118
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        896,
        1152,
        1
      ]
    },
    {
      "id": 5,
      "type": "KSampler",
      "pos": [
        1050.679983160735,
        257.89768187260245
      ],
      "size": [
        270,
        510
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 3
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 4
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 5
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 6
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        848325768,
        "fixed",
        28,
        7,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 6,
      "type": "VAEDecode",
      "pos": [
        1450.679983160735,
        257.89768187260245
      ],
      "size": [
        225,
        54
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9,
            13,
            17
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 7,
      "type": "SaveImage",
      "pos": [
        1450.679983160735,
        397.89768187260245
      ],
      "size": [
        313.46875,
        302
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {},
      "widgets_values": [
        "%date:yyyyMMdd%/ComfyUI"
      ]
    },
    {
      "id": 8,
      "type": "CheckpointLoaderSimple",
      "pos": [
        140.57696418872226,
        872.9952739874731
      ],
      "size": [
        379.75,
        102
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            11
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            10
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sam3\\sam3.1_multiplex_fp16.safetensors"
      ]
    },
    {
      "id": 9,
      "type": "CLIPTextEncode",
      "pos": [
        141.8182997120833,
        1017.1592145476083
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            12
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "face, hand"
      ]
    },
    {
      "id": 10,
      "type": "SAM3_Detect",
      "pos": [
        586.5487826240615,
        873.6184821753819
      ],
      "size": [
        270,
        218
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "label": "model",
          "name": "model",
          "type": "MODEL",
          "link": 11
        },
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 13
        },
        {
          "label": "conditioning",
          "name": "conditioning",
          "shape": 7,
          "type": "CONDITIONING",
          "link": 12
        },
        {
          "label": "bboxes",
          "name": "bboxes",
          "shape": 7,
          "type": "BOUNDING_BOX",
          "link": null
        },
        {
          "label": "positive_coords",
          "name": "positive_coords",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "label": "negative_coords",
          "name": "negative_coords",
          "shape": 7,
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            14
          ]
        },
        {
          "name": "bboxes",
          "type": "BOUNDING_BOX",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SAM3_Detect"
      },
      "widgets_values": [
        0.5,
        2,
        false
      ]
    },
    {
      "id": 11,
      "type": "GrowMask",
      "pos": [
        886.4837549244801,
        873.6608919372189
      ],
      "size": [
        272,
        86
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 14
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            15,
            25
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMask"
      },
      "widgets_values": [
        12,
        true
      ]
    },
    {
      "id": 12,
      "type": "MaskToSEGS",
      "pos": [
        887.4837549244802,
        1011.0293728174394
      ],
      "size": [
        270,
        222
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "SEGS",
          "type": "SEGS",
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MaskToSEGS"
      },
      "widgets_values": [
        false,
        3,
        false,
        10,
        false
      ]
    },
    {
      "id": 13,
      "type": "DetailerForEach",
      "pos": [
        1190.3786519944938,
        866.5556256847941
      ],
      "size": [
        400,
        1058
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 17
        },
        {
          "name": "segs",
          "type": "SEGS",
          "link": 16
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 21
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 20
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 18
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 22
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 23
        },
        {
          "name": "detailer_hook",
          "shape": 7,
          "type": "DETAILER_HOOK",
          "link": null
        },
        {
          "name": "scheduler_func_opt",
          "shape": 7,
          "type": "SCHEDULER_FUNC",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            24
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DetailerForEach"
      },
      "widgets_values": [
        512,
        true,
        1024,
        848325768,
        "fixed",
        28,
        7,
        "euler",
        "normal",
        0.5,
        5,
        true,
        true,
        "",
        1,
        false,
        20,
        false,
        false
      ]
    },
    {
      "id": 14,
      "type": "SaveImage",
      "pos": [
        1618.8162732018313,
        866.9364442717035
      ],
      "size": [
        388.921875,
        302
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 24
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "%date:yyyyMMdd%/detailer"
      ]
    },
    {
      "id": 15,
      "type": "MaskToImage",
      "pos": [
        889.2259356456802,
        1292.9839982476774
      ],
      "size": [
        225,
        34
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 25
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            26
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MaskToImage"
      },
      "widgets_values": []
    },
    {
      "id": 16,
      "type": "PreviewImage",
      "pos": [
        893.5785634802464,
        1382.7787741977688
      ],
      "size": [
        225,
        266
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 26
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      1,
      1,
      1,
      2,
      0,
      "CLIP"
    ],
    [
      2,
      1,
      1,
      3,
      0,
      "CLIP"
    ],
    [
      3,
      1,
      0,
      5,
      0,
      "MODEL"
    ],
    [
      4,
      2,
      0,
      5,
      1,
      "CONDITIONING"
    ],
    [
      5,
      3,
      0,
      5,
      2,
      "CONDITIONING"
    ],
    [
      6,
      4,
      0,
      5,
      3,
      "LATENT"
    ],
    [
      7,
      5,
      0,
      6,
      0,
      "LATENT"
    ],
    [
      8,
      1,
      2,
      6,
      1,
      "VAE"
    ],
    [
      9,
      6,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      10,
      8,
      1,
      9,
      0,
      "CLIP"
    ],
    [
      11,
      8,
      0,
      10,
      0,
      "MODEL"
    ],
    [
      12,
      9,
      0,
      10,
      2,
      "CONDITIONING"
    ],
    [
      13,
      6,
      0,
      10,
      1,
      "IMAGE"
    ],
    [
      14,
      10,
      0,
      11,
      0,
      "MASK"
    ],
    [
      15,
      11,
      0,
      12,
      0,
      "MASK"
    ],
    [
      16,
      12,
      0,
      13,
      1,
      "SEGS"
    ],
    [
      17,
      6,
      0,
      13,
      0,
      "IMAGE"
    ],
    [
      18,
      1,
      2,
      13,
      4,
      "VAE"
    ],
    [
      20,
      1,
      1,
      13,
      3,
      "CLIP"
    ],
    [
      21,
      1,
      0,
      13,
      2,
      "MODEL"
    ],
    [
      22,
      2,
      0,
      13,
      5,
      "CONDITIONING"
    ],
    [
      23,
      3,
      0,
      13,
      6,
      "CONDITIONING"
    ],
    [
      24,
      13,
      0,
      14,
      0,
      "IMAGE"
    ],
    [
      25,
      11,
      0,
      15,
      0,
      "MASK"
    ],
    [
      26,
      15,
      0,
      16,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.7150000000000016,
      "offset": [
        472.0524812485352,
        -461.41156753652785
      ]
    },
    "frontendVersion": "1.47.11"
  },
  "version": 0.4
}