{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "9ba355a9-d63f-4633-96b6-27c01a26e0a4",
        "inputNode": {
          "bounding": [
            1410,
            418.0000000000001,
            120,
            60
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "fef632e8-8a11-4a9b-99e9-c9796f985201",
            "linkIds": [
              56,
              247,
              256,
              471,
              627
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              1510,
              438.0000000000001
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 64,
            "origin_id": 29,
            "origin_slot": 0,
            "target_id": 32,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 56,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 18,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 172,
            "origin_id": 18,
            "origin_slot": 0,
            "target_id": 65,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 185,
            "origin_id": 18,
            "origin_slot": 1,
            "target_id": 66,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 197,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 63,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 247,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 96,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 248,
            "origin_id": 96,
            "origin_slot": 0,
            "target_id": 29,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 256,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 258,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 99,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 259,
            "origin_id": 99,
            "origin_slot": 0,
            "target_id": 29,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 267,
            "origin_id": 65,
            "origin_slot": 0,
            "target_id": 100,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 268,
            "origin_id": 100,
            "origin_slot": 0,
            "target_id": 29,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 304,
            "origin_id": 101,
            "origin_slot": 0,
            "target_id": 109,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 315,
            "origin_id": 97,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 403,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 133,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 404,
            "origin_id": 65,
            "origin_slot": 0,
            "target_id": 134,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 405,
            "origin_id": 134,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 406,
            "origin_id": 133,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 422,
            "origin_id": 145,
            "origin_slot": 0,
            "target_id": 136,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 429,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 144,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 430,
            "origin_id": 143,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 431,
            "origin_id": 153,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 432,
            "origin_id": 154,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 433,
            "origin_id": 144,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 469,
            "origin_id": 65,
            "origin_slot": 0,
            "target_id": 153,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 470,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 154,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 471,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 143,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 510,
            "origin_id": 187,
            "origin_slot": 0,
            "target_id": 164,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 517,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 172,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 518,
            "origin_id": 65,
            "origin_slot": 0,
            "target_id": 173,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 519,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 174,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 531,
            "origin_id": 171,
            "origin_slot": 0,
            "target_id": 187,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 532,
            "origin_id": 173,
            "origin_slot": 0,
            "target_id": 187,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 533,
            "origin_id": 174,
            "origin_slot": 0,
            "target_id": 187,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 534,
            "origin_id": 172,
            "origin_slot": 0,
            "target_id": 187,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 627,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 171,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 1018,
            "origin_id": 335,
            "origin_slot": 0,
            "target_id": 333,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1019,
            "origin_id": 336,
            "origin_slot": 0,
            "target_id": 333,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 1021,
            "origin_id": 337,
            "origin_slot": 0,
            "target_id": 333,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 1023,
            "origin_id": 338,
            "origin_slot": 0,
            "target_id": 333,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 1032,
            "origin_id": 333,
            "origin_slot": 0,
            "target_id": 343,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1033,
            "origin_id": 333,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1117,
            "origin_id": 29,
            "origin_slot": 0,
            "target_id": 335,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1118,
            "origin_id": 101,
            "origin_slot": 0,
            "target_id": 336,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1119,
            "origin_id": 145,
            "origin_slot": 0,
            "target_id": 337,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1120,
            "origin_id": 187,
            "origin_slot": 0,
            "target_id": 338,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 1160,
            "origin_id": 63,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 1161,
            "origin_id": 335,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 1162,
            "origin_id": 336,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 1163,
            "origin_id": 337,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 1164,
            "origin_id": 338,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "type": "IMAGE"
          }
        ],
        "name": "Crop Images",
        "nodes": [
          {
            "flags": {
              "collapsed": false
            },
            "id": 18,
            "inputs": [
              {
                "link": 56,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  172
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  185
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              1670,
              -360
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.3.71"
            },
            "size": [
              140,
              70
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 99,
            "inputs": [
              {
                "link": 258,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  259
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2160,
              -50
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 100,
            "inputs": [
              {
                "link": 267,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  268
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2160,
              -100
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 97,
            "inputs": [
              {
                "link": 256,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  315
                ],
                "name": "",
                "type": "*"
              }
            ],
            "pos": [
              2150,
              300
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              80,
              26.000000000000004
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 134,
            "inputs": [
              {
                "link": 404,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  405
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2160,
              490
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 133,
            "inputs": [
              {
                "link": 403,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  406
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2160,
              540
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 136,
            "inputs": [
              {
                "link": 422,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [],
            "pos": [
              2870,
              1130
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              258
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 153,
            "inputs": [
              {
                "link": 469,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 19,
            "outputs": [
              {
                "links": [
                  431
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2150,
              1080
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 154,
            "inputs": [
              {
                "link": 470,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 20,
            "outputs": [
              {
                "links": [
                  432
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2150,
              1130
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 143,
            "inputs": [
              {
                "link": 471,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  430
                ],
                "name": "",
                "type": "*"
              }
            ],
            "pos": [
              2140,
              890
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26.000000000000004
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 96,
            "inputs": [
              {
                "link": 247,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  248
                ],
                "name": "",
                "type": "*"
              }
            ],
            "pos": [
              2160,
              -240
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26.000000000000004
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 164,
            "inputs": [
              {
                "link": 510,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 21,
            "outputs": [],
            "pos": [
              2870,
              1680
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              258
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 171,
            "inputs": [
              {
                "link": 627,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 22,
            "outputs": [
              {
                "links": [
                  531
                ],
                "name": "",
                "type": "*"
              }
            ],
            "pos": [
              2130,
              1440
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26.000000000000004
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 173,
            "inputs": [
              {
                "link": 518,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 24,
            "outputs": [
              {
                "links": [
                  532
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2140,
              1630
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 174,
            "inputs": [
              {
                "link": 519,
                "name": "",
                "type": "*",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 25,
            "outputs": [
              {
                "links": [
                  533
                ],
                "name": "",
                "type": "INT"
              }
            ],
            "pos": [
              2140,
              1680
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 333,
            "inputs": [
              {
                "link": 1018,
                "localized_name": "image_1",
                "name": "image_1",
                "type": "IMAGE"
              },
              {
                "link": 1019,
                "localized_name": "image_2",
                "name": "image_2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 1021,
                "name": "image_3",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 1023,
                "name": "image_4",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 27,
            "outputs": [
              {
                "links": [
                  1032,
                  1033
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3440,
              -170
            ],
            "properties": {
              "Node name for S&R": "ImageBatchMulti",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              250,
              142
            ],
            "type": "ImageBatchMulti",
            "widgets_values": [
              4,
              null
            ]
          },
          {
            "flags": {},
            "id": 343,
            "inputs": [
              {
                "link": 1032,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 32,
            "outputs": [],
            "pos": [
              4240,
              -170
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.4.0"
            },
            "size": [
              1000,
              1060
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 32,
            "inputs": [
              {
                "link": 64,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2870,
              -30
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              258
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 29,
            "inputs": [
              {
                "link": 248,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 268,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 259,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  64,
                  1117
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2870,
              -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": 109,
            "inputs": [
              {
                "link": 304,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [],
            "pos": [
              2870,
              540
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              258
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 353,
            "inputs": [
              {
                "link": null,
                "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": 0,
            "outputs": [
              {
                "links": [],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2420,
              1140
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Row 3 - Y val",
            "type": "SimpleMath+",
            "widgets_values": [
              "(2*a) + (3*b)"
            ]
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 65,
            "inputs": [
              {
                "link": 172,
                "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": 5,
            "outputs": [
              {
                "links": [
                  267,
                  404,
                  469,
                  518
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1870,
              -480
            ],
            "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"
            ]
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 66,
            "inputs": [
              {
                "link": 185,
                "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": 6,
            "outputs": [
              {
                "links": [
                  197,
                  258,
                  403,
                  429,
                  470,
                  517,
                  519
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1870,
              -350
            ],
            "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 / 4"
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 63,
            "inputs": [
              {
                "link": 197,
                "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": 4,
            "outputs": [
              {
                "links": [
                  1160
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2150,
              380
            ],
            "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"
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 144,
            "inputs": [
              {
                "link": 429,
                "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": [
                  433
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2140,
              970
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Row 3 - Y val",
            "type": "SimpleMath+",
            "widgets_values": [
              "2*a"
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {},
            "id": 172,
            "inputs": [
              {
                "link": 517,
                "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": 23,
            "outputs": [
              {
                "links": [
                  534
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2130,
              1520
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Row 4 - Y val",
            "type": "SimpleMath+",
            "widgets_values": [
              "3*a"
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 101,
            "inputs": [
              {
                "link": 315,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 405,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 406,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 1160,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  304,
                  1118
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2870,
              360
            ],
            "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": 145,
            "inputs": [
              {
                "link": 430,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 431,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 432,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 433,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  422,
                  1119
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2870,
              950
            ],
            "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": 187,
            "inputs": [
              {
                "link": 531,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 532,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 533,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 534,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 26,
            "outputs": [
              {
                "links": [
                  510,
                  1120
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2870,
              1500
            ],
            "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": 335,
            "inputs": [
              {
                "link": 1117,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 28,
            "outputs": [
              {
                "links": [
                  1018,
                  1161
                ],
                "name": "",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3160,
              -210
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 336,
            "inputs": [
              {
                "link": 1118,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 29,
            "outputs": [
              {
                "links": [
                  1019,
                  1162
                ],
                "name": "",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3160,
              360
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 337,
            "inputs": [
              {
                "link": 1119,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 30,
            "outputs": [
              {
                "links": [
                  1021,
                  1163
                ],
                "name": "",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3160,
              950
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          },
          {
            "flags": {},
            "id": 338,
            "inputs": [
              {
                "link": 1120,
                "name": "",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 31,
            "outputs": [
              {
                "links": [
                  1023,
                  1164
                ],
                "name": "",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3160,
              1500
            ],
            "properties": {
              "horizontal": false,
              "showOutputText": false
            },
            "size": [
              75,
              26
            ],
            "type": "Reroute"
          }
        ],
        "outputNode": {
          "bounding": [
            3920,
            210,
            120,
            140
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "5e45c018-536c-4c36-9262-2cc58468c513",
            "label": "images",
            "linkIds": [
              1033
            ],
            "name": "IMAGE_1",
            "pos": [
              3940,
              230
            ],
            "type": "IMAGE"
          },
          {
            "id": "122aca60-ddfd-4577-ba66-66f565acc3bb",
            "label": "image_1",
            "linkIds": [
              1161
            ],
            "name": "",
            "pos": [
              3940,
              250
            ],
            "type": "IMAGE"
          },
          {
            "id": "917062ae-48dc-4291-b664-59233ead9b1b",
            "label": "image_2",
            "linkIds": [
              1162
            ],
            "name": "_1",
            "pos": [
              3940,
              270
            ],
            "type": "IMAGE"
          },
          {
            "id": "ee14e575-6254-422f-b94f-ac7296d0c3e4",
            "label": "image_3",
            "linkIds": [
              1163
            ],
            "name": "_2",
            "pos": [
              3940,
              290
            ],
            "type": "IMAGE"
          },
          {
            "id": "21f687cf-8d8e-4c6c-9158-61ed72cf12bd",
            "label": "image_4",
            "linkIds": [
              1164
            ],
            "name": "_3",
            "pos": [
              3940,
              310
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 1164,
          "lastNodeId": 354,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "be0242a4-20b1-44ca-afdd-d7518c2370c7",
        "inputNode": {
          "bounding": [
            2250,
            70,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "6beef2bb-f6e9-479a-a2e4-f5afb7699b4d",
            "label": "ref_image",
            "linkIds": [
              146
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              2350,
              90
            ],
            "type": "IMAGE"
          },
          {
            "id": "8123d786-f1e9-4200-aa5c-140e494e91b5",
            "label": "images",
            "linkIds": [
              142
            ],
            "localized_name": "image_1",
            "name": "image_1",
            "pos": [
              2350,
              110
            ],
            "type": "IMAGE"
          },
          {
            "id": "eec6695e-4e8d-4a2d-9d19-98f73c1f77e5",
            "linkIds": [
              162
            ],
            "localized_name": "a",
            "name": "a",
            "pos": [
              2350,
              130
            ],
            "shape": 7,
            "type": "INT,FLOAT"
          }
        ],
        "links": [
          {
            "id": 150,
            "origin_id": 86,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 151,
            "origin_id": 86,
            "origin_slot": 1,
            "target_id": 83,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 149,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 86,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 152,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 87,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 153,
            "origin_id": 83,
            "origin_slot": 0,
            "target_id": 87,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 160,
            "origin_id": 89,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 146,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 142,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 78,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 154,
            "origin_id": 87,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 161,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 162,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 89,
            "target_slot": 0,
            "type": "INT,FLOAT"
          }
        ],
        "name": "Select and Batch",
        "nodes": [
          {
            "flags": {
              "collapsed": true
            },
            "id": 86,
            "inputs": [
              {
                "link": 149,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  150
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  151
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              2430,
              140
            ],
            "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": 83,
            "inputs": [
              {
                "link": 146,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 150,
                "localized_name": "target_width",
                "name": "target_width",
                "type": "INT",
                "widget": {
                  "name": "target_width"
                }
              },
              {
                "link": 151,
                "localized_name": "target_height",
                "name": "target_height",
                "type": "INT",
                "widget": {
                  "name": "target_height"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  153
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              190
            ],
            "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": 87,
            "inputs": [
              {
                "link": 152,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 153,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  154
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              240
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              140,
              46
            ],
            "type": "ImageBatch",
            "widgets_values": []
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 78,
            "inputs": [
              {
                "link": 142,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 160,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  149,
                  152,
                  161
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              70
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              81.99999999999999
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              1
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 89,
            "inputs": [
              {
                "link": 162,
                "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": 4,
            "outputs": [
              {
                "links": [
                  160
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2430,
              -70
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Image # as index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a - 1"
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2662.734375,
            90,
            128.62890625,
            80
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "a88ccd25-83b4-4f7c-b847-1baf9ecd1d7b",
            "label": "images",
            "linkIds": [
              154
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2682.734375,
              110
            ],
            "type": "IMAGE"
          },
          {
            "id": "6f97f8fd-4596-419e-bf77-c2229a682c3f",
            "label": "selected_image",
            "linkIds": [
              161
            ],
            "name": "IMAGE_1",
            "pos": [
              2682.734375,
              130
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 162,
          "lastNodeId": 92,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1248.930298407553,
        305.9463445014628
      ],
      "scale": 0.531948352601498
    },
    "frontendVersion": "1.36.13",
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "0c8712fb-fe59-4ad3-8241-ada3091f7a93",
  "last_link_id": 28,
  "last_node_id": 24,
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "IMAGE"
    ],
    [
      2,
      2,
      0,
      3,
      0,
      "IMAGE"
    ],
    [
      6,
      2,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      10,
      7,
      1,
      10,
      0,
      "IMAGE"
    ],
    [
      11,
      7,
      2,
      11,
      0,
      "IMAGE"
    ],
    [
      14,
      7,
      3,
      13,
      0,
      "IMAGE"
    ],
    [
      15,
      7,
      4,
      12,
      0,
      "IMAGE"
    ],
    [
      18,
      14,
      1,
      15,
      0,
      "IMAGE"
    ],
    [
      19,
      15,
      0,
      16,
      0,
      "IMAGE"
    ],
    [
      20,
      14,
      1,
      18,
      0,
      "IMAGE"
    ],
    [
      21,
      1,
      0,
      19,
      0,
      "IMAGE"
    ],
    [
      22,
      19,
      0,
      20,
      0,
      "IMAGE"
    ],
    [
      23,
      20,
      0,
      14,
      0,
      "IMAGE"
    ],
    [
      24,
      21,
      0,
      14,
      2,
      "INT"
    ],
    [
      25,
      7,
      0,
      14,
      1,
      "IMAGE"
    ],
    [
      26,
      23,
      0,
      24,
      0,
      "STRING"
    ],
    [
      27,
      22,
      0,
      24,
      1,
      "STRING"
    ],
    [
      28,
      24,
      0,
      2,
      2,
      "STRING"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": 20,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [],
      "pos": [
        3199.999827372238,
        559.9999847012277
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.4.0"
      },
      "size": [
        280,
        300
      ],
      "title": "Save Selected Image",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-selected_image"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 14,
      "inputs": [
        {
          "label": "ref_image",
          "link": 23,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "label": "images",
          "link": 25,
          "name": "image_1",
          "type": "IMAGE"
        },
        {
          "link": 24,
          "name": "a",
          "type": "INT,FLOAT"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "label": "images",
          "links": [],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "label": "selected_image",
          "links": [
            18,
            20
          ],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3199.9997412565162,
        420.00001454720643
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [],
        "ver": "0.3.76"
      },
      "size": [
        258.33333333333337,
        80
      ],
      "type": "be0242a4-20b1-44ca-afdd-d7518c2370c7",
      "widgets_values": []
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 1,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            1,
            21
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -418.3333501350108,
        264.9999794268028
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        420,
        540
      ],
      "type": "LoadImage",
      "widgets_values": [
        "cube_robot.jpg",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 16,
      "inputs": [
        {
          "link": 19,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [],
      "pos": [
        4029.9992991597674,
        259.9999834955403
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.4.0"
      },
      "size": [
        430,
        570
      ],
      "title": "Save Upscaled Image",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-selected_image-upscaled"
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 2,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [],
      "pos": [
        1000.000006367409,
        259.9999756619435
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        490,
        951.0416666666667
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-split_stack"
      ]
    },
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 11,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [],
      "pos": [
        2510.0001435280806,
        259.9999834955403
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        600,
        420
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_2"
      ]
    },
    {
      "flags": {},
      "id": 13,
      "inputs": [
        {
          "link": 14,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [],
      "pos": [
        1839.9997564851376,
        780.000001940728
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        600,
        450
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_1"
      ]
    },
    {
      "flags": {},
      "id": 20,
      "inputs": [
        {
          "link": 22,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            23
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3029.999524115421,
        1299.9999713199272
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 19,
      "inputs": [
        {
          "link": 21,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            22
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1356.6666666666667,
        1298.3333333333335
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        75,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 10,
      "inputs": [
        {
          "link": 10,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [],
      "pos": [
        1839.9997564851376,
        259.9999834955403
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        600,
        420
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_1"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 21,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            24
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        3199.999827372238,
        259.9999834955403
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        260,
        110
      ],
      "title": "Select Image Number",
      "type": "PrimitiveInt",
      "widgets_values": [
        1,
        "fixed"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 15,
      "inputs": [
        {
          "link": 18,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            19
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        3540.0000413579664,
        259.9999834955403
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        430,
        570
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "Upscale image 1 and add subtle details. Crop if necessary.",
        "gemini-3-pro-image-preview",
        321,
        "fixed",
        "16:9",
        "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."
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 7,
      "inputs": [
        {
          "link": 6,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "label": "images",
          "links": [
            25
          ],
          "name": "IMAGE_1",
          "type": "IMAGE"
        },
        {
          "label": "image_1",
          "links": [
            10
          ],
          "name": "",
          "type": "IMAGE"
        },
        {
          "label": "image_2",
          "links": [
            11
          ],
          "name": "_1",
          "type": "IMAGE"
        },
        {
          "label": "image_3",
          "links": [
            14
          ],
          "name": "_2",
          "type": "IMAGE"
        },
        {
          "label": "image_4",
          "links": [
            15
          ],
          "name": "_3",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1549.999747141975,
        259.9999834955403
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [],
        "ver": "0.3.76"
      },
      "size": [
        210,
        120
      ],
      "type": "9ba355a9-d63f-4633-96b6-27c01a26e0a4",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 12,
      "inputs": [
        {
          "link": 15,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [],
      "pos": [
        2510.0001435280806,
        780.000001940728
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        600,
        450
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_2"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": 1,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        },
        {
          "link": 28,
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            2,
            6
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        540,
        256.6666666666667
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        400,
        540
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "",
        "gemini-3-pro-image-preview",
        123,
        "fixed",
        "9:16",
        "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": {},
      "id": 22,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            27
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        31.66666666666667,
        265
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        340,
        135
      ],
      "title": "Describe the Scene",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "The subject is inside a giant computer motherboard landscape - towering capacitors, circuit trace pathways like roads, and LED lights creating a Tron-like microverse where the robot fits the scale perfectly. Dark eerie atmosphere."
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 23,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            26
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        40,
        490
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        266.6666666666667,
        308.33333333333337
      ],
      "title": "Prompt Template",
      "type": "PrimitiveStringMultiline",
      "widgets_values": [
        "Use the input image. Divide the frame in 4 different stacked 16:9 frames.\nFor each frame choose the angle and type of shot (close up, extreme close up, dutch, over-shoulder, wide shot, Cowboy shot, full shot, etc).\n\nEnsure that subject is present in each frame and the environment is consistent between frames:\n{scene}"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 24,
      "inputs": [
        {
          "link": 26,
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          }
        },
        {
          "link": 27,
          "name": "replace",
          "type": "STRING",
          "widget": {
            "name": "replace"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            28
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        331.6666666666667,
        515
      ],
      "properties": {
        "Node name for S&R": "RegexReplace",
        "cnr_id": "comfy-core",
        "ver": "0.3.76"
      },
      "size": [
        210,
        34
      ],
      "type": "RegexReplace",
      "widgets_values": [
        "",
        "{scene}",
        "",
        true,
        false,
        false,
        0
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}