{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "51b1c920-4b14-43ae-b339-8fce93d4377b",
        "inputNode": {
          "bounding": [
            9974,
            -1198.9214659004554,
            144,
            120
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "1ca8e828-139b-4f76-90ec-84eeafd366db",
            "linkIds": [
              18,
              1
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              8410,
              -980.7678882503795
            ],
            "type": "IMAGE"
          },
          {
            "id": "812c8ec8-a34d-48be-8cb6-420412545a65",
            "linkIds": [
              22
            ],
            "localized_name": "image_1",
            "name": "image_1",
            "pos": [
              8410,
              -960.7678882503795
            ],
            "type": "IMAGE"
          },
          {
            "id": "58464e2d-6baf-424f-978b-0be92053b252",
            "linkIds": [
              249
            ],
            "name": "image_2",
            "pos": [
              8410,
              -940.7678882503795
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 19,
            "origin_id": 177,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 20,
            "origin_id": 177,
            "origin_slot": 1,
            "target_id": 15,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 21,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 18,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 177,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 22,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 15,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 244,
            "origin_id": 177,
            "origin_slot": 0,
            "target_id": 224,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 245,
            "origin_id": 177,
            "origin_slot": 1,
            "target_id": 224,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 246,
            "origin_id": 5,
            "origin_slot": 0,
            "target_id": 225,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 247,
            "origin_id": 224,
            "origin_slot": 0,
            "target_id": 225,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 249,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 224,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 344,
            "origin_id": 225,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "Batch Images",
        "nodes": [
          {
            "flags": {
              "collapsed": true
            },
            "id": 15,
            "inputs": [
              {
                "link": 22,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 19,
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                }
              },
              {
                "link": 20,
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  21
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              10187.707611581072,
              -1014.037990055891
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              156
            ],
            "type": "ResizeAndPadImage",
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 5,
            "inputs": [
              {
                "link": 1,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 21,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  246
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              10232.581343951411,
              -1553.1827364663557
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.75"
            },
            "size": [
              140,
              55.199999999999996
            ],
            "type": "ImageBatch",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 224,
            "inputs": [
              {
                "link": 249,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 244,
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                }
              },
              {
                "link": 245,
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  247
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              10174.660677812493,
              -894.8515165810858
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              146.4
            ],
            "type": "ResizeAndPadImage",
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 177,
            "inputs": [
              {
                "link": 18,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  19,
                  244
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  20,
                  245
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              10199.427318204087,
              -1189.6353281562442
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              79.2
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 225,
            "inputs": [
              {
                "link": 246,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 247,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  344
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              10243.975228540517,
              -1469.639078664374
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.75"
            },
            "size": [
              140,
              55.199999999999996
            ],
            "type": "ImageBatch",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            10476.37816127869,
            -1174.9214659004554,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "c3236c85-8a30-42f8-be50-1e3a39f2a2de",
            "linkIds": [
              344
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              8748.648467732242,
              -960.7678882503795
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 5,
          "lastLinkId": 353,
          "lastNodeId": 274,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        -763.152396254015,
        896.8131802875093
      ],
      "scale": 0.5496700277961084
    },
    "frontendVersion": "1.39.19",
    "workflowRendererVersion": "Vue"
  },
  "groups": [
    {
      "bounding": [
        1202,
        -790,
        544.9754807702186,
        1647.8105447570708
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "Subject Reference Images"
    },
    {
      "bounding": [
        1190,
        902,
        597.0730141443252,
        856.8810748401232
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Full Outfit"
    },
    {
      "bounding": [
        1850,
        -22,
        1273.625282300254,
        736.7824833557453
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "Close Up Output"
    },
    {
      "bounding": [
        1838,
        -790,
        1297.6390705790286,
        726.308071245766
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 5,
      "title": "Full Body Output"
    }
  ],
  "id": "a705a636-8711-4457-9d8a-e13218b44e1e",
  "last_link_id": 353,
  "last_node_id": 274,
  "links": [
    [
      17,
      23,
      0,
      18,
      0,
      "STRING"
    ],
    [
      27,
      16,
      0,
      28,
      0,
      "IMAGE"
    ],
    [
      250,
      26,
      0,
      28,
      2,
      "IMAGE"
    ],
    [
      251,
      226,
      0,
      28,
      1,
      "IMAGE"
    ],
    [
      316,
      257,
      0,
      258,
      0,
      "IMAGE"
    ],
    [
      318,
      28,
      0,
      257,
      0,
      "IMAGE"
    ],
    [
      319,
      259,
      0,
      260,
      0,
      "STRING"
    ],
    [
      326,
      260,
      0,
      257,
      1,
      "STRING"
    ],
    [
      348,
      28,
      0,
      228,
      0,
      "IMAGE"
    ],
    [
      349,
      18,
      0,
      228,
      1,
      "STRING"
    ],
    [
      350,
      228,
      0,
      11,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 350,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [],
      "pos": [
        3239.1842025394867,
        -698.478114959293
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        563.984375,
        887.984375
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_main_reference"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 260,
      "inputs": [
        {
          "link": 319,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            326
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        2175.191368423989,
        124.94212209782654
      ],
      "properties": {
        "Node name for S&R": "RegexReplace",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        251.984375,
        350.390625
      ],
      "type": "RegexReplace",
      "widgets_values": [
        "",
        "{outfit}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 18,
      "inputs": [
        {
          "link": 17,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            349
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        2165.4449759816584,
        -690.0261461782733
      ],
      "properties": {
        "Node name for S&R": "RegexReplace",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        251.984375,
        350.390625
      ],
      "type": "RegexReplace",
      "widgets_values": [
        "",
        "{outfit}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 257,
      "inputs": [
        {
          "link": 318,
          "name": "image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 326,
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            316
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2469.5267793691855,
        97.91418795328775
      ],
      "properties": {
        "Node name for S&R": "ByteDanceSeedreamNode",
        "cnr_id": "comfy-core",
        "ver": "0.16.4"
      },
      "size": [
        480,
        448.78125
      ],
      "type": "ByteDanceSeedreamNode",
      "widgets_values": [
        "seedream 5.0 lite",
        "",
        "2048x2048 (1:1)",
        2048,
        2048,
        "disabled",
        1,
        1405040888,
        "fixed",
        false,
        true
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 228,
      "inputs": [
        {
          "link": 348,
          "name": "image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 349,
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            350
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2518.728883372266,
        -661.5914232073168
      ],
      "properties": {
        "Node name for S&R": "ByteDanceSeedreamNode",
        "cnr_id": "comfy-core",
        "ver": "0.16.4"
      },
      "size": [
        480,
        448.78125
      ],
      "type": "ByteDanceSeedreamNode",
      "widgets_values": [
        "seedream 5.0 lite",
        "",
        "2048x2048 (1:1)",
        2048,
        2048,
        "disabled",
        1,
        2000540261,
        "fixed",
        false,
        true
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 259,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            319
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1864.1101819890644,
        85.35738248756354
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        251.984375,
        623.984375
      ],
      "title": "Prompt Template",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "High-fashion studio close-up of the subject from Image 1 and Image 2, wearing the exact outfit from Image 3 (visible portion only).\n\nIdentity and facial structure must match Image 1 and 2 exactly.\n\nTight close-up (mid-chest to top of head).\nLow-angle, subject centered.\nLooking slightly past camera, bored expression, subtly raised eyebrows.\n\n\nWhite studio background.\nHard flash.\n55mm lens look.\nFuji Velvia aesthetic.\n\nSlight overexposure, strong film grain, highly saturated colors.\n\nNo changes to identity, clothing, or accessories."
      ]
    },
    {
      "flags": {},
      "id": 258,
      "inputs": [
        {
          "link": 316,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [],
      "pos": [
        3236.3897792227453,
        294.42618367457885
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        563.984375,
        887.984375
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_main_reference"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 23,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            17
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1851.323191371325,
        -699.2936385783962
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        251.984375,
        554.96875
      ],
      "title": "Prompt Template",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "Generate a high-fashion studio image of the subject from Image 1 and Image 2, wearing the exact outfit from Image 3.\n\nImage 1 and Image 2 define the subject’s identity and body proportions.\nImage 3 defines only the outfit and must match exactly.\n\nFull-body shot.\nSubject facing forward, standing naturally.\nNeutral expression.\n\nClean white studio background.\nHard flash lighting.\n55mm lens look.\nFuji Velvia film aesthetic.\n\nSlightly overexposed.\nStrong visible film grain.\nHighly saturated colors.\n\nDo not change the subject’s identity, clothing, or accessories."
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 28,
      "inputs": [
        {
          "link": 27,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 251,
          "name": "image_1",
          "type": "IMAGE"
        },
        {
          "link": 250,
          "name": "image_2",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            318,
            348
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1862.2148465526236,
        837.0746323931014
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [],
        "ver": "0.3.76"
      },
      "size": [
        225,
        127.046875
      ],
      "type": "51b1c920-4b14-43ae-b339-8fce93d4377b",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 226,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            251
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        1212.5132020442516,
        100.41480041029422
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        515.984375,
        743.984375
      ],
      "title": "Load Subject Image",
      "type": "LoadImage",
      "widgets_values": [
        "subject_close.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 16,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            27
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        1203.5166602201346,
        -697.8363059006119
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        515.984375,
        743.984375
      ],
      "title": "Load Subject Image",
      "type": "LoadImage",
      "widgets_values": [
        "subject_far.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 26,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            250
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        1232.9232853084561,
        1009.4700975363048
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        507.546875,
        733.296875
      ],
      "title": "Full Body Outift",
      "type": "LoadImage",
      "widgets_values": [
        "clothing.png",
        "image"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 274,
      "inputs": [
        {
          "link": null,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": null,
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        4210.081633336634,
        -57.805512186605824
      ],
      "properties": {
        "Node name for S&R": "GeminiNanoBanana2",
        "cnr_id": "comfy-core",
        "ver": "0.16.4"
      },
      "size": [
        480,
        395.984375
      ],
      "type": "GeminiNanoBanana2",
      "widgets_values": [
        "",
        "Nano Banana 2 (Gemini 3.1 Flash Image)",
        858333317454308,
        "randomize",
        "auto",
        "1K",
        "IMAGE",
        "MINIMAL",
        "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}