vita-epfl/Stable-Video-Infinity
Wan video diffusion with clipwise continuation for long-form generation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Stable Video Infinity (SVI) extends a Wan image-to-video diffusion transformer at clip boundaries. Attention is bidirectional within each clip, while continuation is causal across clips: selected frames from the preceding output condition the next generation. Error Recycling targets the training–inference mismatch that arises when continuation depends on imperfect generated context. Training updates LoRA adapters rather than the full backbone.
The generic training and evaluation entrypoints are train_svi.py and test_svi.py, with separate _talk and _dance variants. The tree contains diffsynth/ and dwpose/; the Python stack includes PyTorch, safetensors and PEFT, with DeepSpeed and CUDA-oriented dependencies in the manifest. Talk adds Chinese wav2vec2 and MeiGen-MultiTalk assets; Dance adds UniAnimate-DiT and ONNX pose assets.
Key Capabilities & Differentiators
On main, the documented download layout pairs the sharded Wan2.1-I2V-14B-480P base with separate SVI 1.0 and 2.0 adapters. SVI 2.0 accepts a starting image and a stream of text prompts, primarily for continuous scenes with some transitions. Its Wan 2.1 adapter uses the Shot inference path and supports one or five motion frames. The svi_wan22 branch covers Wan 2.2 with SVI 2.0 and 2.0 Pro.
The 1.0 family separates Shot, Film, Film Transitions, Tom, Talk and Dance checkpoints rather than offering a single interchangeable model. Legacy Shot uses the last frame plus VACE-style reference-image padding; Film uses the last five motion frames, while Tom shares the Film workflow with one. Talk and Dance cover audio-driven and pose-driven generation respectively. Multi-minute demos show that the continuation loop can run well beyond a single clip, not that fidelity is guaranteed at every duration.
Trade-offs & Limitations
SVI and frame-causal Self-Forcing make different latency and editing trade-offs. SVI can model motion jointly within a clip and vary prompts at clip boundaries, which suits shot-based production. It does not provide the same frame-by-frame interaction model. Compared with an unchanged Wan image-to-video workflow, SVI adds explicit continuation controls but requires variant-specific padding and motion-frame selection; the stock Wan graph is not a drop-in host for the LoRA.
Tuning only the adapters reduces the scope of training, but inference still loads the selected Wan backbone and samples each additional clip. Longer runs therefore take more total compute, and continuity remains something to validate on the target content. Use distinct seeds across clips and assess quantization or step distillation on several consecutive clips, especially for Film, where those choices materially affect the workflow.
Hardware & Deployment Guide
The project targets a GPU-backed Python CLI. The setup uses Python 3.10, an editable install, flash_attn==2.8.0.post2 and FFmpeg. The manifest pins torch==2.5.0 and torchvision==0.20.0 and includes cupy-cuda12x; a tested setup used an A100 80 GB, CUDA 12.0 and PyTorch 2.8.0. Check PyTorch, CUDA and FlashAttention compatibility together rather than treating the tested machine or package pins as a minimum specification.
Download the matching base shards and adapter into the weights/ hierarchy before running the CLI locally. Talk and Dance need extra assets; Talk's documented layout also links multitalk.safetensors into the base model directory. The tree includes a Gradio demo and a legacy ComfyUI workflow directory. For 2.0 Pro, use a matching workflow from the community collection in pinned issue #51 rather than reusing the bundled 1.0 graph.
GPU-equipped video research or production teams testing long-form shot continuation, per-clip direction, or dedicated audio- and pose-conditioned workflows.
You need frame-by-frame interaction, a turnkey service, or only independent short clips without continuity requirements.
Quick Start & Installation
conda create -n svi python=3.10 conda activate svi # For svi family pip install -e . pip install flash_attn==2.8.0.post2 # If you encounter issues with flash-attn installation, please refer to the details at https://github.com/vita-epfl/Stable-Video-Infinity/issues/3. conda install -c conda-forge ffmpeg conda install -c conda-forge librosa conda install -c conda-forge libiconv
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/vita-epfl/Stable-Video-Infinity.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Stable-Video-Infinity
Can I load an SVI LoRA into an unchanged Wan 2.1 ComfyUI workflow?
Is an 80 GB GPU required, and how should I size a worker?
Can I self-host SVI for commercial use under MIT?
When should I choose SVI over Self-Forcing or a standard Wan workflow?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy