Model reference · open weights
VACE-Wan2.1 is an open-weight video model from ali-vilab. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Maker | ali-vilab |
|---|---|
| Type | Video models |
| Task | Image→video |
| Parameters (lead) | 2.2B |
| Runs with | diffusers |
| Based on | Wan-AI/Wan2.1-T2V-1.3B |
| Released | 2025-04-01 |
| Popularity | 764 downloads / month |
| Licence | Open weights |
About
· · · · ·
| 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
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys vace-wan2-1 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (vace-wan2-1 below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/videos/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"vace-wan2-1","prompt":"a drone shot over a forest"}'
Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.