⭐ Star Tiled RelayVSR Upscaler
One-Step Detail Recovery That Never Sees Your Whole Picture
- image
- model_override
- IMAGE
Every generative upscaler eventually meets the same wall: the picture you want to fix is bigger than the picture your card can hold. ⭐ Star Tiled RelayVSR Upscaler is one answer to that - a RelayVSR one-step restoration pass chopped into overlapping tiles so a 4x upscale of something enormous still finishes on a mid-range GPU.
What RelayVSR brings to the party
The one-step restoration trick is familiar: SeedVR2 made the category famous by pointing a video-restoration architecture at stills and producing detail that feels recovered rather than invented. RelayVSR is the same shape of model - one sampling step, a fixed internal prompt, and a paired "flash" VAE that does the final reconstruction.
Two consequences follow. It's fast, because one step is one step. And the payload is small enough to be tiled, which is the entire reason this node exists.
Fair warning: RelayVSR has barely any community footprint yet. You're early - test one image before you commit a two-hour batch.
How the tiling actually works
The node inlines the core RelayVSR conditioning and VSR-decode logic rather than calling the native nodes, so it keeps working when core changes shift things around.
The image goes in at its native size and the checkpoint decides the scale - a relayvsr_x4 model gives you 4x. With tiled on, the node splits the image into rows and columns small enough to stay under max_tile_size, expands each tile by tile_overlap, and runs the one-step pass on it alone: conditioning built from the model's own saved positive conditioning plus that tile as the low-quality input, one euler/simple step at cfg 1.0. The flash VAE then decodes each tile, and the drop is real detail rather than a plain resample.
The seam-avoidance is the bit worth trusting. Each tile gets a linear ramp mask on its overlapping edges and is blended into the output progressively, so the seam is a gradient rather than a line. Tiles are also resized onto the exact factor lattice before merging, because the relay latent rounds up to whole model patches.
detail is the quality knob, and it's more honest than most. It scales the high-frequency residual the model adds on top of the plain bicubic upscale: 0.0 is a pure bicubic upscale, 1.0 is the full model output, and the default 0.6 sits in between. If an upscale looks crunchy or starts inventing texture, drop it to 0.4 before you start blaming the model.
Settings, and one that trips people up
The required inputs are image, model_name (a RelayVSR diffusion model from models/diffusion_models) and vae_name (the matching flash VAE from models/vae), plus seed. tiled on, max_tile_size 1024, tile_overlap 0.25 is a sane starting point; smaller tiles mean less VRAM and more seams, larger tiles the reverse. If the whole thing fits, switch tiled off entirely - the tooltip is right that a single pass is faster and seam-free, and that max_tile_size and tile_overlap are simply ignored then.
batch_size is the trap. The default 0 runs your entire input as one video pass, which is correct and fast for a clip - RelayVSR only samples every 15th frame as a keyframe and interpolates the rest. But if you feed it five unrelated images with the default, those images are treated as consecutive frames of one shot. Feed unrelated images one at a time with batch_size 1.
The single output is IMAGE. Wire it into a save node, or into something like ⭐ Star Image Compare if you want to judge whether the detail is genuinely there.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/Starnodes2024/ComfyUI_StarNodes
cd ComfyUI_StarNodes && pip install -r requirements.txt
Or ComfyUI Manager, search Starnodes, install, restart. StarNodes is a broad toolbox by Starnodes2024 - over a hundred nodes, MIT code, updated on a steady drip - so installing it for one upscaler also gets you tiled SeedVR and PiD upscalers, filters, savers and half a workflow's worth of plumbing. Missing optional packages only disable their own nodes.
The weights aren't shipped with the repo. Put the RelayVSR checkpoint in models/diffusion_models and the flash VAE in models/vae - the dropdowns read from those two folders, so a file in the wrong place simply won't appear. model_override is there if you'd rather load the model yourself with a custom loader or a patched variant.
Where it goes wrong
Point it at a normal checkpoint and it stops with the selected diffusion model is not a RelayVSR model - which is a clear enough error, and worth knowing before you spend ten minutes wondering why a Flux UNET is "loading fine".
Seams between tiles are almost always an overlap problem, not a quality problem: raise tile_overlap toward 0.4 before you touch anything else. And on video, expect the same failure every frame-by-frame upscaler has - fine repeating texture can shimmer between frames when nothing forces consecutive frames to agree. RelayVSR's keyframe handling softens that, but if patterned wallpaper starts crawling between frames, a pass through a temporally-aware restorer is the real fix.
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The image to upscale. It goes in at its native size - the RelayVSR checkpoint decides the upscale factor (e.g. x4). | |
| model_name | COMBO | The RelayVSR diffusion model (e.g. relayvsr_x4_int8_convrot.safetensors). | |
| vae_name | COMBO | The RelayVSR Flash VAE (e.g. relayvsr_flash_vae_x4_fp32.safetensors). | |
| seed | INT | 00–18446744073709550000 | Random seed for the one-step sampling pass. |
| tiled | BOOLEAN | true | On: split the image into overlapping tiles (low VRAM, for large images). Off: process the whole image in a single pass - faster and seam-free, but needs a lot of VRAM on large images. Ignores max_tile_size and tile_overlap. |
| max_tile_size | INT | 102464–16384 | Maximum tile width/height in pixels of the input image. The image is split into as many tiles as needed to stay under this size - smaller tiles = less VRAM, larger tiles = fewer seams. |
| tile_overlap | FLOAT | 0.250.05–0.5 | Overlap ratio between tiles. Higher values reduce seam artifacts but increase VRAM/time. |
| detail | FLOAT | 0.600–1 | Scales the high-frequency residual the model adds on top of the plain bicubic upscale. 0.0 = pure bicubic upscale, 1.0 = full model output. |
| batch_size | INT | 00–10000 | Frames processed together per tile. 0 = auto: the whole input runs as ONE video pass - the fastest setting for videos (the model only samples every 15th frame anyway). 1 = each image separately (use for unrelated images). >1 = fixed frames per pass (lower VRAM than auto on very long videos). |
| model_overrideopt | MODEL | Optional model override. When connected, this model will be used instead of the one selected in model_name dropdown. Useful for patched models or custom loaders. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |