Views
No views yet

1git clone https://github.com/Wan-Video/Wan-Dancer.git
2cd Wan-Dancer1python -m venv venv_wan_dancer
2source venv_wan_dancer/bin/activate
3
4# Install package in editable mode
5pip install -e .
6
7# Install additional and specific versions dependencies
8pip install moviepy loguru librosa
9pip install https://mirrors.aliyun.com/pytorch-wheels/cu124/torch-2.6.0+cu124-cp310-cp310-linux_x86_64.whl
10pip install torchvision==0.21.0
11pip install diffusers==0.34.0
12pip install yunchang==0.5.0
13pip install flash_attn==2.6.3
14pip install xfuser==0.4.0
15pip install transformers==4.46.2| Models | Download Links | Description |
|---|---|---|
| Wan-Dancer-14B | 🤗 Huggingface 🤖 ModelScope | Music-to-Dance |
1pip install "huggingface_hub[cli]"
2huggingface-cli download Wan-AI/Wan-Dancer-14B --local-dir ./Wan-Dancer-14B1pip install modelscope
2modelscope download Wan-AI/Wan-Dancer-14B --local_dir ./Wan-Dancer-14B1cd Wan-Dancer
2./gen_video_global.sh| Parameter | Description |
|---|---|
seed | Random seed for reproducibility. |
image_path | Path to reference image. Example: gen_video/ref_image/1001.jpg |
prompt_path | Path to prompt file (defines dance style). Available styles:
|
music_path | Path to input music file. Example: gen_video/music/ChineseClassicDance.WAV |
output_folder | Output directory for generated video. |
timestamp | Timestamp identifier for output files. |
num_inference_steps | Number of diffusion inference steps (e.g., 48). |
| Dance Genres | Parameter | Generated Global Video |
|---|---|---|
| Chinese Classical Dance | seed=0 image_path='gen_video/ref_image/1001.jpg' prompt_path='gen_video/prompt/古典舞_global.txt' music_path='gen_video/music/ChineseClassicDance.WAV' num_inference_steps=48 cfg_scale=5 | ![]() |
| Street Dance | seed=0 image_path='gen_video/ref_image/2001.jpg' prompt_path='gen_video/prompt/街舞_global.txt' music_path='gen_video/music/StreetDance.WAV' num_inference_steps=48 cfg_scale=5 | ![]() |
| K-Pop Dance | seed=0 image_path='gen_video/ref_image/3001.jpg' prompt_path='gen_video/prompt/kpop_global.txt' music_path='gen_video/music_suno/3001.WAV' num_inference_steps=48 cfg_scale=5 | ![]() |
| Latin Dance | seed=0 image_path='gen_video/ref_image/4001.jpg' prompt_path='gen_video/prompt/拉丁舞_global.txt' music_path='gen_video/music/LatinDance.WAV' num_inference_steps=48 cfg_scale=5 | ![]() |
| Tap Dance | seed=0 image_path='gen_video/ref_image/5001.jpg' prompt_path='gen_video/prompt/踢踏舞_global.txt' music_path='gen_video/music/TapDance.wav' num_inference_steps=48 cfg_scale=5 | ![]() |
1cd Wan-Dancer
2./gen_video_local.sh| Parameter | Description |
|---|---|
global_video_path | Path to the global video generated in Step 1. Required for local refinement. |
prompt_path | Path to prompt file (defines dance style). Available styles:
|
✅ All other parameters (seed,image_path, etc.) are identical to Step 1.
| Dance Genres | Parameter | Generated Final Video |
|---|---|---|
| Chinese Classical Dance | seed=0 image_path='gen_video/ref_image/1001.jpg' prompt_path='gen_video/prompt/古典舞_local.txt' music_path='gen_video/music/ChineseClassicDance.WAV' num_inference_steps=24 cfg_scale=5 global_video_path='outputs/global_video/1001_ChineseClassicDance_seed0.mp4' | ![]() |
| Street Dance | seed=0 image_path='gen_video/ref_image/2001.jpg' prompt_path='gen_video/prompt/街舞_local.txt' music_path='gen_video/music/StreetDance.WAV' num_inference_steps=24 cfg_scale=5 global_video_path='outputs/global_video/2001_StreetDance_seed0.mp4' | ![]() |
| K-Pop Dance | seed=100 image_path='gen_video/ref_image/3001.jpg' prompt_path='gen_video/prompt/kpop_local.txt' music_path='gen_video/music_suno/3001.WAV' num_inference_steps=24 cfg_scale=5 global_video_path='outputs/global_video/3001_KPopDance_seed0.mp4' | ![]() |
| Latin Dance | seed=0 image_path='gen_video/ref_image/4001.jpg' prompt_path='gen_video/prompt/拉丁舞_local.txt' music_path='gen_video/music/LatinDance.WAV' num_inference_steps=24 cfg_scale=5 global_video_path='outputs/global_video/4001_LatinDance_seed0.mp4' | ![]() |
| Tap Dance | seed=0 image_path='gen_video/ref_image/5001.jpg' prompt_path='gen_video/prompt/踢踏舞_local.txt' music_path='gen_video/music/TapDance.wav' num_inference_steps=24 cfg_scale=5 global_video_path='outputs/global_video/5001_TapDance_seed0.mp4' | ![]() |
num_inference_steps should be set to a larger value (e.g., 48) for longer time videos.1@article{wan-dancer-2026,
2 title = {Wan-Dancer: A Hierarchical Framework for Minute-scale Coherent Music-to-Dance Generation},
3 author = {Huang, Mingyang and Zhang, Peng and Hu, Li and Wang, Guangyuan and Zhang, Ruoshi and Lu, Yi and Cheng, Gang and Zhang, Bang},
4 year = {2026},
5 eprint = {2607.09581},
6 archiveprefix = {arXiv},
7 primaryclass = {cs.CV},
8 url = {https://arxiv.org/abs/2607.09581},
9 note = {Project page: \url{https://humanaigc.github.io/wan-dancer-project/}}
10}