Model reference · open weights
VACE-Wan2.1 is an open-weight video model from ali-vilab. VACE-Wan2.1-1.3B-Preview (FP32) weighs 15.4 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the ali-vilab/VACE-Wan2.1-1.3B-Preview model card, 2026-10-01
What it is
| Released by | ali-vilab |
|---|---|
| Released | 2025-04-01 |
| Parameters | 2.2B |
| VRAM | 15.4 GB for the weights |
What it runs on
| Card | Weights | Memory |
|---|---|---|
| RTX 3060 12 GB | fits (encoders offloaded) | 11.6 GB |
| RTX 4060 Ti 16 GB | fits (encoders offloaded) | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
· · · · ·
| 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 |
The codebase was tested with Python 3.10.13, CUDA version 12.4, and PyTorch >= 2.5.1.
You can setup for VACE model inference by running:
git clone https://github.com/ali-vilab/VACE.git && cd VACE
pip install torch==2.5.1 torchvision==0.20.1 --index-url https://download.pytorch.org/whl/cu124 # If PyTorch is not installed.
pip install -r requirements.txt
pip install wan@git+https://github.com/Wan-Video/Wan2.1 # If you want to use Wan2.1-based VACE.
pip 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.
Please download your preferred base model to /models/.
If you need preprocessing tools, please install:
pip install -r requirements/annotator.txt
Please download VACE-Annotators to /models/.
It is recommended to download VACE-Benchmark to /benchmarks/ as examples in run_vace_xxx.sh.
We recommend to organize local directories as:
VACE
├── ...
├── benchmarks
│ └── VACE-Benchmark
│ └── assets
│ └── examples
│ ├── animate_anything
│ │ └── ...
│ └── ...
├── models
│ ├── VACE-Annotators
│ │ └── ...
│ ├── VACE-LTX-Video-0.9
│ │ └── ...
│ └── VACE-Wan2.1-1.3B-Preview
│ └── ...
└── ...
In VACE, users can input text prompt and optional video, mask, and image for video generation or editing. Detailed instructions for using VACE can be found in the User Guide.
To simply run VACE without diving into any implementation details, we suggest an end-to-end pipeline. For example:
# run V2V depth
python vace/vace_pipeline.py --base wan --task depth --video assets/videos/test.mp4 --prompt 'xxx'
# run MV2V inpainting by providing bbox
python vace/vace_pipeline.py --base wan --task inpainting --mode bbox --bbox 50,50,550,700 --video assets/videos/test.mp4 --prompt 'xxx'
This script will run video preprocessing and model inference sequentially,
and you need to specify all the required args of preprocessing (--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.
To have more flexible control over the input, before VACE model inference, user inputs need to be preprocessed into 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
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Running it yourself
Rent a machine by the hour. ComfyUI is installed on it. Open ComfyUI through the tunnel, then Templates → Wan 2.1 Image to Video, and choose this model's file in its model loader.
# on your rented machine (the ssh line is on its page in the console)
# get REPO FILE FOLDER: one file into /workspace/models/FOLDER, where ComfyUI loads it from
get() { hf download "$1" "$2" --local-dir /workspace/hf-files && mkdir -p "/workspace/models/$3" && mv "/workspace/hf-files/$2" "/workspace/models/$3/$4"; }
# the model (6.7 GB)
get ali-vilab/VACE-Wan2.1-1.3B-Preview diffusion_pytorch_model.safetensors diffusion_models
# what the template also loads “Wan 2.1 Image to Video” (7.7 GB)
get Comfy-Org/Wan_2.1_ComfyUI_repackaged split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors text_encoders
get Comfy-Org/Wan_2.1_ComfyUI_repackaged split_files/vae/wan_2.1_vae.safetensors vae
get Comfy-Org/Wan_2.1_ComfyUI_repackaged split_files/clip_vision/clip_vision_h.safetensors clip_vision
start-comfyui
# on your computer, in a second terminal: ComfyUI in your browser at http://localhost:8188
# HOST and PORT are your machine's, from its page in the console
ssh -L 8188:localhost:8188 dev@HOST -p PORT