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.
GET https://comfy.org/workflows/download/0740bf78b7b6.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














