RelayVSR: 2x and 4x video upscaling that streams

Upscaling and restoring are not the same; detail that was never there is generated.

RelayVSR upscales video 2x or 4x: a Wan2.2-derived model produces sparse references and a light network fills the detail. The ComfyUI int8 model is 5.16 GB with a 128 MB VAE1.

Requirements and key details
  • The 2x and 4x models are 5.16 GB each under Apache-2.0.
  • A Wan2.2-based reference generator and a light network split the work.
  • It streams, so long video is processed in segments.

How the two models split the work

A large generative model produces sparse references and a light super-resolution network fills the rest, so it does not generate a reference for every frame2 and stays tractable on long video.

The repository holds a reference generator adapted from Wan2.2 plus RelayVSR's own network. They play different roles, so one alone does not run.

An RTX 3090 in a case, colored blocks moving along a conveyor to shelves, and cards printed with network diagrams on the work surface
A large model makes sparse references and a light network fills detail.

Which files to download

Pick by scale: 2x doubles width and height, 4x quadruples them. Beyond that, a better source beats chaining passes.

Each scale has its own VAE: pair the 2x model with the 2x VAE and the 4x model with the 4x VAE. Mixing them breaks the result.

RelayVSR file layout
ComponentFileSize
2x modelrelayvsr_x2_lightx2v_int85.16GB
4x modelrelayvsr_x4_int85.16GB
2x VAErelayvsr_flash_vae_x2128MB
4x VAErelayvsr_flash_vae_x4128MB

What happens to an upscaled video

Super-resolution generates information. Blurred edges sharpen, yet patterns that were never in the source can appear.

Compare faces and text side by side with the original. Small text can look plausible while reading wrong.

Colour-coded blocks leave a compartmented crate wired to an Apple compact desktop and split into document, image and audio work
Pair the 2x and 4x models with their matching VAEs.

The working order

Tune parameters on a short clip first: check a five-second result, then extend. Starting with a long video only burns time.

Always keep the original: you need to roll back when a result disappoints, and a better model later can reprocess the same source.

A small computer running a search system beside document stacks
Added detail is generated, so judge against the original.

Terminology notes

  1. VAE — Short for Variational Autoencoder. It can encode input into a compact latent representation or decode that representation into an output.

    Back to the text
  2. Frame — A single image that makes up part of a video.

    Back to the text

Frequently asked questions

What should you check first in this article?
RelayVSR upscales video 2x or 4x: a Wan2.2-derived model produces sparse references and a light network fills the detail. The ComfyUI int8 model is 5.16 GB with a 128 MB VAE.