{
  "id": "a705a636-8711-4457-9d8a-e13218b44e1e",
  "revision": 0,
  "last_node_id": 277,
  "last_link_id": 363,
  "nodes": [
    {
      "id": 11,
      "type": "SaveImage",
      "pos": [
        2660,
        -610
      ],
      "size": [
        480,
        750
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 359
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "ComfyUI-image_main_reference"
      ]
    },
    {
      "id": 260,
      "type": "RegexReplace",
      "pos": [
        1810,
        100
      ],
      "size": [
        225,
        304
      ],
      "flags": {
        "collapsed": false
      },
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 319
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            362
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "RegexReplace",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "",
        "{outfit}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "id": 18,
      "type": "RegexReplace",
      "pos": [
        1810,
        -580
      ],
      "size": [
        225,
        304
      ],
      "flags": {
        "collapsed": false
      },
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 17
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            360
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "RegexReplace",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "",
        "{outfit}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "id": 259,
      "type": "PrimitiveStringMultiline",
      "pos": [
        1540,
        70
      ],
      "size": [
        225,
        530
      ],
      "flags": {
        "collapsed": false
      },
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            319
          ]
        }
      ],
      "title": "Prompt Template",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "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."
      ]
    },
    {
      "id": 258,
      "type": "SaveImage",
      "pos": [
        2660,
        210
      ],
      "size": [
        480,
        750
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 363
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "ComfyUI-image_main_reference"
      ]
    },
    {
      "id": 23,
      "type": "PrimitiveStringMultiline",
      "pos": [
        1540,
        -580
      ],
      "size": [
        225,
        470
      ],
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            17
          ]
        }
      ],
      "title": "Prompt Template",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "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."
      ]
    },
    {
      "id": 28,
      "type": "51b1c920-4b14-43ae-b339-8fce93d4377b",
      "pos": [
        1540,
        660
      ],
      "size": [
        225,
        148
      ],
      "flags": {
        "collapsed": false
      },
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 27
        },
        {
          "name": "image_1",
          "type": "IMAGE",
          "link": 251
        },
        {
          "name": "image_2",
          "type": "IMAGE",
          "link": 250
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            358,
            361
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [],
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": []
    },
    {
      "id": 226,
      "type": "LoadImage",
      "pos": [
        990,
        120
      ],
      "size": [
        420,
        610
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            251
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject Image",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "subject_close.png",
        "image"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 16,
      "type": "LoadImage",
      "pos": [
        980,
        -560
      ],
      "size": [
        440,
        630
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            27
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject Image",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "subject_far.png",
        "image"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 26,
      "type": "LoadImage",
      "pos": [
        990,
        880
      ],
      "size": [
        430,
        620
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            250
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Full Body Outift",
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "widgets_values": [
        "clothing.png",
        "image"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 276,
      "type": "ByteDanceSeedreamNodeV2",
      "pos": [
        2110,
        -580
      ],
      "size": [
        400,
        384
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 360
        },
        {
          "label": "image_1",
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 358
        },
        {
          "label": "image_2",
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            359
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ByteDanceSeedreamNodeV2"
      },
      "widgets_values": [
        "",
        "seedream 5.0 lite",
        "(2K) 2048x2048 (1:1)",
        2048,
        2048,
        1,
        false,
        0,
        "randomize",
        false
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 277,
      "type": "ByteDanceSeedreamNodeV2",
      "pos": [
        2120,
        100
      ],
      "size": [
        400,
        384
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 362
        },
        {
          "label": "image_1",
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 361
        },
        {
          "label": "image_2",
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            363
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ByteDanceSeedreamNodeV2"
      },
      "widgets_values": [
        "",
        "seedream 5.0 lite",
        "(2K) 2048x2048 (1:1)",
        2048,
        2048,
        1,
        false,
        0,
        "randomize",
        false
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "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"
    ],
    [
      319,
      259,
      0,
      260,
      0,
      "STRING"
    ],
    [
      358,
      28,
      0,
      276,
      1,
      "IMAGE"
    ],
    [
      359,
      276,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      360,
      18,
      0,
      276,
      0,
      "STRING"
    ],
    [
      361,
      28,
      0,
      277,
      1,
      "IMAGE"
    ],
    [
      362,
      260,
      0,
      277,
      0,
      "STRING"
    ],
    [
      363,
      277,
      0,
      258,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Subject Reference Images",
      "bounding": [
        930,
        -660,
        560,
        1420
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Full Outfit",
      "bounding": [
        930,
        790,
        560,
        770
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Close Up Output",
      "bounding": [
        1530,
        -20,
        1090,
        620
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Full Body Output",
      "bounding": [
        1530,
        -660,
        1090,
        610
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "51b1c920-4b14-43ae-b339-8fce93d4377b",
        "version": 1,
        "state": {
          "lastGroupId": 5,
          "lastNodeId": 277,
          "lastLinkId": 363,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Batch Images",
        "inputNode": {
          "id": -10,
          "bounding": [
            8010,
            -980,
            128,
            108
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            8850,
            -980,
            128,
            68
          ]
        },
        "inputs": [
          {
            "id": "1ca8e828-139b-4f76-90ec-84eeafd366db",
            "name": "image",
            "type": "IMAGE",
            "linkIds": [
              18,
              354
            ],
            "localized_name": "image",
            "pos": [
              8114,
              -956
            ]
          },
          {
            "id": "812c8ec8-a34d-48be-8cb6-420412545a65",
            "name": "image_1",
            "type": "IMAGE",
            "linkIds": [
              22
            ],
            "localized_name": "image_1",
            "pos": [
              8114,
              -936
            ]
          },
          {
            "id": "58464e2d-6baf-424f-978b-0be92053b252",
            "name": "image_2",
            "type": "IMAGE",
            "linkIds": [
              249
            ],
            "pos": [
              8114,
              -916
            ]
          }
        ],
        "outputs": [
          {
            "id": "c3236c85-8a30-42f8-be50-1e3a39f2a2de",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              357
            ],
            "localized_name": "IMAGE",
            "pos": [
              8874,
              -956
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 15,
            "type": "ResizeAndPadImage",
            "pos": [
              8240,
              -880
            ],
            "size": [
              225,
              8
            ],
            "flags": {
              "collapsed": true
            },
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 22
              },
              {
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                },
                "link": 19
              },
              {
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                },
                "link": 20
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  355
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ]
          },
          {
            "id": 224,
            "type": "ResizeAndPadImage",
            "pos": [
              8220,
              -780
            ],
            "size": [
              225,
              8
            ],
            "flags": {
              "collapsed": true
            },
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 249
              },
              {
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                },
                "link": 244
              },
              {
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                },
                "link": 245
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  356
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "ResizeAndPadImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "widgets_values": [
              512,
              512,
              "white",
              "area"
            ]
          },
          {
            "id": 177,
            "type": "GetImageSize",
            "pos": [
              8250,
              -1010
            ],
            "size": [
              225,
              8
            ],
            "flags": {
              "collapsed": true
            },
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE",
                "link": 18
              }
            ],
            "outputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "links": [
                  19,
                  244
                ]
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "links": [
                  20,
                  245
                ]
              },
              {
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "links": null
              }
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "widgets_values": []
          },
          {
            "id": 275,
            "type": "BatchImagesNode",
            "pos": [
              8510,
              -960
            ],
            "size": [
              225,
              144
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "label": "image0",
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE",
                "link": 354
              },
              {
                "label": "image1",
                "localized_name": "images.image1",
                "name": "images.image1",
                "shape": 7,
                "type": "IMAGE",
                "link": 355
              },
              {
                "label": "image2",
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE",
                "link": 356
              },
              {
                "label": "image3",
                "localized_name": "images.image3",
                "name": "images.image3",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "links": [
                  357
                ]
              }
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode"
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "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": 18,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 177,
            "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": 249,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 224,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 354,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 355,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 356,
            "origin_id": 224,
            "origin_slot": 0,
            "target_id": 275,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 357,
            "origin_id": 275,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.45995921052631683,
      "offset": [
        -490.75501262146247,
        1040.2895228282007
      ]
    },
    "frontendVersion": "1.45.15",
    "workflowRendererVersion": "Vue-corrected",
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0
  },
  "version": 0.4
}