{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "09d74a3c-b4a8-4003-88c0-27da9d5082a7",
        "inputNode": {
          "bounding": [
            848.920446566751,
            416.02058889632974,
            120,
            80
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "eb15a6da-be18-49ea-81f2-dba4711d5c28",
            "linkIds": [
              29,
              30,
              36,
              35,
              27
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              948.920446566751,
              436.02058889632974
            ],
            "type": "IMAGE"
          },
          {
            "id": "72145059-2ba2-42ec-8379-8412482057af",
            "label": "crop_inset",
            "linkIds": [
              28
            ],
            "localized_name": "a",
            "name": "a",
            "pos": [
              948.920446566751,
              456.02058889632974
            ],
            "shape": 7,
            "type": "INT,FLOAT"
          }
        ],
        "links": [
          {
            "id": 3,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 4,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 5,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 6,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 7,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 9,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 10,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 11,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 15,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 16,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 17,
            "origin_id": 13,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 33,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 25,
            "origin_id": 17,
            "origin_slot": 1,
            "target_id": 16,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 26,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 16,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 12,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 13,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 34,
            "origin_id": 12,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 21,
            "origin_id": 15,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 22,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 13,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 19,
            "origin_id": 16,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 20,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 12,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 23,
            "origin_id": 17,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 24,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 15,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 5,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 29,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 30,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 36,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 35,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 27,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 17,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 28,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 14,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 46,
            "origin_id": 19,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 51,
            "origin_id": 17,
            "origin_slot": 1,
            "target_id": 22,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 53,
            "origin_id": 17,
            "origin_slot": 0,
            "target_id": 23,
            "target_slot": 0,
            "type": "INT,FLOAT"
          },
          {
            "id": 55,
            "origin_id": 22,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 56,
            "origin_id": 23,
            "origin_slot": 0,
            "target_id": 20,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 57,
            "origin_id": 14,
            "origin_slot": 0,
            "target_id": 24,
            "target_slot": 1,
            "type": "INT,FLOAT"
          },
          {
            "id": 58,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 59,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 10,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 60,
            "origin_id": 24,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 72,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 73,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 74,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 75,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 76,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 32,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 77,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 28,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 78,
            "origin_id": 10,
            "origin_slot": 0,
            "target_id": 29,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 79,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 30,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 80,
            "origin_id": 20,
            "origin_slot": 0,
            "target_id": 31,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 81,
            "origin_id": 31,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 82,
            "origin_id": 32,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 83,
            "origin_id": 28,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 84,
            "origin_id": 29,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 85,
            "origin_id": 30,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 3,
            "type": "IMAGE"
          }
        ],
        "name": "Crop Images",
        "nodes": [
          {
            "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"
            ]
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 15,
            "inputs": [
              {
                "link": 23,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 24,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  7,
                  9,
                  12,
                  15,
                  21
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1292.1975730627237,
              -151.97941110367026
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "title": "WIDTH",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a-2*b) / 2"
            ]
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 17,
            "inputs": [
              {
                "link": 27,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  23,
                  53
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  25,
                  51
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              1028.920446566751,
              -151.97941110367026
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core",
              "ver": "0.3.71"
            },
            "size": [
              170,
              70
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 22,
            "inputs": [
              {
                "link": 51,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  55
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              3260,
              180
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              108
            ],
            "title": "HEIGHT / 2",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a) / 2"
            ]
          },
          {
            "flags": {},
            "id": 19,
            "inputs": [
              {
                "link": 72,
                "localized_name": "image_1",
                "name": "image_1",
                "type": "IMAGE"
              },
              {
                "link": 73,
                "localized_name": "image_2",
                "name": "image_2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 74,
                "name": "image_3",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 75,
                "name": "image_4",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  46
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2880,
              230
            ],
            "properties": {
              "Node name for S&R": "ImageBatchMulti",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              270,
              162
            ],
            "type": "ImageBatchMulti",
            "widgets_values": [
              4,
              null
            ]
          },
          {
            "flags": {},
            "id": 5,
            "inputs": [
              {
                "link": 4,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              2432.5006822558066,
              398.6018229471542
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              274.4446342363881
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 4,
            "inputs": [
              {
                "link": 3,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [],
            "pos": [
              2010,
              400
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              273.6947618483548
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [
              {
                "link": 5,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [],
            "pos": [
              2010,
              990
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              258
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 6,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2430,
              990
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              210,
              261.91115463363883
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "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": [
              2440.884286526428,
              -37.973563831486864
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Col 2 - X val",
            "type": "SimpleMath+",
            "widgets_values": [
              "a + (b/2)"
            ]
          },
          {
            "bgcolor": "#335",
            "color": "#223",
            "flags": {
              "collapsed": false
            },
            "id": 24,
            "inputs": [
              {
                "link": null,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": 57,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  58,
                  59,
                  60
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              2003.376445073531,
              -46.681313460559885
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              108
            ],
            "title": "Col 1 - X val",
            "type": "SimpleMath+",
            "widgets_values": [
              "b/2"
            ]
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 23,
            "inputs": [
              {
                "link": 53,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  56
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              3260,
              40
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "title": "WIDTH / 2",
            "type": "SimpleMath+",
            "widgets_values": [
              "(a) / 2"
            ]
          },
          {
            "bgcolor": "#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": [
              1717.2767998413403,
              800.0769418842202
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              210,
              78
            ],
            "title": "Row 2 - Y val",
            "type": "SimpleMath+",
            "widgets_values": [
              "a + (b/2)"
            ]
          },
          {
            "flags": {},
            "id": 14,
            "inputs": [
              {
                "link": 28,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  20,
                  22,
                  24,
                  26,
                  57
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              1294.9657108354775,
              125.10428373318376
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              270,
              78
            ],
            "type": "SimpleMath+",
            "widgets_values": [
              "a"
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 29,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 7,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 8,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 58,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": 60,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  3,
                  72,
                  76
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2010,
              220
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "1",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 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,
                  73,
                  77
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              220
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "2",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 35,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 12,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 13,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 59,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": 34,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  5,
                  74,
                  78
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2010,
              800
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "3",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 36,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 15,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 16,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 17,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": 33,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  6,
                  75,
                  79
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "slot_index": 0,
                "type": "IMAGE"
              }
            ],
            "pos": [
              2430,
              800
            ],
            "properties": {
              "Node name for S&R": "ImageCrop",
              "cnr_id": "comfy-core",
              "ver": "0.3.26"
            },
            "size": [
              210,
              130
            ],
            "title": "4",
            "type": "ImageCrop",
            "widgets_values": [
              1,
              1,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 20,
            "inputs": [
              {
                "link": 46,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK"
              },
              {
                "link": 56,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 55,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  80
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK"
              }
            ],
            "pos": [
              3260,
              390
            ],
            "properties": {
              "Node name for S&R": "ImageResizeKJv2",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              270,
              286
            ],
            "title": "Resize Images",
            "type": "ImageResizeKJv2",
            "widgets_values": [
              512,
              512,
              "lanczos",
              "stretch",
              "0, 0, 0",
              "center",
              2,
              "cpu"
            ]
          },
          {
            "flags": {},
            "id": 31,
            "inputs": [
              {
                "link": 80,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 22,
            "outputs": [
              {
                "links": [
                  81
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3810.6961456800473,
              430.32666380698663
            ],
            "properties": {
              "Node name for S&R": "ImageRemoveAlpha+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              201.2154296875,
              26
            ],
            "type": "ImageRemoveAlpha+",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 30,
            "inputs": [
              {
                "link": 79,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 21,
            "outputs": [
              {
                "links": [
                  85
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3810,
              350
            ],
            "properties": {
              "Node name for S&R": "ImageRemoveAlpha+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              201.2154296875,
              26
            ],
            "type": "ImageRemoveAlpha+",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 29,
            "inputs": [
              {
                "link": 78,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 20,
            "outputs": [
              {
                "links": [
                  84
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3810,
              280
            ],
            "properties": {
              "Node name for S&R": "ImageRemoveAlpha+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              201.2154296875,
              26
            ],
            "type": "ImageRemoveAlpha+",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 28,
            "inputs": [
              {
                "link": 77,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 19,
            "outputs": [
              {
                "links": [
                  83
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3810,
              210
            ],
            "properties": {
              "Node name for S&R": "ImageRemoveAlpha+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              201.2154296875,
              26
            ],
            "type": "ImageRemoveAlpha+",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 32,
            "inputs": [
              {
                "link": 76,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 23,
            "outputs": [
              {
                "links": [
                  82
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3810,
              140
            ],
            "properties": {
              "Node name for S&R": "ImageRemoveAlpha+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              201.2154296875,
              26
            ],
            "type": "ImageRemoveAlpha+",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            4145.357936821409,
            234.09335129655048,
            120,
            140.00000000000003
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "8ec6c1d4-c30e-4d27-9afc-d53cb8950a80",
            "label": "IMAGE_1",
            "linkIds": [
              82
            ],
            "name": "IMAGE",
            "pos": [
              4165.357936821409,
              254.09335129655048
            ],
            "type": "IMAGE"
          },
          {
            "id": "b5bfbdce-26ef-489c-8851-c100001380a0",
            "label": "IMAGE_2",
            "linkIds": [
              83
            ],
            "name": "IMAGE_1",
            "pos": [
              4165.357936821409,
              274.0933512965505
            ],
            "type": "IMAGE"
          },
          {
            "id": "ae6073b1-db37-4141-88fa-6cf4ba5dce26",
            "label": "IMAGE_3",
            "linkIds": [
              84
            ],
            "name": "IMAGE_2",
            "pos": [
              4165.357936821409,
              294.0933512965505
            ],
            "type": "IMAGE"
          },
          {
            "id": "404edd1c-fa1b-4e9f-bb64-a05a8b3ddcee",
            "label": "IMAGE_4",
            "linkIds": [
              85
            ],
            "name": "IMAGE_3",
            "pos": [
              4165.357936821409,
              314.0933512965505
            ],
            "type": "IMAGE"
          },
          {
            "id": "0543b553-e71f-4c30-afa3-855738c77bee",
            "linkIds": [
              81
            ],
            "name": "images",
            "pos": [
              4165.357936821409,
              334.0933512965505
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 1,
          "lastLinkId": 85,
          "lastNodeId": 32,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "1f2c1fd9-951c-4fa2-a9b0-20a5478891ff",
        "inputNode": {
          "bounding": [
            9544.493377654355,
            -461.8,
            120,
            80
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "c58ea8c2-d6ba-4cc2-8f0c-70275a8e5fdc",
            "linkIds": [
              57
            ],
            "localized_name": "image1",
            "name": "image1",
            "pos": [
              9644.493377654355,
              -441.8
            ],
            "type": "IMAGE"
          },
          {
            "id": "99d803be-07ff-4d35-9c25-2e0bfbcd7f0c",
            "linkIds": [
              58
            ],
            "localized_name": "image2",
            "name": "image2",
            "pos": [
              9644.493377654355,
              -421.8
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 55,
            "origin_id": 41,
            "origin_slot": 0,
            "target_id": 40,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 56,
            "origin_id": 42,
            "origin_slot": 0,
            "target_id": 41,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 57,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 42,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 58,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 42,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 59,
            "origin_id": 40,
            "origin_slot": 4,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "I'm a subgraph.",
        "nodes": [
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {
              "collapsed": false
            },
            "id": 43,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [],
            "pos": [
              10330,
              -650
            ],
            "properties": {},
            "size": [
              210,
              166.81142693505979
            ],
            "title": "ℹ️ Info",
            "type": "MarkdownNote",
            "widgets_values": [
              "1. This is a partner node, also called API node.\n2. They are often super powerful⚡️, but cost credits. The amount is displayed in the top-right corner.\n3. Within your subscription your credits are monthly automatically renewed.📆\n4. You can also purchase more credits in your user account."
            ]
          },
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {
              "collapsed": false
            },
            "id": 46,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              9890,
              -810
            ],
            "properties": {},
            "size": [
              221.6885197749143,
              88
            ],
            "title": "Step 2 - Unbypass node",
            "type": "MarkdownNote",
            "widgets_values": [
              "1. Select nodes that are bypassed\n2. Unbypass with CTRL/CMD + B"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 40,
            "inputs": [
              {
                "link": 55,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "label": "crop_inset",
                "link": null,
                "localized_name": "a",
                "name": "a",
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "label": "IMAGE_1",
                "links": [],
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "label": "IMAGE_2",
                "links": [],
                "name": "IMAGE_1",
                "type": "IMAGE"
              },
              {
                "label": "IMAGE_3",
                "links": [],
                "name": "IMAGE_2",
                "type": "IMAGE"
              },
              {
                "label": "IMAGE_4",
                "links": [],
                "name": "IMAGE_3",
                "type": "IMAGE"
              },
              {
                "links": [
                  59
                ],
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "pos": [
              10151.497591968417,
              -97.80194308414241
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [],
              "ver": "0.3.76"
            },
            "size": [
              180.8359305170452,
              109.10285686772932
            ],
            "type": "09d74a3c-b4a8-4003-88c0-27da9d5082a7",
            "widgets_values": []
          },
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {
              "collapsed": false
            },
            "id": 47,
            "inputs": [],
            "mode": 0,
            "order": 2,
            "outputs": [],
            "pos": [
              10665.78714843337,
              -463.06562398112317
            ],
            "properties": {},
            "size": [
              215.80576263282092,
              88
            ],
            "title": "Step 3 - Exit subgraph",
            "type": "MarkdownNote",
            "widgets_values": [
              "1. Hit **ESC** on your keyboard. "
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 41,
            "inputs": [
              {
                "link": 56,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              }
            ],
            "mode": 4,
            "order": 4,
            "outputs": [
              {
                "links": [
                  55
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": [],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              9890,
              -650
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.3.76"
            },
            "size": [
              400,
              510
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "Create a seamless 2x2 montage of the subject from the input image. Use a high-quality, cinematic editorial style. No grids, borders, or text.\n\nTop-Left: Distant shot (subject in wide environment).\n\nTop-Right: Mid shot (focus).\n\nBottom-Left: Extreme closeup (intricate detail).\n\nBottom-Right: Mid-distant shot (full body in context).",
              "gemini-3-pro-image-preview",
              333,
              "fixed",
              "16:9",
              "2K",
              "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": {},
            "id": 42,
            "inputs": [
              {
                "link": 57,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 58,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 4,
            "order": 5,
            "outputs": [
              {
                "links": [
                  56
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              9710.204239651437,
              -456.4384281562393
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.5.1"
            },
            "size": [
              140,
              46
            ],
            "type": "ImageBatch",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            10569.899464194605,
            -442.4663925429652,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "71c3b635-48fd-43f4-9ac1-71b295ee9bb3",
            "linkIds": [
              59
            ],
            "name": "images",
            "pos": [
              10589.899464194605,
              -422.4663925429652
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 2,
          "lastLinkId": 60,
          "lastNodeId": 47,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        -8997.043668382297,
        1275.362571730195
      ],
      "scale": 0.5679744055967563
    },
    "frontendVersion": "1.34.9",
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "9d421973-0d36-4180-a1d4-513565e88260",
  "last_link_id": 65,
  "last_node_id": 54,
  "links": [
    [
      60,
      7,
      0,
      46,
      0,
      "IMAGE"
    ],
    [
      61,
      3,
      0,
      46,
      1,
      "IMAGE"
    ],
    [
      62,
      46,
      0,
      2,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 3,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            61
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        9280,
        -280
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        290,
        326
      ],
      "type": "LoadImage",
      "widgets_values": [
        "gsc3_landscape.png",
        "image"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {
        "collapsed": true
      },
      "id": 20,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        10790,
        -870
      ],
      "properties": {},
      "size": [
        210,
        88
      ],
      "title": "Hit Run 👆",
      "type": "MarkdownNote",
      "widgets_values": [
        ""
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 2,
      "inputs": [
        {
          "link": 62,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        10790,
        -650
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        750.2524366471735,
        499.4966629355507
      ],
      "type": "SaveImage",
      "widgets_values": [
        "comfyui-relight-product"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {
        "collapsed": false
      },
      "id": 10,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        10230,
        -650
      ],
      "properties": {},
      "size": [
        230,
        90
      ],
      "title": "Step 1 - Enter Subgraph",
      "type": "MarkdownNote",
      "widgets_values": [
        "1. **Enter** the subgraph by clicking the **top-right icon**👇\n2. Get to know whats inside 🔍"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 46,
      "inputs": [
        {
          "link": 60,
          "name": "image1",
          "type": "IMAGE"
        },
        {
          "link": 61,
          "name": "image2",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            62
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        10230,
        -440
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "41",
            "prompt"
          ],
          [
            "41",
            "aspect_ratio"
          ],
          [
            "41",
            "resolution"
          ]
        ],
        "ver": "0.5.1"
      },
      "size": [
        229.8083849217237,
        370
      ],
      "type": "1f2c1fd9-951c-4fa2-a9b0-20a5478891ff",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 7,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            60
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        9280,
        -650
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1"
      },
      "size": [
        290,
        326
      ],
      "type": "LoadImage",
      "widgets_values": [
        "gsc3_car.jpeg",
        "image"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}