Kandinsky ImageSR Video
Hardware-adaptive full-neural Kandinsky ImageSR video upscaling and detailing for ComfyUI
Kandinsky ImageSR Video for ComfyUI
Full-neural video upscaling and same-resolution detail enhancement using Kandinsky ImageSR 2.0 Prune 2.7B. One workflow, VHS Meta Batch, audio, and automatic hardware-specific acceleration. Every frame receives neural inference; no frame reuse or interpolation. Independent companion to LVNodes, not an official Kandinsky release.
Latest release: v0.1.1 (beta)
Compatibility hotfix for recent LVNodes deferred model initialization and quantized checkpoints. Initial public beta features retained. Accelerated 1x detailing uses internal 2x processing and area downsampling. Native acceleration uses NVFP4, SageAttention 3, optimized TensorRT-RTX VAE engines and CUDA Graphs on qualified hardware.
Measured on RTX 5080 / Windows Portable: about 0.75–0.77 FPS warm node delivery for 720p → 4K, creativity 4, balanced overlap and 16-frame Meta Batches with previews hidden. Excludes first-use setup, worker startup and downstream video encoding. Native 720p supersampled detailing rendered at about 1.3–1.6 FPS across tested clips (renderer only). Results vary.
| Conversion (RTX 5080, warm renderer) | Balanced | Maximum quality | |---|---:|---:| | 720p → 1200p | 1.550 FPS (6 tiles) | Not measured | | 720p → 4K | 0.768 FPS (12 tiles) | 0.395 FPS (24 tiles) | | 1080p → 4K | Same exact-scale route | 0.769 FPS (12 tiles) |
32-frame tests, creativity 4, balanced overlap; renderer-only rates, excluding worker startup and downstream encoding. Maximum quality produced subtly more consistent, less oversharpened results in the tested footage, at a cost when extra tiles are required.
Decoder precision: FP8 (Fast, default) uses the bundled decoder calibration derived from 30 diverse videos (209 sampled tiles). FP16 (High precision) uses the identical PCA bases without FP8 decoder quantization; prior paired tests suggest around 7–8% longer overall processing time, with potential benefits for smooth gradients, shadows, skin tones and clips showing banding. The effect varies by content. Both retain the other native acceleration optimizations. This setting is native-only.
Installation
-
Install this companion in
ComfyUI/custom_nodes/ComfyUI-Kandinsky-ImageSR-Video(via Manager when available, or extract/clone it there). Do not keep duplicate copies. -
Install the LVNodes Kandinsky ImageSR PyTorch nodes (
ComfyUI-Kandinsky-ImageSR, not MLX) and VideoHelperSuite with FFmpeg. The included sample also uses Impact Pack and RES4LYF for the input selector and path text box. -
Download the models manually (reuse existing matching files):
| Model | Place in | |---|---| | kandinsky_imagesr_2.0_2.7B.safetensors |
ComfyUI/models/diffusion_models/| | ae.safetensors (FLUX-compatible VAE) |ComfyUI/models/vae/|Use the pruned BF16 model for the qualified native path. For 8 GB VRAM, the upstream INT8 checkpoint (2.17 GB) is recommended by LVNodes; install it in
diffusion_models/and select it in the model loader. Update LVNodes for INT8 support. On RTX 20-series and other GPUs without native BF16, select float16 in the LVNodes model loader. INT8/FP8 upstream checkpoints use the portable backend, not the private NVFP4 renderer. Actual low-VRAM GPU execution remains to be verified. Models and other custom nodes are not automatically downloaded by this companion; optional acceleration dependency setup is separate. -
Restart ComfyUI, refresh the browser and open the sample workflow.
Quick start
Set Choose Video Input Method to 1 for a local video path (paste the full filename into the path text box) or 2 for an uploaded clip (select/upload it in the red loader). Select the model, VAE and output resolution, then queue. For first-time native setup use a short moving clip with at least six loaded frames. VHS previews are saved hidden/paused to reduce GPU contention.
Strong performance recommendations
Treat the following as strong recommendations for best throughput, especially at 4K:
- Keep VHS previews hidden/paused. Do not leave Video Upload or VHS Video Combine previews visibly playing while rendering.
- After queuing, switch away from the ComfyUI browser tab if you do not need to watch progress live. This can slightly improve steady rendering speed.
- If you stay on the ComfyUI tab, do not leave the Job History panel floating. Open its 3-dot menu and enable Docked Job History, or close/collapse the panel.
- Avoid visible media thumbnails/players in the Queue / Job History area during rendering; clear or collapse old history items if needed.
- Judge speed from the rolling completed-frame rate after warm-up, not the first cold frames or setup-inclusive averages.
These frontend/browser precautions are effectively free speed and are recommended for normal use.
| Setting | Start here | |---|---| | Output resolution | Specified output height, 2160p (4K); width follows source aspect ratio | | Based on upscale factor | 1x detail enhancement, 2x or 4x | | Frame rate | Source | | Creativity | 4 | | Upscale tile overlap | Balanced (6.25%) | | Acceleration | Automatic (recommended) | | Decoder precision | FP8 (Fast, default); FP16 for visible tonal banding | | VHS frames per batch | 16, increase with available RAM |
The same VHS Meta Batch Manager connects to both loaders, the upscaler and Video Combine. The two Impact Switches select images and video_info together; keep their shared selector connected. Connect loader video_info; leave loader AUDIO disconnected. Kandinsky passes audio to Video Combine on the final chunk. Preset/custom FPS changes playback duration and audio pitch, not frame count.
Target-height mode preserves aspect ratio and selects conditioning automatically. Balanced (default) uses native-scale supersampling and GPU area downsampling when the padded tile workload does not increase; otherwise it renders directly. Maximum quality rounds up to the next supported 2x or 4x scale and downsamples, even if more tiles are needed. Both use supersampled 2x detailing for same-resolution native jobs. Exact 2x/4x targets use their matching native scale. Below-source and above-4x targets remain direct; the supersampling policy applies to native acceleration only. Quality is content-dependent; noninteger ratios can still reveal artifacts. Efficient overlap (3.125%) is less tested; Conservative (12.5%) may help visible tile boundaries. Custom overlap is a fraction.
Meta Batch and RAM
Larger batches reduce workflow boundary overhead, not neural frame latency. 4K FP32 RGB output alone requires about 95 MiB/frame, plus input, worker, FFmpeg and system memory. No fixed Kandinsky frame limit.
| System RAM | Suggested 4K frames/batch | |---|---| | 16 GB | 8–16 | | 32 GB | 16–32 | | 64 GB | 64–128 (start at 64) | | 128 GB | 128–256 |
Estimates, not guaranteed safe limits. Start at 16 on a new installation; increase gradually. Reduce if paging or allocation failures occur.
Acceleration and compatibility
| Hardware/runtime | Path | |---|---| | Tested RTX 5080 / Windows x64 / Python 3.13 / PyTorch 2.10.0 + CUDA 13.0 | Native NVFP4 + Sage3 + TensorRT-RTX; compatible model, VAE and toolchain required | | Other compatible SM120 GPUs (12 GiB+ VRAM) | Eligible if runtime and local qualification pass; not individually tested | | Older NVIDIA / AMD ROCm | Portable full-neural PyTorch path, unverified on these devices | | CPU / MPS / XPU | Upstream-dependent path, unverified; may be slow or unsupported |
Allow trusted downloads authorizes automatic setup of pinned TensorRT-RTX, ONNX and Sage3 wheels from PyPI/GitHub in Kandinsky's own private cache. Compatible existing runtimes are reused. No separate kit, SHARP installation, shared package upgrades or driver changes. A working compatible ComfyUI/PyTorch/driver/compiler environment is still required. Turn downloads off for local-only setup; select Compatibility mode to bypass native setup. Fresh standalone native provisioning and the final release integration of both precision modes are not yet live-verified.
First eligible use builds and validates local engines, which can take several minutes or longer. The final decoder PCA and FP8 activation statistics are already bundled; users do not need to curate videos or fit those parameters themselves. Initial setup still uses source frames for encoder preparation and local qualification. Switching decoder precision builds and validates the alternate decoder once while retaining the qualified encoder; both profiles are cached separately. Completed compatible engines and private dependencies are reused; interruption before some checkpoints can repeat calibration. Preserve the ComfyUI user directory when updating. Unexpected native failures on qualified hardware stop instead of silently switching to slower rendering. Connect a direct built-in VAELoader for native qualification.
Troubleshooting
- Slow processing: first apply the Strong performance recommendations above (hidden previews, different browser tab when possible, docked/closed Job History, minimal visible media UI), then check selected backend and rolling completed-frame speed. Startup-inclusive averages are lower.
- Queueing: optional QuietNoise Queue Manager guard prioritizes recognized VHS continuations without editing upstream files. Consecutive Kandinsky jobs with VHS Meta Batch verified on the development machine; mixed-project and cancellation stress testing remain limited. Queue sequentially if jobs interleave. Cancelled jobs must restart from the beginning.
- Setup failure: do not change shared Python packages. Try Compatibility mode or close ComfyUI and run
reset_setup.bat(Windows Portable); other installations can use their ComfyUI Python to runreset_setup.py --user <ComfyUI/user> --level setup. Setup-only reset retains engines/dependencies; deeper resets back up private caches. - For bugs, share the console error, hardware and settings. Diagnostic report ZIPs are off by default. To opt in for troubleshooting, set the environment variable
KANDINSKY_VIDEO_DIAGNOSTICS=1before launching ComfyUI; reports are stored locally inComfyUI/output/kandinsky_imagesr_video_reports/. Review reports before sharing; do not post private footage.
Credits and licenses
See UPSTREAM_SOURCES.md and LICENSE. Full model checkpoints, VAE, upstream nodes and optional third-party wheels are not bundled and retain their own license terms.