This ComfyUI tutorial walks you through a lean, reliable pipeline to upscale and sharpen existing videos using the open-source SeedVR2 model. The workflow loads your source clip with VHS_LoadVideo, reads technical details like frame rate and resolution via VHS_VideoInfo, and breaks the clip into frames with GetVideoComponents. You can quickly iterate on a small section using Video Slice, then set your target output size with ResizeImageMaskNode.
Each frame is enhanced by the SeedVR2 inference node (3531d186-daf3-492a-bb11-94a4c791a3f3) to recover detail and improve perceived sharpness. Finally, CreateVideo reassembles the processed frames at the original FPS from VHS_VideoInfo, and SaveVideo writes the result to disk. The result is a pragmatic, easy-to-tune upscaler you can use for everything from legacy phone footage to screen recordings without extra complexity or proprietary dependencies.
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













