{
  "last_node_id": 8,
  "last_link_id": 8,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        50,
        100
      ],
      "size": [
        315,
        314
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example.png",
        "image"
      ]
    },
    {
      "id": 2,
      "type": "UpscaleModelLoader",
      "pos": [
        50,
        500
      ],
      "size": [
        315,
        58
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "RealESRGAN_x4plus.pth"
      ]
    },
    {
      "id": 3,
      "type": "ImageUpscaleWithModel",
      "pos": [
        450,
        100
      ],
      "size": [
        241,
        46
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      }
    },
    {
      "id": 4,
      "type": "ImageScaleBy",
      "pos": [
        450,
        250
      ],
      "size": [
        315,
        82
      ],
      "properties": {
        "Node name for S&R": "ImageScaleBy"
      },
      "widgets_values": [
        "lanczos",
        0.5
      ],
      "title": "Scale down if 4x is too large"
    },
    {
      "id": 5,
      "type": "SaveImage",
      "pos": [
        850,
        100
      ],
      "size": [
        315,
        270
      ],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "upscaled_output"
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      3,
      1,
      "IMAGE"
    ],
    [
      2,
      2,
      0,
      3,
      0,
      "UPSCALE_MODEL"
    ],
    [
      3,
      3,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      4,
      4,
      0,
      5,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "title": "Image Upscaler (4x with RealESRGAN)",
      "bounding": [
        30,
        30,
        1200,
        550
      ],
      "color": "#e67e22"
    }
  ],
  "config": {},
  "extra": {
    "workflow_description": "Upscale any image 4x using RealESRGAN, with optional downscale to target resolution",
    "workflow_category": "upscaling",
    "workflow_tags": [
      "upscale",
      "super-resolution",
      "esrgan"
    ]
  },
  "version": 0.4
}