cost. Generation is heavy: expect long runs and high power draw, and renting a GPU instead costs money per hour.
Who it is forA creator or developer with one RTX 4090 class GPU.
The problemMost open video models need data center GPUs, and hosted video tools bill per clip.
The outcomeA short 1280*704 video generated locally from your own prompt.
What you need first
- An NVIDIA GPU: the README says the TI2V-5B command runs on at least 24GB VRAM (e.g. RTX 4090), and the A14B and S2V-14B single GPU commands need at least 80GB VRAM
- Python with torch >= 2.4.0 and the repo requirements (`pip install -r requirements.txt`)
- Model weights downloaded from Hugging Face or ModelScope with the README's huggingface-cli or modelscope commands
Steps
- Clone the repo with
git clone https://github.com/Wan-Video/Wan2.2.gitandcd Wan2.2 - Install dependencies with
pip install -r requirements.txt(the README says to installflash_attnlast if it fails) - Install the CLI with
pip install "huggingface_hub[cli]"and download the Wan2.2-TI2V-5B weights into ./Wan2.2-TI2V-5B as described in the Model Download section - Run
python generate.py --task ti2v-5B --size 1280*704 --ckpt_dir ./Wan2.2-TI2V-5B --offload_model True --convert_model_dtype --t5_cpu --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage"and swap in your own prompt
Prompt for your agent
Using Wan-Video/Wan2.2, set up the repo, download Wan2.2-TI2V-5B, and run the single GPU ti2v-5B text-to-video command with --offload_model True --convert_model_dtype --t5_cpu and my prompt: <describe the scene>. Tell me where the output video was saved.
Caveat. For the 5B model the README says 720P means 1280*704 or 704*1280, not 1280*720.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Wan-Video/Wan2.2 and "Generate a 720P clip from text on one 24GB GPU"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer