Most local video models output 480p or 720p clips. To get a sharp 1080p or 4K result, you upscale the video afterwards, and ComfyUI can do that with the same upscale models you already use for images.
The trick is that ComfyUI upscales a video as a batch of frames. That makes it simple, but it also means long clips can run out of memory if you don’t split them.
This guide shows the full workflow with core nodes, how to handle long videos in chunks, which models and settings to use, and how to keep the audio and frame rate intact.
- Core workflow: Load Video → Get Video Components → Upscale Image (using Model) → Create Video (same fps, plus audio) → Save Video.
- Model: put a 2x or 4x upscaler (.pth or .safetensors) in
ComfyUI/models/upscale_models/and load it with Load Upscale Model. - Want 2x from a 4x model? Add Upscale Image By at 0.5 after the model upscale.
- Long video: trim it into parts with Trim Video (start_time, duration), or use Video Helper Suite’s frame_load_cap and skip_first_frames.
- Smoother motion too? Run frame interpolation after upscaling and double the fps.
New to ComfyUI video? Start with my ComfyUI image to video guide, then come back here to sharpen the result.
How Video Upscaling Works in ComfyUI
ComfyUI has no special “video upscaler”. Instead, it splits the video into frames, upscales every frame as an image, and puts them back together. The frames travel between nodes as one IMAGE batch, so 5 seconds at 24 fps is a batch of 120 images.
The upscale node works on each frame in tiles. In ComfyUI’s source, Upscale Image (using Model) starts with 512 px tiles and a 32 px overlap. If it runs out of GPU memory, it halves the tile size and tries again, down to 128 px. So VRAM is rarely the problem for the upscale itself.
The real limit is system RAM. Every upscaled frame sits in memory until the video is saved. A 4K frame as float data is about 100 MB, so a few hundred 4K frames can fill 32 GB of RAM. That’s why long clips need chunking.
Pick an Upscale Model
Any single-image upscale model that ComfyUI’s loader (spandrel) supports will work: ESRGAN, Real-ESRGAN, SwinIR, DAT, HAT and similar architectures. Put the file in:
ComfyUI/models/upscale_models/
| Footage | Good model type | Why |
|---|---|---|
| AI-generated video (Wan, LTX, Hunyuan) | A 2x general model, or 4x then scale down | Adds detail without over-sharpening skin |
| Real camera footage | Real-ESRGAN-style “real” models | Trained on noise and compression artifacts |
| Anime and cartoons | Anime-specific models (for example AnimeSharp or Real-ESRGAN anime variants) | Keeps lines clean and flat colors flat |
| Old, heavily compressed clips | A model trained for JPEG/compression artifacts | Removes blockiness before sharpening |
Lighter models are much faster per frame, which matters when you multiply by hundreds of frames. Test on a 2-second slice before you commit to the whole clip. My ComfyUI upscale guide compares image upscale models in more detail.
The Core Workflow, Node by Node
This uses only built-in nodes, so it works on a fresh install.
Load Video → Get Video Components (images) → Upscale Image (using Model) → Create Video → Save Video
Get Video Components (audio, fps) → Create Video
Load Upscale Model → Upscale Image (using Model)
- Load Video: pick or upload your file. It’s in the
inputfolder after upload. - Get Video Components: splits the video into
images,audio,fps, plus bit depth and color space outputs. - Load Upscale Model: choose your model from the list.
- Upscale Image (using Model): connect the model and the
imagesoutput. - Create Video: connect the upscaled images. Wire the
fpsoutput from Get Video Components into its fps input (right-click the widget to convert it to an input if needed), and connectaudio. Create Video’s fps defaults to 30, so skipping this step changes your video’s speed if the source wasn’t 30 fps. - Save Video: choose the format and codec.
autopicks MP4 for h264. For editing later, MOV with ProRes keeps more quality. My ComfyUI save video guide covers every format option.
Getting an Exact Output Size
An upscale model always multiplies by its fixed factor. A 4x model turns 720p into 2880p, which is bigger than 4K UHD and slow to encode. Add a resize step between the upscale and Create Video:
- Upscale Image By with
scale_by0.5 turns a 4x result into 2x. - Upscale Image with exact
widthandheight(set one to 0 to keep the aspect ratio) gives, say, exactly 1920 wide. - Resize Image/Mask offers “scale longer dimension” and “scale to multiple”, which keeps sizes even for video codecs.
Use lanczos or area as the method. Most encoders need even width and height, so avoid odd numbers. My ComfyUI resize image guide explains all the resize nodes.
Long Videos: Upscale in Chunks
Split long videos so each run holds a manageable number of frames.
With core nodes: Trim Video
Put Trim Video between Load Video and Get Video Components. It takes a start_time and a duration in seconds (duration 0 means “to the end”).
- Run 1: start_time 0, duration 10.
- Run 2: start_time 10, duration 10, and so on.
- Join the parts afterwards with Concatenate Video in ComfyUI, or in any video editor.
As a rough guide, 150-250 frames per run at 1080p output is comfortable on a 32 GB system. Go smaller for 4K.
Find out how many frames you have
Connect the images output to Get Image Size. Its batch_size output is the frame count, which helps you plan the chunks.
Using Video Helper Suite Instead
The popular Video Helper Suite custom nodes (ComfyUI-VideoHelperSuite) are still common in shared workflows. Their Load Video (Upload) node has handy chunking controls:
frame_load_cap: the maximum number of frames to load (your chunk size).skip_first_frames: how many frames to skip. Its README suggests raising this by frame_load_cap each run to process a long video in parts.select_every_nth: take every 2nd, 3rd… frame for quick tests.force_rate: change the frame rate while loading (0 disables it).
Then use Video Combine to save, with frame_rate matched to your source. Its crf option controls quality: lower is better quality and a bigger file, and the README notes visually lossless output is usually around 20. Install it through ComfyUI Manager or manually.
Add Frame Interpolation
Upscaling fixes resolution, not smoothness. Many AI models output 16 fps, which looks choppy. Add a frame interpolation node (such as RIFE or FILM) after the upscale, set it to 2x, and double the fps in Create Video.
Interpolating after upscaling gives sharper in-between frames, but costs more time. My ComfyUI frame interpolation guide has the setup.
Upscaling AI-Generated Clips Inside the Workflow
If the video comes from a generator in the same workflow, skip Load Video. Take the IMAGE output of VAE Decode and feed it straight into Upscale Image (using Model), then into Create Video with the generator’s fps (for example 16 for Wan 2.1/2.2 14B, 24 for Wan 2.2 5B).
Two tips:
- Save the raw clip first with its own Save Video node. If the upscale fails, you don’t lose the generation.
- For a stronger result, some workflows upscale and then run a light second sampling pass (low denoise) on the bigger frames. It adds real detail, like a hires fix for video, but needs far more VRAM and time.
Troubleshooting
The output plays too fast or too slow
The fps in Create Video doesn’t match the source. Wire it from Get Video Components’ fps output.
The audio is missing
Connect the audio output of Get Video Components to Create Video’s audio input. If you trimmed the video, the audio is trimmed with it.
ComfyUI crashes or the PC freezes partway
You ran out of system RAM, not VRAM. Process fewer frames per run, use a 2x model instead of 4x, or scale down right after the upscale. See my out of memory fix.
“Upscale model must be a single-image model”
The file is a video or multi-frame model, not an image upscaler. Use a normal ESRGAN-style model.
Flickering details between frames
Image upscalers treat each frame separately, so fine texture can shimmer. Use a gentler 2x model, avoid over-sharpening models, or scale a 4x result down to 2x, which hides much of it.
It takes forever
Time scales with frame count, so test a short slice first. Lighter model architectures and 2x models are much faster than heavy 4x transformer models.
FAQ
Can ComfyUI upscale a video to 4K?
Yes. Upscale with a model, then resize to exactly 3840×2160 with Upscale Image. Split long clips into chunks to stay within RAM.
Where do upscale models go in ComfyUI?
In ComfyUI/models/upscale_models/. Refresh the browser after adding one.
Do I need custom nodes to upscale video?
No. Load Video, Get Video Components, Upscale Image (using Model), Create Video and Save Video are all built in.
Is it better to upscale before or after interpolation?
Upscaling first usually gives cleaner interpolated frames. Interpolating first is faster because the frames are smaller.
Why is my upscaled video huge?
High resolution plus a high-quality codec. Use h264 in MP4 for sharing, or raise the crf value if your save node has one.
How much VRAM do I need?
Not much for the upscale itself, because it works in tiles that shrink on out-of-memory errors. System RAM matters more for long videos.
Can I upscale only part of a video?
Yes. Use Trim Video with a start time and duration, or Video Helper Suite’s skip_first_frames and frame_load_cap.
Sources
- ComfyUI source: nodes_upscale_model.py (Load Upscale Model, tiled upscale with 512/32 tiles and out-of-memory fallback)
- ComfyUI source: nodes_video.py (Load Video, Get Video Components, Create Video, Trim Video, Concatenate Video, Save Video)
- ComfyUI-VideoHelperSuite README (frame_load_cap, skip_first_frames, Video Combine crf)



