gitwtfhub

wtf is wan-dancer?

wan-video/wan-dancer — explained in plain English

Analysis updated 2026-05-18

359PythonAudience · researcherComplexity · 5/5Setup · hard

TL;DR

Wan-Dancer is an AI research project that generates long, coherent dance videos over a minute long directly from a music track and a reference photo.

Mindmap

mindmap
  root((Wan-Dancer))
    What it does
      Music to dance video
      Minute-scale videos
      Global plus local stages
    Tech stack
      Python
      PyTorch
      Diffusers
      CUDA
    Use cases
      Generate dance videos
      Research long-form video
      Multiple dance genres
    Setup
      Multi-GPU required
      Pinned dependencies
      Two-stage scripts
    Audience
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Generate a long, rhythm synced dance video from a music track and reference photo.

REASON 2

Study a hierarchical global-to-local approach for minute-scale video generation.

REASON 3

Experiment with dance video generation across five different dance genres.

What's in the stack?

PythonPyTorchDiffusersCUDA

How it stacks up

wan-video/wan-dancerzarazhangrui/personalized-podcastavaturn-live/avtr-1
Stars359358362
LanguagePythonPythonPython
Setup difficultyhardeasyhard
Complexity5/52/54/5
Audienceresearchervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1day+

Tested on 8 NVIDIA A800 80GB GPUs with an exact set of pinned CUDA and library versions.

The README does not state a license for this code.

Wtf does this do

Wan-Dancer is a Python research project that generates dance videos directly from music using AI. Give it a reference image of a person, a music file, and a chosen dance style, and it produces a video of that person dancing in sync with the rhythm, for durations well beyond what similar tools can normally manage. The core problem the project addresses is that most AI video generators fall apart after about twenty seconds: the dancer's identity drifts, motions start repeating, and the video loses coherence over time. Wan-Dancer works around this with a two stage approach. First it plans the overall structure of the dance across the entire song, producing lower resolution global keyframes that capture the big picture movements. Then a second local refinement stage fills in high resolution detail while staying consistent with that global plan. According to the accompanying research paper, this lets the system produce stable 720p video at 30 frames per second for videos over a minute long, something existing methods struggle to do. The project ships with example prompts and reference material for five distinct dance styles, including Chinese classical dance, K-pop, street dance, tap dance, and Latin dance, each with its own prompt files for both the global and local generation stages. Running Wan-Dancer requires a fairly serious hardware setup. The authors tested it on eight NVIDIA A800 GPUs with 80GB of memory each, running Ubuntu and a specific version of Python, along with a long list of exact dependency versions including PyTorch, diffusers, and flash attention. Usage involves running a shell script to generate the global keyframe video first, then running a second shell script that takes that output and produces the final high resolution version, with parameters controlling things like the random seed, the reference image, the music file, and the number of diffusion steps used during generation. This is research code released alongside a published paper, and the models are also available through Hugging Face and ModelScope for anyone who wants to try the approach without running the full pipeline themselves.

Yoink these prompts

Prompt 1
Explain how Wan-Dancer's global keyframe stage differs from its local refinement stage.
Prompt 2
Walk me through setting up the Python environment and GPU dependencies for Wan-Dancer.
Prompt 3
Help me run gen_video_global.sh with a reference image and a chosen dance style.
Prompt 4
Summarize what problem Wan-Dancer's paper says it solves compared to prior dance video models.

Frequently asked questions

wtf is wan-dancer?

Wan-Dancer is an AI research project that generates long, coherent dance videos over a minute long directly from a music track and a reference photo.

What language is wan-dancer written in?

Mainly Python. The stack also includes Python, PyTorch, Diffusers.

What license does wan-dancer use?

The README does not state a license for this code.

How hard is wan-dancer to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is wan-dancer for?

Mainly researcher.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.