LILiveEditFeatured
LiveEdit: Real-Time Diffusion-Based Streaming Video Editing
LiveEdit is an open-source, diffusion-based streaming video editing framework developed collaboratively by researchers from Tsinghua University and HKUST (Hong Kong University of Science and Technology). Accepted for presentation at ECCV 2026 (arXiv:2606.26740), LiveEdit addresses the challenge of real-time, causal video manipulation by enabling chunk-by-chunk frame processing at approximately 12.66 FPS on consumer-grade GPUs.
Built on top of the Wan2.1-T2V-1.3B foundation model, LiveEdit converts traditional offline (bidirectional) diffusion video editing models into a real-time unidirectional streaming system.
🔬 Key Technical Features & Architecture
Input Video Stream ──► Foundation Tuning ──► Teacher Forcing ──► DMD Distillation (4 steps) ──► Real-Time Streaming Video Output (~12.66 FPS)- Real-Time Streaming Performance (~12.66 FPS): Performs low-latency video editing on standard GPUs (e.g., RTX 4070 / RTX 4090) in real time.
- Causal Unidirectional Processing: Eliminates the requirement to "peek" into future frames, rendering it suitable for live broadcasting, AR visual effects, and real-time streaming feeds.
- Three-Stage Distillation Pipeline:
- Stage 1 (Foundation Tuning): Trains a bidirectional model on video editing pairs to gain broad instruction-following editing capabilities.
- Stage 2 (Teacher Forcing): Transitions the bidirectional backbone into a causal, chunk-wise autoregressive student model.
- Stage 3 (DMD Distillation): Compresses multi-step diffusion sampling into 4 fast denoising steps via Diffusion Model Distillation.
- AR-Oriented Mask Cache: Identifies static and unedited spatial-temporal regions across streaming video chunks and reuses their features, preventing background temporal flickering.
📊 Performance & Benchmarks
| Metric | Benchmark / Value | Status |
|---|---|---|
| Inference Speed | ~12.66 FPS (on RTX 4070/4090) | Verified |
| Denoising Steps | 4 steps (via DMD distillation) | Verified |
| Base Backbone | Wan2.1-T2V-1.3B | Verified |
| Conference | ECCV 2026 | Verified |
🚀 Quickstart & Usage
git clone https://github.com/cp-cp/LiveEdit.git
cd LiveEdit
conda create -n liveedit python=3.10 -y
conda activate liveedit
pip install -r requirements.txtimport torch
from liveedit.pipeline import LiveEditPipeline
# Load LiveEdit streaming model
pipeline = LiveEditPipeline.from_pretrained(
base_model="wan_models/Wan2.1-T2V-1.3B",
checkpoint="checkpoints/liveedit/ar-forcing_002000.pt",
torch_dtype=torch.bfloat16
).to("cuda")
# Enable AR-oriented Mask Cache for background stability
pipeline.enable_mask_cache(cache_threshold=0.85)
# Process streaming video chunks sequentially
prompt = "Change the red currants to deep black grapes."
for chunk in input_stream:
edited_chunk = pipeline.edit_chunk(
video_chunk=chunk,
prompt=prompt,
num_inference_steps=4
)
output_stream.write(edited_chunk)🔗 Official Links & Resources
Key Features
Real-Time Streaming Video Editing: Achieves ~12.66 FPS real-time performance on consumer GPUs.
Causal Chunk-Wise Architecture: Processes live video streams frame-by-frame/chunk-by-chunk without needing future frames.
Three-Stage Distillation Pipeline: Combines Foundation Tuning, Teacher Forcing, and DMD distillation to compress inference to 4 denoising steps.
AR-Oriented Mask Cache: Reuses background and unedited region computations to reduce token redundancy and prevent temporal flickering.
High Background Preservation: Effectively decouples edited visual elements from static backgrounds for temporal consistency.
Open Source Infrastructure: Built on Wan2.1-T2V-1.3B with weights hosted on Hugging Face.
You might also want to compare
Verified Sources
Tags
Model Specs
Parameters
1.3B
Context Window
undisclosed
License
Apache-2.0
Deployment
Resources & Links
Lineage
Model Family
Part of the Wan2.1 family
Only release in this line currently tracked.
Curator Notes
Verified academic paper (arXiv:2606.26740) accepted at ECCV 2026. Authors from Tsinghua University and HKUST. Official code repository released at cp-cp/LiveEdit under Apache-2.0 license.
Compare Specs
Compare parameters, context windows, modalities, and benchmark scores of this model side-by-side with others.
Compare Model