{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "b04db13c-0164-4644-a228-21050043aafc",
        "inputNode": {
          "bounding": [
            848.9204465667511,
            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.9204465667511,
              436.02058889632974
            ],
            "type": "IMAGE"
          },
          {
            "id": "72145059-2ba2-42ec-8379-8412482057af",
            "label": "crop_inset",
            "linkIds": [
              28
            ],
            "localized_name": "a",
            "name": "a",
            "pos": [
              948.9204465667511,
              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": 3,
            "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": 41,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 42,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 43,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 44,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 45,
            "origin_id": 19,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "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": [
              2012.197573062724,
              258.02058889632974
            ],
            "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": [
              2432.1975730627237,
              258.02058889632974
            ],
            "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": [
              2432.1975730627237,
              848.0205888963297
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              246.00000000000006
            ],
            "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": 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
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1290.9761122622494,
              174.48972008942047
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a*2"
            ]
          },
          {
            "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": [
              2452.1975730627237,
              -151.97941110367026
            ],
            "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"
            ]
          },
          {
            "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": [
              1574.7615829753604,
              426.48925914614296
            ],
            "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"
            ]
          },
          {
            "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
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  25
                ],
                "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": [
              168.32104283579997,
              123.99999999999999
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 5,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [],
            "pos": [
              2012.197573062724,
              848.0205888963297
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              246.00000000000006
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "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"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  3,
                  37,
                  41
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2012.197573062724,
              78.02058889632974
            ],
            "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": 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,
                  42
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2432.1975730627237,
              78.02058889632974
            ],
            "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": 34,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  5,
                  39,
                  43
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2012.197573062724,
              658.0205888963297
            ],
            "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,
                  44
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2432.1975730627237,
              658.0205888963297
            ],
            "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
            ]
          },
          {
            "flags": {},
            "id": 19,
            "inputs": [
              {
                "link": 41,
                "localized_name": "image_1",
                "name": "image_1",
                "type": "IMAGE"
              },
              {
                "link": 42,
                "localized_name": "image_2",
                "name": "image_2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 43,
                "name": "image_3",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 44,
                "name": "image_4",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  45
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2870.2839811308354,
              184.47241388304457
            ],
            "properties": {
              "Node name for S&R": "ImageBatchMulti"
            },
            "size": [
              270,
              142
            ],
            "type": "ImageBatchMulti",
            "widgets_values": [
              4
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2722.1975730627237,
            436.0205888963298,
            120,
            140.00000000000006
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "8ec6c1d4-c30e-4d27-9afc-d53cb8950a80",
            "label": "IMAGE_1",
            "linkIds": [
              37
            ],
            "name": "IMAGE",
            "pos": [
              2742.1975730627237,
              456.0205888963298
            ],
            "type": "IMAGE"
          },
          {
            "id": "b5bfbdce-26ef-489c-8851-c100001380a0",
            "label": "IMAGE_2",
            "linkIds": [
              38
            ],
            "name": "IMAGE_1",
            "pos": [
              2742.1975730627237,
              476.0205888963298
            ],
            "type": "IMAGE"
          },
          {
            "id": "ae6073b1-db37-4141-88fa-6cf4ba5dce26",
            "label": "IMAGE_3",
            "linkIds": [
              39
            ],
            "name": "IMAGE_2",
            "pos": [
              2742.1975730627237,
              496.0205888963298
            ],
            "type": "IMAGE"
          },
          {
            "id": "404edd1c-fa1b-4e9f-bb64-a05a8b3ddcee",
            "label": "IMAGE_4",
            "linkIds": [
              40
            ],
            "name": "IMAGE_3",
            "pos": [
              2742.1975730627237,
              516.0205888963299
            ],
            "type": "IMAGE"
          },
          {
            "id": "0543b553-e71f-4c30-afa3-855738c77bee",
            "linkIds": [
              45
            ],
            "name": "images",
            "pos": [
              2742.1975730627237,
              536.0205888963299
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 45,
          "lastNodeId": 19,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        2375.7801146180695,
        685.9602767517774
      ],
      "scale": 0.6646121460072282
    },
    "frontendVersion": "1.34.6",
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "03992bc4-d50c-4d36-8b1a-190ae08f4d00",
  "last_link_id": 64,
  "last_node_id": 43,
  "links": [
    [
      1,
      2,
      0,
      1,
      0,
      "IMAGE"
    ],
    [
      2,
      1,
      0,
      3,
      0,
      "IMAGE"
    ],
    [
      37,
      1,
      0,
      19,
      0,
      "IMAGE"
    ],
    [
      38,
      18,
      0,
      19,
      1,
      "INT,FLOAT"
    ],
    [
      39,
      19,
      0,
      20,
      0,
      "IMAGE"
    ],
    [
      40,
      19,
      1,
      21,
      0,
      "IMAGE"
    ],
    [
      41,
      19,
      2,
      22,
      0,
      "IMAGE"
    ],
    [
      42,
      19,
      3,
      23,
      0,
      "IMAGE"
    ],
    [
      43,
      24,
      0,
      25,
      0,
      "STRING"
    ],
    [
      44,
      26,
      0,
      25,
      1,
      "STRING"
    ],
    [
      45,
      25,
      0,
      28,
      0,
      "STRING"
    ],
    [
      46,
      27,
      0,
      28,
      1,
      "STRING"
    ],
    [
      49,
      34,
      0,
      30,
      1,
      "INT"
    ],
    [
      50,
      34,
      1,
      30,
      2,
      "INT"
    ],
    [
      51,
      32,
      0,
      31,
      0,
      "IMAGE"
    ],
    [
      52,
      30,
      0,
      31,
      1,
      "IMAGE"
    ],
    [
      53,
      33,
      0,
      32,
      1,
      "INT"
    ],
    [
      54,
      36,
      0,
      33,
      0,
      "INT,FLOAT"
    ],
    [
      55,
      32,
      0,
      34,
      0,
      "IMAGE"
    ],
    [
      56,
      31,
      0,
      35,
      0,
      "IMAGE"
    ],
    [
      57,
      35,
      0,
      37,
      0,
      "IMAGE"
    ],
    [
      58,
      19,
      4,
      32,
      0,
      "IMAGE"
    ],
    [
      59,
      2,
      0,
      30,
      0,
      "IMAGE"
    ],
    [
      62,
      28,
      0,
      41,
      0,
      "STRING"
    ],
    [
      63,
      40,
      0,
      41,
      1,
      "STRING"
    ],
    [
      64,
      41,
      0,
      1,
      2,
      "STRING"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": true
      },
      "id": 33,
      "inputs": [
        {
          "link": 54,
          "name": "a",
          "shape": 7,
          "type": "INT,FLOAT"
        },
        {
          "link": null,
          "name": "b",
          "shape": 7,
          "type": "INT,FLOAT"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            53
          ],
          "name": "INT",
          "type": "INT"
        },
        {
          "links": null,
          "name": "FLOAT",
          "type": "FLOAT"
        }
      ],
      "pos": [
        1510,
        -240
      ],
      "properties": {
        "Node name for S&R": "SimpleMath+",
        "cnr_id": "comfyui_essentials",
        "ver": "1.1.0"
      },
      "size": [
        270,
        78
      ],
      "title": "Image # as index",
      "type": "SimpleMath+",
      "widgets_values": [
        "a - 1"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": true
      },
      "id": 32,
      "inputs": [
        {
          "link": 58,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 53,
          "name": "batch_index",
          "type": "INT",
          "widget": {
            "name": "batch_index"
          }
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": [
            51,
            55
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1510,
        -190
      ],
      "properties": {
        "Node name for S&R": "ImageFromBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        210,
        82
      ],
      "type": "ImageFromBatch",
      "widgets_values": [
        0,
        1
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 36,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            54
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        1510,
        -260
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        240,
        82
      ],
      "title": "Select Image #",
      "type": "PrimitiveInt",
      "widgets_values": [
        1,
        "fixed"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 34,
      "inputs": [
        {
          "link": 55,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [
        {
          "links": [
            49
          ],
          "name": "width",
          "type": "INT"
        },
        {
          "links": [
            50
          ],
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "name": "batch_size",
          "type": "INT"
        }
      ],
      "pos": [
        1510,
        -120
      ],
      "properties": {
        "Node name for S&R": "GetImageSize",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        140,
        66
      ],
      "type": "GetImageSize",
      "widgets_values": []
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 30,
      "inputs": [
        {
          "link": 59,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 49,
          "name": "target_width",
          "type": "INT",
          "widget": {
            "name": "target_width"
          }
        },
        {
          "link": 50,
          "name": "target_height",
          "type": "INT",
          "widget": {
            "name": "target_height"
          }
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [
        {
          "links": [
            52
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1510,
        -70
      ],
      "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": {
        "collapsed": true
      },
      "id": 31,
      "inputs": [
        {
          "link": 51,
          "name": "image1",
          "type": "IMAGE"
        },
        {
          "link": 52,
          "name": "image2",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            56
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1510,
        -10
      ],
      "properties": {
        "Node name for S&R": "ImageBatch",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        140,
        46
      ],
      "type": "ImageBatch",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 20,
      "inputs": [
        {
          "link": 39,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [],
      "pos": [
        370,
        -260
      ],
      "properties": {},
      "size": [
        530,
        780
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_1"
      ]
    },
    {
      "flags": {},
      "id": 21,
      "inputs": [
        {
          "link": 40,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [],
      "pos": [
        930,
        -260
      ],
      "properties": {},
      "size": [
        530,
        780
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_2"
      ]
    },
    {
      "flags": {},
      "id": 23,
      "inputs": [
        {
          "link": 42,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [],
      "pos": [
        930,
        580
      ],
      "properties": {},
      "size": [
        530,
        780
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_4"
      ]
    },
    {
      "flags": {},
      "id": 22,
      "inputs": [
        {
          "link": 41,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [],
      "pos": [
        370,
        580
      ],
      "properties": {},
      "size": [
        530,
        780
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_3"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 35,
      "inputs": [
        {
          "link": 56,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            57
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1800,
        -260
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        430,
        640
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "Upscale image 1. Use the poster from image 2 as a reference to fix the text.",
        "gemini-3-pro-image-preview",
        54321,
        "fixed",
        "auto",
        "4K",
        "IMAGE+TEXT"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 40,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            63
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1350,
        30
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        280,
        100
      ],
      "title": "Describe the Lighting",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "high-contrast studio lighting"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 26,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            44
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1350,
        -260
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        276.2760416666667,
        105.24739583333334
      ],
      "title": "Describe the Mockup Medium",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "billboards"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 27,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            46
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1350,
        -110
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        280,
        100
      ],
      "title": "Describe the Aesthetic",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "minimalist in a clean neutral toned environment"
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 2,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [],
      "pos": [
        -420,
        -260
      ],
      "properties": {},
      "size": [
        500,
        590
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_stitched"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 37,
      "inputs": [
        {
          "link": 57,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [],
      "pos": [
        2270,
        -260
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        520,
        780
      ],
      "title": "Save Upscaled Image",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_upscaled"
      ]
    },
    {
      "flags": {},
      "id": 2,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            1,
            59
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -1730,
        -260
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "size": [
        359.375,
        631.6536458333334
      ],
      "title": "Load Poster Image",
      "type": "LoadImage",
      "widgets_values": [
        "template_Poster_Scene_Mockups.jpg",
        "image"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 24,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            43
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1350,
        180
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "size": [
        280,
        190
      ],
      "title": "Prompt Template",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "Create a 2x2 grid composition featuring four distinct, high-quality mockups. Populate each of the four panels by integrating the poster shown in image 1 (maintain the input posters aspect ratio) into various {type}.\n\nThe entire grid must strictly adhere to a {aesthetic} aesthetic.\n\nApply coordinated {lighting} across all four scenarios to ensure visual consistency. Ensure the scenes in each panel are varied use-cases and look authentic to the chosen medium."
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 41,
      "inputs": [
        {
          "link": 62,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        },
        {
          "link": 63,
          "name": "replace",
          "type": "STRING",
          "widget": {
            "name": "replace"
          }
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            64
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1020,
        -150
      ],
      "properties": {
        "Node name for S&R": "RegexReplace"
      },
      "size": [
        210,
        272
      ],
      "type": "RegexReplace",
      "widgets_values": [
        "",
        "{lighting}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 28,
      "inputs": [
        {
          "link": 45,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        },
        {
          "link": 46,
          "name": "replace",
          "type": "STRING",
          "widget": {
            "name": "replace"
          }
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            62
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1020,
        -210
      ],
      "properties": {
        "Node name for S&R": "RegexReplace"
      },
      "size": [
        210,
        272
      ],
      "type": "RegexReplace",
      "widgets_values": [
        "",
        "{aesthetic}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 25,
      "inputs": [
        {
          "link": 43,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        },
        {
          "link": 44,
          "name": "replace",
          "type": "STRING",
          "widget": {
            "name": "replace"
          }
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            45
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -1020,
        -260
      ],
      "properties": {
        "Node name for S&R": "RegexReplace"
      },
      "size": [
        210,
        272
      ],
      "type": "RegexReplace",
      "widgets_values": [
        "",
        "{type}",
        "",
        true,
        false,
        false,
        0
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {
        "collapsed": false
      },
      "id": 18,
      "inputs": [],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            38
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -720,
        -410
      ],
      "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"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {
        "collapsed": true
      },
      "id": 43,
      "inputs": [],
      "mode": 0,
      "order": 7,
      "outputs": [],
      "pos": [
        -2098.6977916537103,
        -253.11670654132948
      ],
      "properties": {},
      "size": [
        314.06990270592246,
        88
      ],
      "title": "Required Custom Nodes (For local user)",
      "type": "MarkdownNote",
      "widgets_values": [
        "[Guide: Install custom node](https://docs.comfy.org/installation/install_custom_node)\n\n- [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes)\n- [ComfyUI_essentials](https://github.com/cubiq/ComfyUI_essentials)"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 1,
      "inputs": [
        {
          "link": 1,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        },
        {
          "link": 64,
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            2,
            37
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -830,
        -260
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node"
      },
      "size": [
        360,
        590
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "",
        "gemini-3-pro-image-preview",
        333,
        "fixed",
        "2:3",
        "4K",
        "IMAGE"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 19,
      "inputs": [
        {
          "link": 37,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "crop_inset",
          "link": 38,
          "name": "a",
          "type": "INT,FLOAT"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "label": "IMAGE_1",
          "links": [
            39
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "label": "IMAGE_2",
          "links": [
            40
          ],
          "name": "IMAGE_1",
          "type": "IMAGE"
        },
        {
          "label": "IMAGE_3",
          "links": [
            41
          ],
          "name": "IMAGE_2",
          "type": "IMAGE"
        },
        {
          "label": "IMAGE_4",
          "links": [
            42
          ],
          "name": "IMAGE_3",
          "type": "IMAGE"
        },
        {
          "links": [
            58
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        140,
        -260
      ],
      "properties": {
        "proxyWidgets": []
      },
      "size": [
        187.1115986715854,
        120
      ],
      "type": "b04db13c-0164-4644-a228-21050043aafc",
      "widgets_values": []
    }
  ],
  "revision": 0,
  "version": 0.4
}