{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "438291c7-4d80-4015-bd42-f21a45b4a67b",
        "inputNode": {
          "bounding": [
            848.920446566751,
            416.02058889632974,
            120,
            80
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "eb15a6da-be18-49ea-81f2-dba4711d5c28",
            "linkIds": [
              29,
              30,
              36,
              35,
              27
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              948.920446566751,
              436.02058889632974
            ],
            "type": "IMAGE"
          },
          {
            "id": "72145059-2ba2-42ec-8379-8412482057af",
            "label": "crop_inset",
            "linkIds": [
              28
            ],
            "localized_name": "a",
            "name": "a",
            "pos": [
              948.920446566751,
              456.02058889632974
            ],
            "shape": 7,
            "type": "INT,FLOAT"
          }
        ],
        "links": [
          {
            "id": 3,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 4,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 6,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 9,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 10,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 11,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 15,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 16,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 17,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 33,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 25,
            "origin_id": 17,
            "origin_slot": 1,
            "target_id": 16,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 26,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 16,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 12,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 13,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 34,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 21,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 22,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 19,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 20,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 23,
            "origin_id": 17,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 24,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 5,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 29,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 30,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 36,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 35,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 27,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 17,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 28,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 14,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 37,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 38,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 39,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 40,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 46,
            "origin_id": 19,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 49,
            "origin_id": 20,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 50,
            "origin_id": 20,
            "origin_slot": 0,
            "target_id": 21,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 51,
            "origin_id": 17,
            "origin_slot": 1,
            "target_id": 22,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 53,
            "origin_id": 17,
            "origin_slot": 0,
            "target_id": 23,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 55,
            "origin_id": 22,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 56,
            "origin_id": 23,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 57,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 24,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 58,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 59,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 60,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 72,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 73,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 74,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 75,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 3,
            "type": "IMAGE"
          }
        ],
        "name": "Crop Images",
        "nodes": [
          {
            "flags": {},
            "id": 4,
            "inputs": [
              {
                "link": 3,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [],
            "pos": [
              2010,
              400
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              276
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 5,
            "inputs": [
              {
                "link": 4,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              2430,
              400
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              246
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 6,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2430,
              990
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              246.0000000000001
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 16,
            "inputs": [
              {
                "link": 25,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 26,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  8,
                  10,
                  13,
                  16,
                  19
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1292.7872437939868,
              -9.460406849023723
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "title": "HEIGHT",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a-2*b) / 2"
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 5,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [],
            "pos": [
              2010,
              990
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              246.0000000000001
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 15,
            "inputs": [
              {
                "link": 23,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 24,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  7,
                  9,
                  12,
                  15,
                  21
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1292.1975730627237,
              -151.97941110367026
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "title": "WIDTH",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a-2*b) / 2"
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 17,
            "inputs": [
              {
                "link": 27,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  23,
                  53
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  25,
                  51
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              1028.920446566751,
              -151.97941110367026
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.3.71"
            },
            "size": [
              170,
              70
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 21,
            "inputs": [
              {
                "link": 50,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [],
            "pos": [
              3680,
              400
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              246
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 23,
            "inputs": [
              {
                "link": 53,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  56
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              3260,
              40
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "title": "WIDTH / 2",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a) / 2"
            ]
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 22,
            "inputs": [
              {
                "link": 51,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  55
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              3260,
              180
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              108
            ],
            "title": "HEIGHT / 2",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a) / 2"
            ]
          },
          {
            "flags": {},
            "id": 20,
            "inputs": [
              {
                "link": 46,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK"
              },
              {
                "link": 56,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 55,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  49,
                  50
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK"
              }
            ],
            "pos": [
              3260,
              390
            ],
            "properties": {
              "Node name for S&R": "ImageResizeKJv2",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              270,
              286
            ],
            "title": "Resize Images",
            "type": "ImageResizeKJv2",
            "widgets_values": [
              512,
              512,
              "nearest-exact",
              "stretch",
              "0, 0, 0",
              "center",
              2,
              "cpu"
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 29,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 7,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 8,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 58,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": 60,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  3,
                  37,
                  72
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2010,
              220
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "1",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 19,
            "inputs": [
              {
                "link": 72,
                "localized_name": "image_1",
                "name": "image_1",
                "type": "IMAGE"
              },
              {
                "link": 73,
                "localized_name": "image_2",
                "name": "image_2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 74,
                "name": "image_3",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 75,
                "name": "image_4",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  46
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2880,
              230
            ],
            "properties": {
              "Node name for S&R": "ImageBatchMulti",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              270,
              162
            ],
            "type": "ImageBatchMulti",
            "widgets_values": [
              4,
              null
            ]
          },
          {
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 30,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 9,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 10,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 11,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  4,
                  38,
                  73
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              220
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "2",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 35,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 12,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 13,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 59,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": 34,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  5,
                  39,
                  74
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2010,
              800
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "3",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 36,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 15,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 16,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 17,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": 33,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  6,
                  40,
                  75
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              800
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "4",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 13,
            "inputs": [
              {
                "link": 21,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 22,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  11,
                  17
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2450,
              -10
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Col 2 - X val",
            "type": "SimpleMath+",
            "widgets_values": [
              "a + (b/2)"
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 12,
            "inputs": [
              {
                "link": 19,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 20,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  33,
                  34
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1650,
              800
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Row 2 - Y val",
            "type": "SimpleMath+",
            "widgets_values": [
              "a + (b/2)"
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 24,
            "inputs": [
              {
                "link": null,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 57,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 19,
            "outputs": [
              {
                "links": [
                  58,
                  59,
                  60
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2000,
              -40
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Col 1 - X val",
            "type": "SimpleMath+",
            "widgets_values": [
              "b/2"
            ]
          },
          {
            "flags": {},
            "id": 14,
            "inputs": [
              {
                "link": 28,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  20,
                  22,
                  24,
                  26,
                  57
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1290,
              110
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "title": "Crop Inset Grid Images Value",
            "type": "SimpleMath+",
            "widgets_values": [
              "a"
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2722.1975730627237,
            436.02058889632974,
            120,
            140
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "8ec6c1d4-c30e-4d27-9afc-d53cb8950a80",
            "label": "IMAGE_1",
            "linkIds": [
              37
            ],
            "name": "IMAGE",
            "pos": [
              2742.1975730627237,
              456.02058889632974
            ],
            "type": "IMAGE"
          },
          {
            "id": "b5bfbdce-26ef-489c-8851-c100001380a0",
            "label": "IMAGE_2",
            "linkIds": [
              38
            ],
            "name": "IMAGE_1",
            "pos": [
              2742.1975730627237,
              476.02058889632974
            ],
            "type": "IMAGE"
          },
          {
            "id": "ae6073b1-db37-4141-88fa-6cf4ba5dce26",
            "label": "IMAGE_3",
            "linkIds": [
              39
            ],
            "name": "IMAGE_2",
            "pos": [
              2742.1975730627237,
              496.02058889632974
            ],
            "type": "IMAGE"
          },
          {
            "id": "404edd1c-fa1b-4e9f-bb64-a05a8b3ddcee",
            "label": "IMAGE_4",
            "linkIds": [
              40
            ],
            "name": "IMAGE_3",
            "pos": [
              2742.1975730627237,
              516.0205888963297
            ],
            "type": "IMAGE"
          },
          {
            "id": "0543b553-e71f-4c30-afa3-855738c77bee",
            "linkIds": [
              49
            ],
            "name": "images",
            "pos": [
              2742.1975730627237,
              536.0205888963297
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 75,
          "lastNodeId": 27,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1470,
        1249.3915343915344
      ],
      "scale": 0.2304878048780488
    },
    "frontendVersion": "1.35.4"
  },
  "groups": [],
  "id": "d1d51388-600c-48c7-aa25-4cdbf3514476",
  "last_link_id": 51,
  "last_node_id": 41,
  "links": [
    [
      7,
      9,
      0,
      8,
      0,
      "IMAGE"
    ],
    [
      9,
      10,
      0,
      11,
      1,
      "INT,FLOAT"
    ],
    [
      21,
      23,
      0,
      20,
      0,
      "IMAGE"
    ],
    [
      23,
      20,
      0,
      25,
      0,
      "IMAGE"
    ],
    [
      24,
      25,
      0,
      26,
      0,
      "IMAGE"
    ],
    [
      26,
      23,
      0,
      27,
      0,
      "IMAGE"
    ],
    [
      27,
      11,
      0,
      28,
      0,
      "*"
    ],
    [
      28,
      28,
      0,
      12,
      0,
      "IMAGE"
    ],
    [
      29,
      11,
      1,
      29,
      0,
      "*"
    ],
    [
      30,
      29,
      0,
      13,
      0,
      "IMAGE"
    ],
    [
      31,
      11,
      2,
      30,
      0,
      "*"
    ],
    [
      32,
      30,
      0,
      14,
      0,
      "IMAGE"
    ],
    [
      33,
      11,
      3,
      31,
      0,
      "*"
    ],
    [
      34,
      31,
      0,
      15,
      0,
      "IMAGE"
    ],
    [
      35,
      11,
      4,
      32,
      0,
      "*"
    ],
    [
      36,
      32,
      0,
      23,
      0,
      "IMAGE"
    ],
    [
      38,
      33,
      0,
      34,
      0,
      "*"
    ],
    [
      39,
      34,
      0,
      20,
      1,
      "IMAGE"
    ],
    [
      40,
      1,
      0,
      36,
      0,
      "IMAGE"
    ],
    [
      41,
      1,
      0,
      38,
      0,
      "IMAGE"
    ],
    [
      42,
      38,
      0,
      37,
      1,
      "INT"
    ],
    [
      43,
      38,
      1,
      37,
      2,
      "INT"
    ],
    [
      44,
      35,
      0,
      37,
      0,
      "IMAGE"
    ],
    [
      45,
      37,
      0,
      36,
      1,
      "IMAGE"
    ],
    [
      46,
      36,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      47,
      5,
      0,
      9,
      2,
      "STRING"
    ],
    [
      49,
      9,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      50,
      36,
      0,
      33,
      0,
      "*"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": false
      },
      "id": 13,
      "inputs": [
        {
          "link": 30,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [],
      "pos": [
        2150,
        60
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        530,
        410
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_2"
      ]
    },
    {
      "flags": {},
      "id": 15,
      "inputs": [
        {
          "link": 34,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [],
      "pos": [
        2150,
        540
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        523.9950110631057,
        406.7070655219094
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_4"
      ]
    },
    {
      "flags": {},
      "id": 28,
      "inputs": [
        {
          "link": 27,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            28
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1490,
        -100
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 29,
      "inputs": [
        {
          "link": 29,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            30
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2040,
        -80
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 30,
      "inputs": [
        {
          "link": 31,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            32
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1490,
        -60
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 31,
      "inputs": [
        {
          "link": 33,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": [
            34
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2040,
        -40
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 32,
      "inputs": [
        {
          "link": 35,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            36
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2600,
        -20
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 34,
      "inputs": [
        {
          "link": 38,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            39
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2600,
        -180
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 1,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            40,
            41
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -640,
        60
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        430,
        610
      ],
      "title": "Load Subject Image",
      "type": "LoadImage",
      "widgets_values": [
        "subject.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 35,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            44
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -640,
        720
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        430,
        610
      ],
      "title": "Load Outfit Image",
      "type": "LoadImage",
      "widgets_values": [
        "outfit.png",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 38,
      "inputs": [
        {
          "link": 41,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            42
          ],
          "name": "width",
          "type": "INT"
        },
        {
          "links": [
            43
          ],
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "name": "batch_size",
          "type": "INT"
        }
      ],
      "pos": [
        190,
        110
      ],
      "properties": {
        "Node name for S&R": "GetImageSize",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        160,
        66
      ],
      "type": "GetImageSize",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 37,
      "inputs": [
        {
          "link": 44,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 42,
          "name": "target_width",
          "type": "INT",
          "widget": {
            "name": "target_width"
          }
        },
        {
          "link": 43,
          "name": "target_height",
          "type": "INT",
          "widget": {
            "name": "target_height"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            45
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        190,
        160
      ],
      "properties": {
        "Node name for S&R": "ResizeAndPadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        210,
        130
      ],
      "type": "ResizeAndPadImage",
      "widgets_values": [
        512,
        512,
        "white",
        "area"
      ]
    },
    {
      "flags": {},
      "id": 12,
      "inputs": [
        {
          "link": 28,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [],
      "pos": [
        1590,
        60
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        525.2872545862597,
        407.68430538233827
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_1"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 21,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        2740,
        -90
      ],
      "properties": {},
      "size": [
        230,
        88
      ],
      "type": "Note",
      "widgets_values": [
        "Change batch_index to select which image you want to outpaint.\n\n(first image is index 0)"
      ]
    },
    {
      "flags": {},
      "id": 33,
      "inputs": [
        {
          "link": 50,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            38
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        440,
        -180
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 36,
      "inputs": [
        {
          "link": 40,
          "name": "image1",
          "type": "IMAGE"
        },
        {
          "link": 45,
          "name": "image2",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            46,
            50
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        190,
        60
      ],
      "properties": {
        "Node name for S&R": "ImageBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        150,
        46
      ],
      "type": "ImageBatch",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 20,
      "inputs": [
        {
          "link": 21,
          "name": "image1",
          "type": "IMAGE"
        },
        {
          "link": 39,
          "name": "image2",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            23
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3120,
        60
      ],
      "properties": {
        "Node name for S&R": "ImageBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        150,
        50
      ],
      "type": "ImageBatch",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 27,
      "inputs": [
        {
          "link": 26,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [],
      "pos": [
        2740,
        190
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        530,
        410
      ],
      "title": "Preview Selected Image",
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 7,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [],
      "pos": [
        900,
        60
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        470,
        740
      ],
      "title": "Save Stitched Image",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_stitched"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 25,
      "inputs": [
        {
          "link": 23,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        }
      ],
      "mode": 0,
      "order": 25,
      "outputs": [
        {
          "links": [
            24
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        3330,
        60
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        420,
        540
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "Upscale image 1 while maintaining pose and composition, add subtle details. Use the face from image 2 to add back facial consistency and ensure the outfit details match the clothes and accessories from image 3.",
        "gemini-3-pro-image-preview",
        12345,
        "fixed",
        "auto",
        "4K",
        "IMAGE+TEXT",
        "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."
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 10,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            9
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        900,
        -100
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        250,
        82
      ],
      "title": "Crop Inset Grid Images",
      "type": "PrimitiveInt",
      "widgets_values": [
        0,
        "fixed"
      ]
    },
    {
      "flags": {},
      "id": 14,
      "inputs": [
        {
          "link": 32,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [],
      "pos": [
        1590,
        540
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        525.2751663907767,
        405.0613457616762
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_3"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 11,
      "inputs": [
        {
          "link": 49,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "crop_inset",
          "link": 9,
          "name": "a",
          "type": "INT,FLOAT"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "label": "IMAGE_1",
          "links": [
            27
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "label": "IMAGE_2",
          "links": [
            29
          ],
          "name": "IMAGE_1",
          "type": "IMAGE"
        },
        {
          "label": "IMAGE_3",
          "links": [
            31
          ],
          "name": "IMAGE_2",
          "type": "IMAGE"
        },
        {
          "label": "IMAGE_4",
          "links": [
            33
          ],
          "name": "IMAGE_3",
          "type": "IMAGE"
        },
        {
          "links": [
            35
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1190,
        -100
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [],
        "ver": "0.3.76"
      },
      "size": [
        183.064453125,
        110
      ],
      "type": "438291c7-4d80-4015-bd42-f21a45b4a67b",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 5,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            47
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -180,
        60
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        330,
        400
      ],
      "title": "Prompt",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "A 2x2 (2 rows, 2 cols) grid of high fashion photoshoot images of the model wearing the outfit from image 2, each grid image should show the a full body shot of the subject in slightly different poses. Ensure that all outfit clothes/accessories are present in each grid image.\n\nDO NOT generate the grid with any visible borders or gutters.\n\nThe setting is a studio environment with a white studio background. Ensure that each grid image has the same lighting conditions. \n\nThe image is shot on fuji velvia film on a 55mm prime lens, the light is concentrated on the subject."
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 23,
      "inputs": [
        {
          "link": 36,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            21,
            26
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2740,
        60
      ],
      "properties": {
        "Node name for S&R": "ImageFromBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.52"
      },
      "size": [
        230,
        82
      ],
      "title": "Select Image to Upscale",
      "type": "ImageFromBatch",
      "widgets_values": [
        3,
        1
      ]
    },
    {
      "flags": {},
      "id": 26,
      "inputs": [
        {
          "link": 24,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [],
      "pos": [
        3790,
        60
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        470,
        740
      ],
      "title": "Save Upscaled Image",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_upscaled"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 9,
      "inputs": [
        {
          "link": 46,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        },
        {
          "link": 47,
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            7,
            49
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        440,
        60
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        420,
        740
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "",
        "gemini-3-pro-image-preview",
        12345,
        "fixed",
        "auto",
        "4K",
        "IMAGE+TEXT",
        "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
}