{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        13.403563170780952,
        83.86759283471785
      ],
      "scale": 0.7627768444385532
    },
    "frontendVersion": "1.37.11",
    "workflowRendererVersion": "LG"
  },
  "groups": [],
  "id": "6fcb8b56-8232-4290-9b42-676373092edf",
  "last_link_id": 16,
  "last_node_id": 12,
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "UPSCALE_MODEL"
    ],
    [
      10,
      9,
      0,
      10,
      0,
      "VIDEO"
    ],
    [
      12,
      10,
      2,
      11,
      2,
      "FLOAT"
    ],
    [
      13,
      2,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      14,
      10,
      0,
      2,
      1,
      "IMAGE"
    ],
    [
      15,
      11,
      0,
      12,
      0,
      "VIDEO"
    ],
    [
      16,
      10,
      1,
      11,
      1,
      "AUDIO"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 9,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            10
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        730,
        330
      ],
      "properties": {
        "Node name for S&R": "LoadVideo",
        "cnr_id": "comfy-core",
        "ver": "0.10.0"
      },
      "size": [
        282.798828125,
        233.0743408203125
      ],
      "type": "LoadVideo",
      "widgets_values": [
        "gan_input.mp4",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": 1,
          "name": "upscale_model",
          "type": "UPSCALE_MODEL"
        },
        {
          "link": 14,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            13
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1110,
        450
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel",
        "cnr_id": "comfy-core",
        "ver": "0.10.0"
      },
      "size": [
        320,
        46
      ],
      "type": "ImageUpscaleWithModel",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 13,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": 16,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": 12,
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            15
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        1110,
        550
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "cnr_id": "comfy-core",
        "ver": "0.10.0"
      },
      "size": [
        320,
        78
      ],
      "type": "CreateVideo",
      "widgets_values": [
        30
      ]
    },
    {
      "flags": {},
      "id": 10,
      "inputs": [
        {
          "link": 10,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            14
          ],
          "name": "images",
          "type": "IMAGE"
        },
        {
          "links": [
            16
          ],
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": [
            12
          ],
          "name": "fps",
          "type": "FLOAT"
        }
      ],
      "pos": [
        1110,
        330
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents",
        "cnr_id": "comfy-core",
        "ver": "0.10.0"
      },
      "size": [
        320,
        70
      ],
      "type": "GetVideoComponents",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 1,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            1
          ],
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL"
        }
      ],
      "pos": [
        730,
        620
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "upscale_models",
            "name": "RealESRGAN_x4plus.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Real-ESRGAN_repackaged/resolve/main/RealESRGAN_x4plus.safetensors"
          }
        ],
        "ver": "0.10.0"
      },
      "size": [
        280,
        60
      ],
      "type": "UpscaleModelLoader",
      "widgets_values": [
        "RealESRGAN_x4plus.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 12,
      "inputs": [
        {
          "link": 15,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [],
      "pos": [
        1500,
        330
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.10.0"
      },
      "size": [
        490,
        373.625
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 7,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        310,
        330
      ],
      "properties": {},
      "size": [
        380,
        510
      ],
      "type": "MarkdownNote",
      "widgets_values": [
        "# GAN Upscaler Workflow\n\nA fast approach for upscaling videos using GAN models. It can't create new detail like diffusion can, but it's much faster.\n\n- **Model determines output size** — 2x models upscale 2x, 4x models upscale 4x\n- **Tip:** Upscale 4x first, then use a resize node to bring it down to your target resolution\n\n## Model Links (for Local Users)\n\n**upscale_models**\n\n- [RealESRGAN_x4plus.safetensors](https://huggingface.co/Comfy-Org/Real-ESRGAN_repackaged/resolve/main/RealESRGAN_x4plus.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 upscale_models/\n│   │   ├── RealESRGAN_x4plus.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}