Nodes/ComfyUI_SparkVSR_SM/SparkVSR Native Video SR
ComfyUI Node

SparkVSR Native Video SR

Single-step SparkVSR video super-resolution on ComfyUI's native CogVideoX DiT. MODEL comes from the STOCK UNetLoader using 'SparkVSR-S2-bf16-comfy.safetensors' (converted once by tools/convert_sparkvsr_keys.py), or a Dif_GGUF_Loader GGUF. Connect a VAE (CogVideoX1.5-5B-I2V-VAE) and the LQ frames. ref_indices are SOURCE VIDEO frame numbers (e.g. '0,16,32'); ref_images must be the SAME count, HR keyframes (from PiSA-SR). SPEED: for ~960x536 use vae_tile_size=48 and tile_size_hw='256,256'. The '0,0' default runs one huge ~7920-token DiT pass and is much slower on a 12 GB card.

By smthemex·Created 8 months ago·Updated 19 days ago· 41
SparkVSR Native Video SR
  • model
  • vae
  • images
  • ref_images
  • images
◄ref_indices►
◄upscale4►
◄target_width0►
◄target_height0►
◄upscale_modebilinear►
◄chunk_len0►
◄overlap_t8►
◄tile_size_hw0,0►
◄overlap_hw32,32►
◄noise_step0►
◄sr_noise_step399►
◄ref_guidance_scale1.0►
◄seed0►
◄posterior_sampletrue►
◄vae_tile_size48►
CategorySparkVSR_Native

Inputs (19)

NameTypeDefaultDescription
modelMODEL—
vaeVAE—
imagesIMAGE—
ref_indicesSTRINGComma-separated source frame indices
upscaleINT41–16—
target_widthINT00–16384—
target_heightINT00–16384—
upscale_modeCOMBObilinear3 options: bilinear, bicubic, nearest-exact
chunk_lenINT00–4096—
overlap_tINT80–512—
tile_size_hwCOMBO0,06 options: 0,0, 256,256, 384,384, 512,512, 768,768, 1024,1024
overlap_hwCOMBO32,324 options: 32,32, 48,48, 64,64, 96,96
noise_stepINT00–999—
sr_noise_stepINT3991–999—
ref_guidance_scaleFLOAT1.00–100—
seedINT00–2147483647—
posterior_sampleBOOLEANtrueReproduce diffusers latent_dist.sample(); off uses the deterministic VAE mode.
vae_tile_sizeINT480–256CogVideoX VAE decode tile in LATENT pixels (48 ~ 384px). Explicit tiling is MUCH faster than 0/comfy-auto on a 12 GB card.
ref_imagesoptIMAGE—

Outputs (1)

NameTypeDescription
imagesIMAGE—