{
  "id": "9a7f06ed-7342-47fb-a9dc-c3b74e6a8fec",
  "revision": 0,
  "last_node_id": 28,
  "last_link_id": 73,
  "nodes": [
    {
      "id": 7,
      "type": "SaveImage",
      "pos": [
        121.11474972234562,
        618.1094187555492
      ],
      "size": [
        405.828125,
        296.46875
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 50
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "%date:yyyyMMdd%/ComfyUI"
      ]
    },
    {
      "id": 14,
      "type": "SaveImage",
      "pos": [
        569.9855082173735,
        461.78408064543527
      ],
      "size": [
        375.828125,
        305.9375
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 60
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "%date:yyyyMMdd%/hires"
      ]
    },
    {
      "id": 23,
      "type": "SaveImage",
      "pos": [
        985.1021285295291,
        624.3737641441242
      ],
      "size": [
        400.671875,
        307.25
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 70
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "%date:yyyyMMdd%/detailer"
      ]
    },
    {
      "id": 25,
      "type": "5470ef47-adb3-4421-b26e-5442502f106a",
      "pos": [
        0.029435252951657276,
        241.11568146354014
      ],
      "size": [
        526.5625,
        322
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            57,
            66
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            67
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            56,
            68
          ]
        },
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            58
          ]
        },
        {
          "name": "CONDITIONING_1",
          "type": "CONDITIONING",
          "links": [
            59,
            69
          ]
        },
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            50,
            55
          ]
        }
      ],
      "properties": {
        "previewExposures": [
          {
            "name": "$$canvas-image-preview",
            "sourceNodeId": "5",
            "sourcePreviewName": "$$canvas-image-preview"
          }
        ]
      },
      "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",
        "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",
        848325768
      ]
    },
    {
      "id": 26,
      "type": "32e38501-8cac-45df-af2b-afdd3b41d405",
      "pos": [
        567.8414114184307,
        242.51974762110103
      ],
      "size": [
        336.15625,
        170.328125
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 55
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 56
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 57
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 58
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 59
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            60,
            65
          ]
        }
      ],
      "properties": {
        "previewExposures": [
          {
            "name": "$$canvas-image-preview",
            "sourceNodeId": "12",
            "sourcePreviewName": "$$canvas-image-preview"
          }
        ]
      },
      "widgets_values": [
        848325768
      ]
    },
    {
      "id": 28,
      "type": "37770636-9496-44d5-80b7-d24cfc66fed7",
      "pos": [
        981.7999768826218,
        242.82147096435205
      ],
      "size": [
        402.578125,
        338.765625
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 65
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 66
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 67
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 68
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 69
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            70
          ]
        }
      ],
      "title": "Detailer",
      "properties": {
        "previewExposures": [
          {
            "name": "$$canvas-image-preview",
            "sourceNodeId": "27",
            "sourcePreviewName": "$$canvas-image-preview"
          }
        ]
      },
      "widgets_values": [
        "face, hands",
        312361122204666,
        "masterpiece, high score, great score, absurdres, black leather jacket, silver zipper, red scarf, falling snow, night city street"
      ]
    }
  ],
  "links": [
    [
      50,
      25,
      5,
      7,
      0,
      "IMAGE"
    ],
    [
      55,
      25,
      5,
      26,
      0,
      "IMAGE"
    ],
    [
      56,
      25,
      2,
      26,
      1,
      "VAE"
    ],
    [
      57,
      25,
      0,
      26,
      2,
      "MODEL"
    ],
    [
      58,
      25,
      3,
      26,
      3,
      "CONDITIONING"
    ],
    [
      59,
      25,
      4,
      26,
      4,
      "CONDITIONING"
    ],
    [
      60,
      26,
      0,
      14,
      0,
      "IMAGE"
    ],
    [
      65,
      26,
      0,
      28,
      0,
      "IMAGE"
    ],
    [
      66,
      25,
      0,
      28,
      1,
      "MODEL"
    ],
    [
      67,
      25,
      1,
      28,
      2,
      "CLIP"
    ],
    [
      68,
      25,
      2,
      28,
      3,
      "VAE"
    ],
    [
      69,
      25,
      4,
      28,
      4,
      "CONDITIONING"
    ],
    [
      70,
      28,
      0,
      23,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "5470ef47-adb3-4421-b26e-5442502f106a",
        "version": 1,
        "state": {
          "lastGroupId": 0,
          "lastNodeId": 28,
          "lastLinkId": 73,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "画像生成",
        "inputNode": {
          "id": -10,
          "bounding": [
            -98.68285583687542,
            188.40801647638614,
            128,
            48
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1434.7370398196845,
            128.40801647638614,
            128,
            168
          ]
        },
        "inputs": [
          {
            "id": "37f9260c-3f90-4f3b-8300-25b7e7bc0231",
            "name": "text",
            "type": "STRING",
            "linkIds": [
              52
            ],
            "pos": [
              0,
              0
            ]
          },
          {
            "id": "8c45151d-dbb3-40cf-ac64-fdaa208e2520",
            "name": "text_1",
            "type": "STRING",
            "linkIds": [
              53
            ],
            "pos": [
              0,
              0
            ]
          },
          {
            "id": "243cbfe5-f4d9-4636-acdd-f7afc225b0eb",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              54
            ],
            "pos": [
              0,
              0
            ]
          }
        ],
        "outputs": [
          {
            "id": "8fd99a58-fe9e-4a8b-86db-6f73e279d72e",
            "name": "MODEL",
            "type": "MODEL",
            "linkIds": [
              16,
              16
            ],
            "localized_name": "モデル",
            "pos": [
              24,
              24
            ]
          },
          {
            "id": "7d47d4c9-8add-4951-8ffa-53617f3a0028",
            "name": "CLIP",
            "type": "CLIP",
            "linkIds": [
              33,
              33
            ],
            "localized_name": "CLIP",
            "pos": [
              24,
              44
            ]
          },
          {
            "id": "41672c69-5655-4df3-ac9c-15982a0a375f",
            "name": "VAE",
            "type": "VAE",
            "linkIds": [
              14,
              14,
              14
            ],
            "localized_name": "VAE",
            "pos": [
              24,
              64
            ]
          },
          {
            "id": "95399c52-34b3-46b9-8323-3a3e48f35bc9",
            "name": "CONDITIONING",
            "type": "CONDITIONING",
            "linkIds": [
              17
            ],
            "localized_name": "条件付け",
            "pos": [
              24,
              84
            ]
          },
          {
            "id": "99d23f7a-d951-4970-839c-36ff59f98d01",
            "name": "CONDITIONING_1",
            "type": "CONDITIONING",
            "linkIds": [
              18,
              18
            ],
            "localized_name": "条件付け_1",
            "pos": [
              24,
              104
            ]
          },
          {
            "id": "0de6770c-5245-4997-85c5-444bbae2ad16",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              9,
              9
            ],
            "localized_name": "画像",
            "pos": [
              24,
              124
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 1,
            "type": "CheckpointLoaderSimple",
            "pos": [
              89.31714416312458,
              4.203159725323502
            ],
            "size": [
              281.890625,
              102
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "モデル",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  1,
                  16
                ]
              },
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  2,
                  3,
                  33
                ]
              },
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  8,
                  14
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CheckpointLoaderSimple"
            },
            "widgets_values": [
              "sdxl\\animagine-xl-4.0.safetensors"
            ]
          },
          {
            "id": 2,
            "type": "CLIPTextEncode",
            "pos": [
              420,
              0
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "クリップ",
                "name": "clip",
                "type": "CLIP",
                "link": 2
              },
              {
                "localized_name": "テキスト",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 52
              }
            ],
            "outputs": [
              {
                "localized_name": "条件付け",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  4,
                  17
                ]
              }
            ],
            "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": [
              421.0507899313309,
              254.81603295277225
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "クリップ",
                "name": "clip",
                "type": "CLIP",
                "link": 3
              },
              {
                "localized_name": "テキスト",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 53
              }
            ],
            "outputs": [
              {
                "localized_name": "条件付け",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  5,
                  18
                ]
              }
            ],
            "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": [
              98.77425354510247,
              166.47969611155193
            ],
            "size": [
              270,
              118
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "潜在",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  6
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "EmptyLatentImage"
            },
            "widgets_values": [
              896,
              1152,
              1
            ]
          },
          {
            "id": 5,
            "type": "KSampler",
            "pos": [
              855.8668228841032,
              5.253949656654385
            ],
            "size": [
              270,
              262
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "モデル",
                "name": "model",
                "type": "MODEL",
                "link": 1
              },
              {
                "localized_name": "ポジティブ",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 4
              },
              {
                "localized_name": "ネガティブ",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 5
              },
              {
                "localized_name": "潜在画像",
                "name": "latent_image",
                "type": "LATENT",
                "link": 6
              },
              {
                "localized_name": "シード",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 54
              }
            ],
            "outputs": [
              {
                "localized_name": "潜在",
                "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": [
              1149.7370398196845,
              6.304739587985267
            ],
            "size": [
              225,
              54
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "サンプル",
                "name": "samples",
                "type": "LATENT",
                "link": 7
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 8
              }
            ],
            "outputs": [
              {
                "localized_name": "画像",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  9
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode"
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 2,
            "origin_id": 1,
            "origin_slot": 1,
            "target_id": 2,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 1,
            "target_id": 3,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 1,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 4,
            "origin_id": 2,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 5,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 6,
            "origin_id": 4,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 7,
            "origin_id": 5,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 2,
            "target_id": 6,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 16,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 33,
            "origin_id": 1,
            "origin_slot": 1,
            "target_id": -20,
            "target_slot": 1,
            "type": "CLIP"
          },
          {
            "id": 14,
            "origin_id": 1,
            "origin_slot": 2,
            "target_id": -20,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 17,
            "origin_id": 2,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "CONDITIONING"
          },
          {
            "id": 18,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "type": "CONDITIONING"
          },
          {
            "id": 9,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 5,
            "type": "IMAGE"
          },
          {
            "id": 52,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 53,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 3,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 54,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 5,
            "target_slot": 4,
            "type": "INT"
          }
        ],
        "extra": {}
      },
      {
        "id": "32e38501-8cac-45df-af2b-afdd3b41d405",
        "version": 1,
        "state": {
          "lastGroupId": 0,
          "lastNodeId": 28,
          "lastLinkId": 73,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Hires.fix",
        "inputNode": {
          "id": -10,
          "bounding": [
            67.40274281356284,
            750.8289320504955,
            128,
            148
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1437.0970775317537,
            790.8289320504955,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "1452bb34-f1f7-4300-a683-4d2b03f1e64d",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              51
            ],
            "localized_name": "画像",
            "pos": [
              51,
              24
            ]
          },
          {
            "id": "1735a1dd-8d57-43aa-b97d-ed3a0771126a",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              44,
              45
            ],
            "localized_name": "vae",
            "pos": [
              51,
              44
            ]
          },
          {
            "id": "3b3b0872-928d-4922-88be-5e08c1606e2d",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              40
            ],
            "localized_name": "モデル",
            "pos": [
              51,
              64
            ]
          },
          {
            "id": "d4c7b9b7-28f4-4ff1-a510-ddfadd58b945",
            "name": "positive",
            "type": "CONDITIONING",
            "linkIds": [
              47
            ],
            "localized_name": "ポジティブ",
            "pos": [
              51,
              84
            ]
          },
          {
            "id": "0ee88b7f-5020-4adb-9452-704edc7e68ad",
            "name": "negative",
            "type": "CONDITIONING",
            "linkIds": [
              48
            ],
            "localized_name": "ネガティブ",
            "pos": [
              51,
              104
            ]
          },
          {
            "id": "7d049144-7a16-4e78-8e6c-7ea568a119f2",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              63
            ],
            "pos": [
              0,
              0
            ]
          }
        ],
        "outputs": [
          {
            "id": "b862d00f-a796-4a49-88d4-d37c6d19c30d",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              21,
              21,
              21
            ],
            "localized_name": "画像",
            "pos": [
              24,
              24
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 8,
            "type": "UpscaleModelLoader",
            "pos": [
              255.40274281356284,
              625.5578971574525
            ],
            "size": [
              270,
              62
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "アップスケールモデル",
                "name": "UPSCALE_MODEL",
                "type": "UPSCALE_MODEL",
                "links": [
                  11
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "UpscaleModelLoader"
            },
            "widgets_values": [
              "RealESRGAN\\RealESRGAN_x4plus_anime_6B.pth"
            ]
          },
          {
            "id": 9,
            "type": "ImageUpscaleWithModel",
            "pos": [
              298.42099968072495,
              737.3237353081005
            ],
            "size": [
              225,
              54
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "拡大モデル",
                "name": "upscale_model",
                "type": "UPSCALE_MODEL",
                "link": 11
              },
              {
                "localized_name": "画像",
                "name": "image",
                "type": "IMAGE",
                "link": 51
              }
            ],
            "outputs": [
              {
                "localized_name": "画像",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  12
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageUpscaleWithModel"
            },
            "widgets_values": []
          },
          {
            "id": 10,
            "type": "ImageScale",
            "pos": [
              561.1314923349,
              620.868421430852
            ],
            "size": [
              270,
              146
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "画像",
                "name": "image",
                "type": "IMAGE",
                "link": 12
              }
            ],
            "outputs": [
              {
                "localized_name": "画像",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  13
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ImageScale"
            },
            "widgets_values": [
              "lanczos",
              1344,
              1728,
              "disabled"
            ]
          },
          {
            "id": 11,
            "type": "VAEEncode",
            "pos": [
              567.7445050308307,
              814.8737690831808
            ],
            "size": [
              225,
              54
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "ピクセル",
                "name": "pixels",
                "type": "IMAGE",
                "link": 13
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 44
              }
            ],
            "outputs": [
              {
                "localized_name": "潜在",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  15
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEEncode"
            },
            "widgets_values": []
          },
          {
            "id": 12,
            "type": "KSampler",
            "pos": [
              854.19713070954,
              584.8289320504955
            ],
            "size": [
              270,
              510
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "モデル",
                "name": "model",
                "type": "MODEL",
                "link": 40
              },
              {
                "localized_name": "ポジティブ",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 47
              },
              {
                "localized_name": "ネガティブ",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 48
              },
              {
                "localized_name": "潜在画像",
                "name": "latent_image",
                "type": "LATENT",
                "link": 15
              },
              {
                "localized_name": "シード",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 63
              }
            ],
            "outputs": [
              {
                "localized_name": "潜在",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  19
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "KSampler"
            },
            "widgets_values": [
              848325768,
              "fixed",
              28,
              7,
              "euler",
              "normal",
              0.45
            ]
          },
          {
            "id": 13,
            "type": "VAEDecode",
            "pos": [
              1152.0970775317537,
              586.9131434845401
            ],
            "size": [
              225,
              54
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "サンプル",
                "name": "samples",
                "type": "LATENT",
                "link": 19
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 45
              }
            ],
            "outputs": [
              {
                "localized_name": "画像",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  21
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "VAEDecode"
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 11,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "UPSCALE_MODEL"
          },
          {
            "id": 12,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 13,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 19,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 51,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 44,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 11,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 45,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 13,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 40,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 12,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 47,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 12,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 48,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 12,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 21,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 63,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 12,
            "target_slot": 4,
            "type": "INT"
          }
        ],
        "extra": {}
      },
      {
        "id": "37770636-9496-44d5-80b7-d24cfc66fed7",
        "version": 1,
        "state": {
          "lastGroupId": 0,
          "lastNodeId": 28,
          "lastLinkId": 73,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Detailer",
        "inputNode": {
          "id": -10,
          "bounding": [
            183.27145581691036,
            1452.0075395914414,
            128,
            208
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            2149.597074600831,
            1492.0075395914414,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "cd38c41f-ecc7-4700-a262-e75668943570",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              61,
              62
            ],
            "localized_name": "image",
            "label": "image",
            "pos": [
              287.27145581691036,
              1476.0075395914414
            ]
          },
          {
            "id": "073f0cfe-122e-4a0c-b2a3-58c0673aa0b3",
            "name": "model",
            "type": "MODEL",
            "linkIds": [
              41
            ],
            "localized_name": "model",
            "pos": [
              287.27145581691036,
              1496.0075395914414
            ]
          },
          {
            "id": "e8d0dac8-d026-4442-a6cb-255b8a6b83e3",
            "name": "clip",
            "type": "CLIP",
            "linkIds": [
              42,
              43
            ],
            "localized_name": "clip",
            "pos": [
              287.27145581691036,
              1516.0075395914414
            ]
          },
          {
            "id": "acb61d62-dfed-4634-a60c-f98fd670b3c0",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              46
            ],
            "localized_name": "vae",
            "pos": [
              287.27145581691036,
              1536.0075395914414
            ]
          },
          {
            "id": "b69911a1-44a1-4bcb-9fe2-1d41a83c7a16",
            "name": "negative",
            "type": "CONDITIONING",
            "linkIds": [
              49
            ],
            "localized_name": "negative",
            "pos": [
              287.27145581691036,
              1556.0075395914414
            ]
          },
          {
            "id": "b902b2e1-0270-4095-855c-a4cedbd0b076",
            "name": "text",
            "type": "STRING",
            "linkIds": [
              71
            ],
            "pos": [
              287.27145581691036,
              1576.0075395914414
            ]
          },
          {
            "id": "bdf861ec-f461-4841-b0be-f0ddb10e731d",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              72
            ],
            "pos": [
              287.27145581691036,
              1596.0075395914414
            ]
          },
          {
            "id": "bb3aa29a-e276-405b-a14e-c14c29296579",
            "name": "text_1",
            "type": "STRING",
            "linkIds": [
              73
            ],
            "pos": [
              287.27145581691036,
              1616.0075395914414
            ]
          }
        ],
        "outputs": [
          {
            "id": "d6c89374-4458-4634-be22-c14f7c789454",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              37
            ],
            "localized_name": "画像",
            "pos": [
              2173.597074600831,
              1516.0075395914414
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 15,
            "type": "CheckpointLoaderSimple",
            "pos": [
              371.9376040938773,
              1180.1122243646662
            ],
            "size": [
              281.890625,
              102
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
              {
                "localized_name": "モデル",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  23
                ]
              },
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  22
                ]
              },
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "CheckpointLoaderSimple"
            },
            "widgets_values": [
              "sam3\\sam3.1_multiplex_fp16.safetensors"
            ]
          },
          {
            "id": 16,
            "type": "CLIPTextEncode",
            "pos": [
              371.27145581691036,
              1329.8601398601397
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "クリップ",
                "name": "clip",
                "type": "CLIP",
                "link": 22
              },
              {
                "localized_name": "テキスト",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 71
              }
            ],
            "outputs": [
              {
                "localized_name": "条件付け",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  25
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
              "white coat"
            ]
          },
          {
            "id": 17,
            "type": "SAM3_Detect",
            "pos": [
              800.9345725649257,
              1179.5216804232582
            ],
            "size": [
              270,
              218
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "label": "model",
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 23
              },
              {
                "label": "image",
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 61
              },
              {
                "label": "conditioning",
                "localized_name": "conditioning",
                "name": "conditioning",
                "shape": 7,
                "type": "CONDITIONING",
                "link": 25
              },
              {
                "label": "bboxes",
                "localized_name": "bboxes",
                "name": "bboxes",
                "shape": 7,
                "type": "BOUNDING_BOX",
                "link": null
              },
              {
                "label": "positive_coords",
                "localized_name": "positive_coords",
                "name": "positive_coords",
                "shape": 7,
                "type": "STRING",
                "link": null
              },
              {
                "label": "negative_coords",
                "localized_name": "negative_coords",
                "name": "negative_coords",
                "shape": 7,
                "type": "STRING",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "masks",
                "name": "masks",
                "type": "MASK",
                "links": [
                  26
                ]
              },
              {
                "localized_name": "bboxes",
                "name": "bboxes",
                "type": "BOUNDING_BOX",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "SAM3_Detect"
            },
            "widgets_values": [
              0.5,
              2,
              false
            ]
          },
          {
            "id": 18,
            "type": "GrowMask",
            "pos": [
              1096.1646167506424,
              1179.1665134264683
            ],
            "size": [
              272,
              86
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "マスク",
                "name": "mask",
                "type": "MASK",
                "link": 26
              }
            ],
            "outputs": [
              {
                "localized_name": "マスク",
                "name": "MASK",
                "type": "MASK",
                "links": [
                  27,
                  29
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "GrowMask"
            },
            "widgets_values": [
              12,
              true
            ]
          },
          {
            "id": 19,
            "type": "MaskToImage",
            "pos": [
              1101.4185664072968,
              1314.998345005858
            ],
            "size": [
              225,
              34
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "マスク",
                "name": "mask",
                "type": "MASK",
                "link": 27
              }
            ],
            "outputs": [
              {
                "localized_name": "画像",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  64
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MaskToImage"
            },
            "widgets_values": []
          },
          {
            "id": 21,
            "type": "MaskToSEGS",
            "pos": [
              1394.0630368879806,
              1158.1507147998507
            ],
            "size": [
              270,
              222
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK",
                "link": 29
              }
            ],
            "outputs": [
              {
                "localized_name": "SEGS",
                "name": "SEGS",
                "type": "SEGS",
                "links": [
                  30
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "MaskToSEGS"
            },
            "widgets_values": [
              false,
              3,
              false,
              10,
              false
            ]
          },
          {
            "id": 22,
            "type": "DetailerForEach",
            "pos": [
              1689.597074600831,
              1104.2031597253235
            ],
            "size": [
              400,
              1058
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 62
              },
              {
                "localized_name": "segs",
                "name": "segs",
                "type": "SEGS",
                "link": 30
              },
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 41
              },
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 42
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 46
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 39
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 49
              },
              {
                "localized_name": "detailer_hook",
                "name": "detailer_hook",
                "shape": 7,
                "type": "DETAILER_HOOK",
                "link": null
              },
              {
                "localized_name": "scheduler_func_opt",
                "name": "scheduler_func_opt",
                "shape": 7,
                "type": "SCHEDULER_FUNC",
                "link": null
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 72
              }
            ],
            "outputs": [
              {
                "localized_name": "画像",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  37
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "DetailerForEach"
            },
            "widgets_values": [
              512,
              true,
              1024,
              312361122204666,
              "randomize",
              28,
              7,
              "euler",
              "normal",
              0.45,
              5,
              true,
              true,
              "",
              1,
              false,
              20,
              false,
              false
            ]
          },
          {
            "id": 24,
            "type": "CLIPTextEncode",
            "pos": [
              714.6371277169592,
              919.8119194575589
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "クリップ",
                "name": "clip",
                "type": "CLIP",
                "link": 43
              },
              {
                "localized_name": "テキスト",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 73
              }
            ],
            "outputs": [
              {
                "localized_name": "条件付け",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  39
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
              "masterpiece, high score, great score, absurdres, black leather jacket, silver zipper, red scarf, falling snow, night city street"
            ]
          },
          {
            "id": 27,
            "type": "PreviewImage",
            "pos": [
              1103.8313937346766,
              1406.3016186572015
            ],
            "size": [
              225,
              34
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "画像",
                "name": "images",
                "type": "IMAGE",
                "link": 64
              }
            ],
            "outputs": [
              {
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "PreviewImage"
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 22,
            "origin_id": 15,
            "origin_slot": 1,
            "target_id": 16,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 23,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 17,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 25,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 17,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 26,
            "origin_id": 17,
            "origin_slot": 0,
            "target_id": 18,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 27,
            "origin_id": 18,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 29,
            "origin_id": 18,
            "origin_slot": 0,
            "target_id": 21,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 30,
            "origin_id": 21,
            "origin_slot": 0,
            "target_id": 22,
            "target_slot": 1,
            "type": "SEGS"
          },
          {
            "id": 39,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 22,
            "target_slot": 5,
            "type": "CONDITIONING"
          },
          {
            "id": 64,
            "origin_id": 19,
            "origin_slot": 0,
            "target_id": 27,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 61,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 17,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 62,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 22,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 41,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 22,
            "target_slot": 2,
            "type": "MODEL"
          },
          {
            "id": 42,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 22,
            "target_slot": 3,
            "type": "CLIP"
          },
          {
            "id": 43,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 24,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 46,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 22,
            "target_slot": 4,
            "type": "VAE"
          },
          {
            "id": 49,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 22,
            "target_slot": 6,
            "type": "CONDITIONING"
          },
          {
            "id": 37,
            "origin_id": 22,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 71,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 16,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 72,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 22,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 73,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 24,
            "target_slot": 1,
            "type": "STRING"
          }
        ],
        "extra": {}
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.1515146500000017,
      "offset": [
        82.69064418359068,
        -113.29551322355886
      ]
    },
    "frontendVersion": "1.47.11"
  },
  "version": 0.4
}