Utility Video Upscale is a compact ComfyUI pipeline for turning soft, low-res clips into sharper, higher-resolution videos using a Wan2.2 upscaler node (custom node ID 8c62a455-6744-43c8-9352-543905ed4db7). The flow is straightforward: LoadVideo ingests your source, GetVideoComponents extracts metadata such as FPS and frame count, and ResolutionSelector lets you pick a valid target size (width and height divisible by 64) with presets for common formats like Full HD (~2.1 MP) and 4K (~8.3 MP). The Wan2.2 node handles the heavy lifting, exposing practical controls for denoise strength and detail so you can balance clean-up versus texture preservation.
For clarity and iteration, the workflow includes a Before vs After Comparison group that uses ImageFromBatch to select a frame and ImageStitch to create a side-by-side composite, helping you dial in settings before a full run. Once satisfied, CreateVideo rebuilds the clip at the chosen resolution (typically using the source FPS passed from GetVideoComponents), and SaveVideo writes the result. Because Wan2.2 processes a limited number of frames per run (up to about 121 frames) and is VRAM-bound, the workflow is designed to be predictable and memory-conscious while giving you precise control over upscale size and perceived sharpness.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/171dea657096.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ
















