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.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
FAQ



















