Views
No views yet


| Models | Download Link | Video Size | License |
|---|---|---|---|
| VACE-Wan2.1-1.3B-Preview | Huggingface 🤗 ModelScope 🤖 | ~ 81 x 480 x 832 | Apache-2.0 |
| VACE-Wan2.1-1.3B | To be released ![]() | ~ 81 x 480 x 832 | Apache-2.0 |
| VACE-Wan2.1-14B | To be released ![]() | ~ 81 x 720 x 1080 | Apache-2.0 |
| VACE-LTX-Video-0.9 | Huggingface 🤗 ModelScope 🤖 | ~ 97 x 512 x 768 | RAIL-M |
1git clone https://github.com/ali-vilab/VACE.git && cd VACE
2pip install torch==2.5.1 torchvision==0.20.1 --index-url https://download.pytorch.org/whl/cu124 # If PyTorch is not installed.
3pip install -r requirements.txt
4pip install wan@git+https://github.com/Wan-Video/Wan2.1 # If you want to use Wan2.1-based VACE.
5pip install ltx-video@git+https://github.com/Lightricks/LTX-Video@ltx-video-0.9.1 sentencepiece --no-deps # If you want to use LTX-Video-0.9-based VACE. It may conflict with Wan.<repo-root>/models/.pip install -r requirements/annotator.txt<repo-root>/models/.<repo-root>/benchmarks/ as examples in run_vace_xxx.sh.1VACE
2├── ...
3├── benchmarks
4│ └── VACE-Benchmark
5│ └── assets
6│ └── examples
7│ ├── animate_anything
8│ │ └── ...
9│ └── ...
10├── models
11│ ├── VACE-Annotators
12│ │ └── ...
13│ ├── VACE-LTX-Video-0.9
14│ │ └── ...
15│ └── VACE-Wan2.1-1.3B-Preview
16│ └── ...
17└── ...1# run V2V depth
2python vace/vace_pipeline.py --base wan --task depth --video assets/videos/test.mp4 --prompt 'xxx'
3
4# run MV2V inpainting by providing bbox
5python vace/vace_pipeline.py --base wan --task inpainting --mode bbox --bbox 50,50,550,700 --video assets/videos/test.mp4 --prompt 'xxx'--task, --mode, --bbox, --video, etc.) and inference (--prompt, etc.).
The output video together with intermediate video, mask and images will be saved into ./results/ by default.💡Note: Please refer to run_vace_pipeline.sh for usage examples of different task pipelines.
src_video, src_mask, and src_ref_images first.
We assign each preprocessor a task name, so simply call vace_preprocess.py and specify the task name and task params. For example:1# process video depth
2python vace/vace_preproccess.py --task depth --video assets/videos/test.mp4
3
4# process video inpainting by providing bbox
5python vace/vace_preproccess.py --task inpainting --mode bbox --bbox 50,50,550,700 --video assets/videos/test.mp4./proccessed/ by default.💡Note: Please refer to run_vace_pipeline.sh preprocessing methods for different tasks. Moreover, refer to vace/configs/ for all the pre-defined tasks and required params. You can also customize preprocessors by implementing atannotatorsand register them atconfigs.
1# For Wan2.1 single GPU inference
2python vace/vace_wan_inference.py --ckpt_dir <path-to-model> --src_video <path-to-src-video> --src_mask <path-to-src-mask> --src_ref_images <paths-to-src-ref-images> --prompt "xxx"
3
4# For Wan2.1 Multi GPU Acceleration inference
5pip install "xfuser>=0.4.1"
6torchrun --nproc_per_node=8 vace/vace_wan_inference.py --dit_fsdp --t5_fsdp --ulysses_size 1 --ring_size 8 --ckpt_dir <path-to-model> --src_video <path-to-src-video> --src_mask <path-to-src-mask> --src_ref_images <paths-to-src-ref-images> --prompt "xxx"
7
8# For LTX inference, run
9python vace/vace_ltx_inference.py --ckpt_path <path-to-model> --text_encoder_path <path-to-model> --src_video <path-to-src-video> --src_mask <path-to-src-mask> --src_ref_images <paths-to-src-ref-images> --prompt "xxx"./results/ by default.💡Note: (1) Please refer to vace/vace_wan_inference.py and vace/vace_ltx_inference.py for the inference args. (2) For LTX-Video and English language Wan2.1 users, you need prompt extension to unlock the full model performance. Please follow the instruction of Wan2.1 and set--use_prompt_extendwhile running inference.
python vace/gradios/preprocess_demo.py1# For Wan2.1 gradio inference
2python vace/gradios/vace_wan_demo.py
3
4# For LTX gradio inference
5python vace/gradios/vace_ltx_demo.py1@article{vace,
2 title = {VACE: All-in-One Video Creation and Editing},
3 author = {Jiang, Zeyinzi and Han, Zhen and Mao, Chaojie and Zhang, Jingfeng and Pan, Yulin and Liu, Yu},
4 journal = {arXiv preprint arXiv:2503.07598},
5 year = {2025}
6}