Video-to-Video
Diffusers
Safetensors
English
Chinese
joyai_video_edit
video-editing
streaming-video
real-time-video
autoregressive-diffusion
multimodal
joyai
Instructions to use jdopensource/JoyAI-Video-Edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jdopensource/JoyAI-Video-Edit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jdopensource/JoyAI-Video-Edit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 8,054 Bytes
2549940 dfddcae 8894deb a6b20db 8894deb 2549940 dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb dfddcae 8894deb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | ---
license: apache-2.0
language:
- en
- zh
pipeline_tag: video-to-video
tags:
- video-editing
- video-to-video
- streaming-video
- real-time-video
- autoregressive-diffusion
- multimodal
- joyai
---
<h1 align="center">JoyAI-Video-Edit</h1>
<h3 align="center">
Real-Time Open-Ended Video Editing with Autoregressive Diffusion
</h3>
<p align="center">
<a href="https://arxiv.org/abs/2608.03974">
<img src="https://img.shields.io/badge/Paper-arXiv-red" alt="Paper">
</a>
<a href="https://github.com/jd-opensource/JoyAI-Video-Edit">
<img src="https://img.shields.io/badge/Code-GitHub-black" alt="GitHub">
</a>
<a href="https://huggingface.co/jdopensource/JoyAI-Video-Edit">
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model-JoyAI--Video--Edit-yellow" alt="Hugging Face">
</a>
<a href="https://joyai-labs.jd.com/v2v/">
<img src="https://img.shields.io/badge/%F0%9F%9A%80%20Demo-Streaming--V2V-orange" alt="Demo">
</a>
<a href="https://github.com/jd-opensource/JoyAI-Video-Edit/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="License">
</a>
</p>
<p align="center">
<img
src="https://raw.githubusercontent.com/jd-opensource/JoyAI-Video-Edit/main/assets/teaser.jpg"
width="96%"
alt="JoyAI-Video-Edit teaser"
>
</p>
## πΆ JoyAI-Video-Edit
**JoyAI-Video-Edit** is a real-time, instruction-guided video editing framework designed for open-ended video streams.
Unlike conventional offline video editing models that require a complete video before inference, JoyAI-Video-Edit processes frames **causally as they arrive**. It can continuously edit a live camera stream or an uploaded video according to natural-language instructions without accessing future frames or requiring a predefined video length.
The framework combines:
- an **MLLM-based condition encoder** for understanding editing instructions,
- a **causal video VAE** for streaming visual representation,
- and a **16B multimodal diffusion transformer** for high-quality video editing.
Through autoregressive diffusion modeling, aligned autoregressive distribution matching distillation, long-horizon optimization, bounded KV-state inference, and deployment-oriented scheduling, JoyAI-Video-Edit achieves stable long-range editing while substantially reducing inference latency.
Our deployment system reaches **30.19 FPS end-to-end at 720 Γ 1280 resolution**, enabling real-time streaming video editing.
---
## π₯ News
- **2026.08.06** β π We released the live demo of JoyAI-Video-Edit.
Try it here: **[Streaming V2V Demo](https://joyai-labs.jd.com/v2v/)**
- **2026.08.05** β π We released the model checkpoints, deployment code, online demo, and technical report.
---
## π Highlights
### β‘ Real-Time Streaming Editing
JoyAI-Video-Edit edits frames continuously as they arrive instead of waiting for the entire video.
It supports open-ended streams and does not require a predefined video duration.
### π― Instruction-Guided Video Editing
The model supports a broad range of editing instructions, including:
- Subject modification
- Subject addition
- Subject removal
- Subject replacement
- Local object editing
- Background replacement
- Style transfer
- Appearance modification
- Motion editing
- Reference-guided video editing
### π Autoregressive Diffusion
JoyAI-Video-Edit introduces an autoregressive diffusion framework consisting of:
- MLLM condition encoder
- Causal video VAE
- 16B multimodal diffusion transformer
- Chunk-wise autoregressive generation
- Long-horizon temporal optimization
- Bounded KV-state inference
### π Real-Time 720p Deployment
The full deployment pipeline achieves:
**30.19 FPS @ 720 Γ 1280**
with end-to-end streaming inference.
---
## π¬ Demo
Try our online real-time video editing demo:
π **https://joyai-labs.jd.com/v2v/**
Project repository:
π **https://github.com/jd-opensource/JoyAI-Video-Edit**
Technical report:
π **https://arxiv.org/abs/2608.03974**
---
## π¦ Model Download
The released JoyAI-Video-Edit checkpoints are hosted on Hugging Face.
### Hugging Face CLI
First install the Hugging Face CLI:
```bash
pip install -U huggingface_hub
```
Then download the complete model repository:
```bash
hf download jdopensource/JoyAI-Video-Edit \
--local-dir ./deploy/deps/checkpoints/JoyAI-Video-Edit
```
Alternatively, you can use:
```bash
huggingface-cli download jdopensource/JoyAI-Video-Edit \
--local-dir ./deploy/deps/checkpoints/JoyAI-Video-Edit
```
The downloaded checkpoint directory should look like:
```text
deploy/deps/checkpoints/JoyAI-Video-Edit/
βββ config.json
βββ dit/
β βββ joyai_video_edit_dit_0804.pth
βββ vae/
βββ config.json
βββ diffusion_pytorch_model.safetensors
```
> **Note**
>
> JoyAI-Video-Edit currently uses its own deployment and inference pipeline.
> The released checkpoint should **not** be loaded directly with
> `diffusers.DiffusionPipeline.from_pretrained()`.
MiMo-VL and the ONNX detector files are additional runtime dependencies. Please refer to the deployment documentation in the GitHub repository for details.
---
## π Quick Start
### 1. Clone the Repository
```bash
git clone https://github.com/jd-opensource/JoyAI-Video-Edit.git
cd JoyAI-Video-Edit
```
### 2. Create the Environment
```bash
conda create -n joyai-video-edit python=3.10 -y
conda activate joyai-video-edit
python -m pip install -r requirements.txt
```
### 3. Download JoyAI-Video-Edit
```bash
hf download jdopensource/JoyAI-Video-Edit \
--local-dir ./deploy/deps/checkpoints/JoyAI-Video-Edit
```
### 4. Prepare Runtime Dependencies
MiMo-VL and the required ONNX detector files are external runtime dependencies.
Please follow:
**[DEPLOYMENT.md](https://github.com/jd-opensource/JoyAI-Video-Edit/blob/main/DEPLOYMENT.md)**
for detailed checkpoint preparation and deployment instructions.
### 5. Launch
```bash
cd deploy
bash run_server.sh
```
Then open:
```text
http://localhost:8080
```
For deployment on a remote server, bind the service to `0.0.0.0` and expose the selected port or use SSH port forwarding.
---
## π οΈ Custom Deployment
For custom deployment settings, edit:
```text
deploy/run_server.sh
```
You can configure:
- JoyAI-Video-Edit checkpoint paths
- CUDA device placement
- Server host
- Server port
- Runtime cache directories
The default deployment script uses persistent TorchInductor, Triton, and CUDA cache directories so that compiled artifacts can be reused across launches.
`TORCHINDUCTOR_AUTOGRAD_CACHE` is not required for inference-only serving.
---
## π§ Roadmap
- [ ] **Consumer GPU support**
Optimize deployment for consumer GPUs such as NVIDIA GeForce RTX 5090.
- [ ] **Stronger JoyAI-Video-Edit model**
Improve overall editing quality with a particular focus on reference-image-guided video editing (RV2V).
- [ ] **Training framework**
Release the complete training pipeline.
- [ ] **Data pipeline**
Release the data generation and processing framework.
---
## π Citation
If JoyAI-Video-Edit is useful for your research or project, please cite:
```bibtex
@article{xiao2026joyai,
title={JoyAI-Video-Edit: Real-Time Open-Ended Video Editing with Autoregressive Diffusion},
author={Xiao, Yicheng and Dai, Wenxun and Qin, Xinran and Song, Lin and Zhang, Maoquan and Xu, Hang and Chen, Yukang and Li, Yitong and Zhang, Guohui and Zhang, Yuan and Zhang, Xuying and Zhang, Tommy and Yuan, Jianlong and Li, Peihao and Lu, Shuai and Fu, Siming and Zhao, Chuyang and Han, Xin and Huang, Jie and Li, Wenbo and Ma, Guoqing and Huang, Wei and Qi, Xiaojuan and Huang, Haoyang and Duan, Nan},
journal={arXiv preprint arXiv:2608.03974},
year={2026}
}
```
---
## π License
JoyAI-Video-Edit is released under the **Apache License 2.0**.
Please refer to the project repository for the complete license:
https://github.com/jd-opensource/JoyAI-Video-Edit/blob/main/LICENSE |