{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "b26cc822-68bf-4fd0-b66f-bb3f99cd1443",
        "inputNode": {
          "bounding": [
            -2390,
            610,
            120,
            60
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "190e929c-5f4a-4ae7-8294-b948fcc0806d",
            "linkIds": [
              501
            ],
            "localized_name": "image",
            "name": "image",
            "pos": [
              -2290,
              630
            ],
            "type": "IMAGE"
          }
        ],
        "links": [
          {
            "id": 501,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 241,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 502,
            "origin_id": 191,
            "origin_slot": 0,
            "target_id": 241,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 503,
            "origin_id": 191,
            "origin_slot": 1,
            "target_id": 241,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 504,
            "origin_id": 191,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 505,
            "origin_id": 191,
            "origin_slot": 0,
            "target_id": 243,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 506,
            "origin_id": 191,
            "origin_slot": 1,
            "target_id": 244,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 507,
            "origin_id": 191,
            "origin_slot": 1,
            "target_id": 245,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 508,
            "origin_id": 241,
            "origin_slot": 1,
            "target_id": 242,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 509,
            "origin_id": 241,
            "origin_slot": 1,
            "target_id": 243,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 510,
            "origin_id": 241,
            "origin_slot": 2,
            "target_id": 244,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 511,
            "origin_id": 241,
            "origin_slot": 2,
            "target_id": 245,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 512,
            "origin_id": 240,
            "origin_slot": 0,
            "target_id": 242,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 513,
            "origin_id": 240,
            "origin_slot": 0,
            "target_id": 243,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 514,
            "origin_id": 240,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 515,
            "origin_id": 240,
            "origin_slot": 0,
            "target_id": 245,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 516,
            "origin_id": 241,
            "origin_slot": 0,
            "target_id": 246,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 517,
            "origin_id": 242,
            "origin_slot": 1,
            "target_id": 246,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 518,
            "origin_id": 244,
            "origin_slot": 1,
            "target_id": 246,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 519,
            "origin_id": 243,
            "origin_slot": 1,
            "target_id": 246,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 520,
            "origin_id": 245,
            "origin_slot": 1,
            "target_id": 246,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 521,
            "origin_id": 249,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 522,
            "origin_id": 246,
            "origin_slot": 1,
            "target_id": -20,
            "target_slot": 1,
            "type": "MASK"
          },
          {
            "id": 523,
            "origin_id": 246,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 524,
            "origin_id": 247,
            "origin_slot": 0,
            "target_id": 248,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 525,
            "origin_id": 247,
            "origin_slot": 1,
            "target_id": 248,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 526,
            "origin_id": 246,
            "origin_slot": 0,
            "target_id": 249,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 527,
            "origin_id": 248,
            "origin_slot": 0,
            "target_id": 249,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 528,
            "origin_id": 246,
            "origin_slot": 1,
            "target_id": 249,
            "target_slot": 2,
            "type": "MASK"
          }
        ],
        "name": "Image Extender",
        "nodes": [
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {},
            "id": 228,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [],
            "pos": [
              -1960.0000735564854,
              649.9999704164572
            ],
            "properties": {},
            "size": [
              260,
              310
            ],
            "title": "Position Control",
            "type": "MarkdownNote",
            "widgets_values": [
              "## Position\n\n`top_or_left_whitespace_pct` (0–100) biases the input on the slack axis.\n\n- 0 = flush top/left\n- 50 = centered (default)\n- 100 = flush bottom/right\n\nThe active axis is whichever has slack after fitting the input into the target aspect ratio."
            ]
          },
          {
            "flags": {},
            "id": 191,
            "inputs": [
              {
                "link": null,
                "localized_name": "megapixel",
                "name": "megapixel",
                "type": "COMBO",
                "widget": {
                  "name": "megapixel"
                }
              },
              {
                "link": null,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "divisible_by",
                "name": "divisible_by",
                "type": "COMBO",
                "widget": {
                  "name": "divisible_by"
                }
              },
              {
                "link": null,
                "localized_name": "custom_ratio",
                "name": "custom_ratio",
                "type": "BOOLEAN",
                "widget": {
                  "name": "custom_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "custom_aspect_ratio",
                "name": "custom_aspect_ratio",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "custom_aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  502,
                  504,
                  505
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  503,
                  506,
                  507
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "resolution",
                "name": "resolution",
                "type": "STRING"
              },
              {
                "links": [],
                "localized_name": "preview",
                "name": "preview",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -2100.0000966265598,
              99.99997805791267
            ],
            "properties": {
              "Node name for S&R": "FluxResolutionNode",
              "cnr_id": "controlaltai-nodes",
              "enableTabs": false,
              "hasSecondTab": false,
              "secondTabOffset": 80,
              "secondTabText": "Send Back",
              "secondTabWidth": 65,
              "tabWidth": 65,
              "tabXOffset": 10,
              "ver": "1.1.1",
              "widget_ue_connectable": {}
            },
            "size": [
              400,
              320
            ],
            "type": "FluxResolutionNode",
            "widgets_values": [
              "2.1",
              "32:9 (Extreme Ultrawide)",
              "8",
              false,
              "1:1"
            ]
          },
          {
            "flags": {},
            "id": 240,
            "inputs": [
              {
                "label": "top_or_left_outpaint_pct",
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  512,
                  513,
                  514,
                  515
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -2100.0000966265598,
              489.9999513302055
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt"
            },
            "size": [
              400,
              90
            ],
            "title": "top_or_left_outpaint_pct",
            "type": "PrimitiveInt",
            "widgets_values": [
              50,
              "fixed"
            ]
          },
          {
            "flags": {},
            "id": 241,
            "inputs": [
              {
                "link": 501,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 502,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 503,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": null,
                "localized_name": "interpolation",
                "name": "interpolation",
                "type": "COMBO",
                "widget": {
                  "name": "interpolation"
                }
              },
              {
                "link": null,
                "localized_name": "method",
                "name": "method",
                "type": "COMBO",
                "widget": {
                  "name": "method"
                }
              },
              {
                "link": null,
                "localized_name": "condition",
                "name": "condition",
                "type": "COMBO",
                "widget": {
                  "name": "condition"
                }
              },
              {
                "link": null,
                "localized_name": "multiple_of",
                "name": "multiple_of",
                "type": "INT",
                "widget": {
                  "name": "multiple_of"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  516
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": [
                  508,
                  509
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  510,
                  511
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              }
            ],
            "pos": [
              -1620.0001922383003,
              199.99998361721603
            ],
            "properties": {
              "Node name for S&R": "ImageResize+",
              "cnr_id": "comfyui_essentials"
            },
            "size": [
              320,
              320
            ],
            "type": "ImageResize+",
            "widgets_values": [
              512,
              512,
              "lanczos",
              "keep proportion",
              "always",
              0
            ]
          },
          {
            "flags": {},
            "id": 242,
            "inputs": [
              {
                "label": "a",
                "link": 504,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT"
              },
              {
                "label": "b",
                "link": 508,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "c",
                "link": 512,
                "localized_name": "values.c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "d",
                "link": null,
                "localized_name": "values.d",
                "name": "values.d",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  517
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -1200.0001230280773,
              9.999995985113998
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core"
            },
            "size": [
              320,
              190
            ],
            "title": "pad_left",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "floor((a - b) * (c / 100))"
            ]
          },
          {
            "flags": {},
            "id": 243,
            "inputs": [
              {
                "label": "a",
                "link": 505,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT"
              },
              {
                "label": "b",
                "link": 509,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "c",
                "link": 513,
                "localized_name": "values.c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "d",
                "link": null,
                "localized_name": "values.d",
                "name": "values.d",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  519
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -1200.0001230280773,
              259.9999716657485
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core"
            },
            "size": [
              320,
              190
            ],
            "title": "pad_right",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "(a - b) - floor((a - b) * (c / 100))"
            ]
          },
          {
            "flags": {},
            "id": 244,
            "inputs": [
              {
                "label": "a",
                "link": 506,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT"
              },
              {
                "label": "b",
                "link": 510,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "c",
                "link": 514,
                "localized_name": "values.c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "d",
                "link": null,
                "localized_name": "values.d",
                "name": "values.d",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  518
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -1200.0001230280773,
              519.9999708328877
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core"
            },
            "size": [
              320,
              190
            ],
            "title": "pad_top",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "floor((a - b) * (c / 100))"
            ]
          },
          {
            "flags": {},
            "id": 245,
            "inputs": [
              {
                "label": "a",
                "link": 507,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT"
              },
              {
                "label": "b",
                "link": 511,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "c",
                "link": 515,
                "localized_name": "values.c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "label": "d",
                "link": null,
                "localized_name": "values.d",
                "name": "values.d",
                "shape": 7,
                "type": "FLOAT,INT"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [],
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  520
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              -1200.0001230280773,
              769.9999465135221
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression",
              "cnr_id": "comfy-core"
            },
            "size": [
              320,
              190
            ],
            "title": "pad_bottom",
            "type": "ComfyMathExpression",
            "widgets_values": [
              "(a - b) - floor((a - b) * (c / 100))"
            ]
          },
          {
            "flags": {},
            "id": 246,
            "inputs": [
              {
                "link": 516,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 517,
                "localized_name": "left",
                "name": "left",
                "type": "INT",
                "widget": {
                  "name": "left"
                }
              },
              {
                "link": 518,
                "localized_name": "top",
                "name": "top",
                "type": "INT",
                "widget": {
                  "name": "top"
                }
              },
              {
                "link": 519,
                "localized_name": "right",
                "name": "right",
                "type": "INT",
                "widget": {
                  "name": "right"
                }
              },
              {
                "link": 520,
                "localized_name": "bottom",
                "name": "bottom",
                "type": "INT",
                "widget": {
                  "name": "bottom"
                }
              },
              {
                "link": null,
                "localized_name": "feathering",
                "name": "feathering",
                "type": "INT",
                "widget": {
                  "name": "feathering"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  523,
                  526
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": [
                  522,
                  528
                ],
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK"
              }
            ],
            "pos": [
              -840.0000928232189,
              199.99998361721603
            ],
            "properties": {
              "Node name for S&R": "ImagePadForOutpaint",
              "cnr_id": "comfy-core"
            },
            "size": [
              320,
              220
            ],
            "type": "ImagePadForOutpaint",
            "widgets_values": [
              0,
              0,
              0,
              0,
              0
            ]
          },
          {
            "flags": {},
            "id": 247,
            "inputs": [
              {
                "link": 523,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  524
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  525
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              -460.0001175590146,
              449.9999592978505
            ],
            "properties": {
              "Node name for S&R": "GetImageSize",
              "cnr_id": "comfy-core"
            },
            "size": [
              230,
              100
            ],
            "type": "GetImageSize",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 248,
            "inputs": [
              {
                "link": 524,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 525,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              },
              {
                "link": null,
                "localized_name": "color",
                "name": "color",
                "type": "INT",
                "widget": {
                  "name": "color"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  527
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -150.00015382984793,
              419.99999075200026
            ],
            "properties": {
              "Node name for S&R": "EmptyImage",
              "cnr_id": "comfy-core"
            },
            "size": [
              280,
              180
            ],
            "type": "EmptyImage",
            "widgets_values": [
              512,
              512,
              1,
              65280
            ]
          },
          {
            "flags": {},
            "id": 249,
            "inputs": [
              {
                "link": 526,
                "localized_name": "destination",
                "name": "destination",
                "type": "IMAGE"
              },
              {
                "link": 527,
                "localized_name": "source",
                "name": "source",
                "type": "IMAGE"
              },
              {
                "link": 528,
                "localized_name": "mask",
                "name": "mask",
                "shape": 7,
                "type": "MASK"
              },
              {
                "link": null,
                "localized_name": "x",
                "name": "x",
                "type": "INT",
                "widget": {
                  "name": "x"
                }
              },
              {
                "link": null,
                "localized_name": "y",
                "name": "y",
                "type": "INT",
                "widget": {
                  "name": "y"
                }
              },
              {
                "link": null,
                "localized_name": "resize_source",
                "name": "resize_source",
                "type": "BOOLEAN",
                "widget": {
                  "name": "resize_source"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  521
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              189.99972748833716,
              239.99997564957098
            ],
            "properties": {
              "Node name for S&R": "ImageCompositeMasked",
              "cnr_id": "comfy-core"
            },
            "size": [
              260,
              200
            ],
            "type": "ImageCompositeMasked",
            "widgets_values": [
              0,
              0,
              false
            ]
          },
          {
            "bgcolor": "#000",
            "color": "#222",
            "flags": {},
            "id": 254,
            "inputs": [],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              -150.00015382984793,
              649.9999704164572
            ],
            "properties": {},
            "size": [
              280,
              420
            ],
            "title": "EmptyImage Color",
            "type": "MarkdownNote",
            "widgets_values": [
              "# `0xRRGGBB` packed as one int                                                                                                                            \n                                         \n  `65280` = `0x00FF00` = pure green. Same as HTML hex, just decimal.                                                                                                              \n                                                                                                                                                                                  \n  | Color | Hex | Int |                                                                                                                                                           \n  |---|---|---|                                             \n  | Black | `0x000000` | `0` |                                                                                                                                                    \n  | White | `0xFFFFFF` | `16777215` |                       \n  | Red   | `0xFF0000` | `16711680` |                                                                                                                                             \n  | Green | `0x00FF00` | `65280` |\n  | Blue  | `0x0000FF` | `255` |                                                                                                                                                  \n                                                                                                                                                                               "
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            580,
            370,
            120,
            80
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "df58d266-37ca-4c0a-a9bb-db0887941c34",
            "linkIds": [
              521
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              600,
              390
            ],
            "type": "IMAGE"
          },
          {
            "id": "844db080-9f93-4ca2-ab10-bb75acec9f2c",
            "linkIds": [
              522
            ],
            "name": "MASK",
            "pos": [
              600,
              410
            ],
            "type": "MASK"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 4,
          "lastLinkId": 576,
          "lastNodeId": 272,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "0246.VERSION": [
      0,
      0,
      4
    ],
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        2477.3846620205904,
        563.0547946643587
      ],
      "scale": 0.49495107878420724
    },
    "frontendVersion": "1.40.10",
    "linearData": {
      "inputs": [
        [
          "130",
          "image"
        ],
        [
          "191",
          "aspect_ratio"
        ],
        [
          "240",
          "value"
        ],
        [
          "263",
          "prompt"
        ],
        [
          "263",
          "resolution"
        ],
        [
          "263",
          "seed"
        ]
      ],
      "outputs": [
        "226",
        "266"
      ]
    },
    "linearMode": false,
    "links_added_by_ue": [],
    "ue_links": [],
    "workflowRendererVersion": "LG",
    "workspace_info": {
      "cloudID": null,
      "coverMediaPath": null,
      "id": "sSr80zkRsolLQHBh3oFSe",
      "saveLock": false
    }
  },
  "groups": [],
  "id": "1a454a5b-c035-49ac-a433-24c630fb3363",
  "last_link_id": 576,
  "last_node_id": 272,
  "links": [
    [
      435,
      130,
      0,
      224,
      0,
      "IMAGE"
    ],
    [
      441,
      224,
      0,
      226,
      0,
      "IMAGE"
    ],
    [
      546,
      224,
      0,
      263,
      0,
      "IMAGE"
    ],
    [
      549,
      263,
      0,
      262,
      0,
      "IMAGE"
    ],
    [
      550,
      224,
      0,
      264,
      0,
      "IMAGE"
    ],
    [
      551,
      263,
      0,
      265,
      0,
      "IMAGE"
    ],
    [
      552,
      265,
      0,
      264,
      2,
      "INT"
    ],
    [
      553,
      265,
      1,
      264,
      3,
      "INT"
    ],
    [
      555,
      264,
      0,
      262,
      1,
      "IMAGE"
    ],
    [
      563,
      263,
      0,
      266,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 226,
      "inputs": [
        {
          "link": 441,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [],
      "pos": [
        -2610.0000714743333,
        259.99992070891653
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "size": [
        500,
        540
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 130,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "label": "IMAGE",
          "links": [
            435
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        },
        {
          "label": "MASK",
          "links": [],
          "localized_name": "MASK",
          "name": "MASK",
          "slot_index": 1,
          "type": "MASK"
        }
      ],
      "pos": [
        -3370.0000283723452,
        29.999966522875496
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "enableTabs": false,
        "hasSecondTab": false,
        "secondTabOffset": 80,
        "secondTabText": "Send Back",
        "secondTabWidth": 65,
        "tabWidth": 65,
        "tabXOffset": 10,
        "ver": "0.3.39",
        "widget_ue_connectable": {}
      },
      "size": [
        670,
        770
      ],
      "type": "LoadImage",
      "widgets_values": [
        "e78e4c1c63b06a6eb0b4853bd936570a5b78324ffec10f5f2053605f532a3d08.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 224,
      "inputs": [
        {
          "link": 435,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            441,
            546,
            550
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -2610.0000714743333,
        29.999992001291474
      ],
      "properties": {
        "proxyWidgets": [
          [
            "191",
            "aspect_ratio"
          ],
          [
            "240",
            "value"
          ]
        ]
      },
      "size": [
        500,
        140
      ],
      "type": "b26cc822-68bf-4fd0-b66f-bb3f99cd1443",
      "widgets_values": []
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 252,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        -4049.9999884664394,
        29.999966522875496
      ],
      "properties": {},
      "size": [
        590,
        770
      ],
      "title": "Outpaint Image to Any Aspect Ratio",
      "type": "MarkdownNote",
      "widgets_values": [
        "Outpaint a **single image** into any target aspect ratio without cropping. The original pixels stay intact — the new canvas around them is outpainted by **Nano Banana Pro**\n\n## How It Works\n\n1. **Upload an image** (`LoadImage` node)\n2. **Select `Image Extender` node inputs**\n   - **Image Extender** — pads the original to the target aspect ratio, with you controlling **where** the image sits inside the new canvas (left↔right and top↔bottom percentages, both default to 50% = centered).\n      - **aspect_ratio** — pick from the dropdown.\n      - **top_or_left_outpaint_pct** — `0` = image hugs left/top, `50` = centered, `100` = hugs right/bottom. Use these to compose how the original sits in the new frame. \n\n3. **Nano Banana 2 outpaint** — replaces the green region with new image content that continues the input image naturally (sky, ground, walls, whatever fits). Tweak the prompt with specific details if necessary.\n\n## Tips\n\n- **Low contrast = bad inpaint.** If your subject contains a lot of green (plants, a green-screen setup), open the Image Extender subgraph and change the fill color to something that contrasts your subject.\n- **Match the subject scale.** If you go from `1:1` → `21:9`, you're asking the model to invent a *lot* of pixels; busy or simple backgrounds (skies, walls) outpaint more reliably than complex scenes."
      ]
    },
    {
      "flags": {},
      "id": 262,
      "inputs": [
        {
          "link": 549,
          "localized_name": "image_a",
          "name": "image_a",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 555,
          "localized_name": "image_b",
          "name": "image_b",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "compare_view",
          "name": "compare_view",
          "type": "IMAGECOMPARE",
          "widget": {
            "name": "compare_view"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [],
      "pos": [
        -670.000355991454,
        29.999966522875496
      ],
      "properties": {
        "Node name for S&R": "ImageCompare"
      },
      "size": [
        710,
        760
      ],
      "type": "ImageCompare",
      "widgets_values": []
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 263,
      "inputs": [
        {
          "link": 546,
          "localized_name": "images",
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "files",
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        },
        {
          "link": null,
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMBO",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        },
        {
          "link": null,
          "localized_name": "resolution",
          "name": "resolution",
          "type": "COMBO",
          "widget": {
            "name": "resolution"
          }
        },
        {
          "link": null,
          "localized_name": "response_modalities",
          "name": "response_modalities",
          "type": "COMBO",
          "widget": {
            "name": "response_modalities"
          }
        },
        {
          "link": null,
          "localized_name": "system_prompt",
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "system_prompt"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            549,
            551,
            563
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        -2010.0000381185132,
        29.999966522875496
      ],
      "properties": {
        "Node name for S&R": "GeminiImage2Node"
      },
      "size": [
        460,
        730
      ],
      "type": "GeminiImage2Node",
      "widgets_values": [
        "Outpaint/fill the green pixels. Retain composition of the visible images pixels. Analyze the original image content to understand what the outpainted region should be. \nDO NOT MODIFY the original images pixels. It must remain exactly as is. ONLY ALTER THE GREEN PIXELS.\nThe green outpainted pixels must seamlessly blend into the scene. DO NOT COPY/PASTE existing pixels into the target outpainted area.",
        "gemini-3-pro-image-preview",
        222364792304910,
        "randomize",
        "auto",
        "4K",
        "IMAGE+TEXT",
        "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 264,
      "inputs": [
        {
          "link": 550,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 552,
          "localized_name": "width",
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 553,
          "localized_name": "height",
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "link": null,
          "localized_name": "upscale_method",
          "name": "upscale_method",
          "type": "COMBO",
          "widget": {
            "name": "upscale_method"
          }
        },
        {
          "link": null,
          "localized_name": "keep_proportion",
          "name": "keep_proportion",
          "type": "COMBO",
          "widget": {
            "name": "keep_proportion"
          }
        },
        {
          "link": null,
          "localized_name": "pad_color",
          "name": "pad_color",
          "type": "STRING",
          "widget": {
            "name": "pad_color"
          }
        },
        {
          "link": null,
          "localized_name": "crop_position",
          "name": "crop_position",
          "type": "COMBO",
          "widget": {
            "name": "crop_position"
          }
        },
        {
          "link": null,
          "localized_name": "divisible_by",
          "name": "divisible_by",
          "type": "INT",
          "widget": {
            "name": "divisible_by"
          }
        },
        {
          "link": null,
          "localized_name": "device",
          "name": "device",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "device"
          }
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            555
          ],
          "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": [
        -1000,
        -170
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2"
      },
      "size": [
        270,
        480
      ],
      "type": "ImageResizeKJv2",
      "widgets_values": [
        512,
        512,
        "lanczos",
        "stretch",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 265,
      "inputs": [
        {
          "link": 551,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            552
          ],
          "localized_name": "width",
          "name": "width",
          "type": "INT"
        },
        {
          "links": [
            553
          ],
          "localized_name": "height",
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "localized_name": "batch_size",
          "name": "batch_size",
          "type": "INT"
        }
      ],
      "pos": [
        -1460,
        -170
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "size": [
        230,
        160
      ],
      "type": "GetImageSize",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 266,
      "inputs": [
        {
          "link": 563,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [],
      "pos": [
        -1460.0001899448525,
        29.99986108445148
      ],
      "properties": {},
      "size": [
        710,
        760
      ],
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-outpainted"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}