Help preserve open and free AI for humanity's future

← All models

Wan-AI_Wan2.2-TI2V-5B-Diffusers

Wan-AI · View on Hugging Face ↗

Wan 2.2 text-image-to-video model (5B, diffusers layout) — generates video from a text prompt plus an image.

✓ verified · rehash-vs-hf-metadata at 2026-08-20T22:06:09Z

apache-2.031.85 GB (34,203,019,974 bytes)diffuserssafetensorstext-to-videodiffusers:WanPipeline2 languages (en, zh)paper: 2503.20314

Get this model

Download Wan-AI_Wan2.2-TI2V-5B-Diffusers.torrent

Recommended — the .torrent carries the webseed url-list, so your client can fall back to plain HTTPS if the swarm is thin. See/verify for the full download + verification walkthrough.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 language:

  • en
  • zh pipeline_tag: text-to-video

Wan2.2

💜 Wan    |    🖥️ GitHub    |   🤗 Hugging Face   |   🤖 ModelScope   |    📑 Technical Report    |    📑 Blog    |   💬 WeChat Group   |    📖 Discord  


Wan: Open and Advanced Large-Scale Video Generative Models

We are excited to introduce Wan2.2, a major upgrade to our foundational video models. With Wan2.2, we have focused on incorporating the following innovations:

  • 👍 Effective MoE Architecture: Wan2.2 introduces a Mixture-of-Experts (MoE) architecture into video diffusion models. By separating the denoising process cross timesteps with specialized powerful expert models, this enlarges the overall model capacity while maintaining the same computational cost.

  • 👍 Cinematic-level Aesthetics: Wan2.2 incorporates meticulously curated aesthetic data, complete with detailed labels for lighting, composition, contrast, color tone, and more. This allows for more precise and controllable cinematic style generation, facilitating the creation of videos with customizable aesthetic preferences.

  • 👍 Complex Motion Generation: Compared to Wan2.1, Wan2.2 is trained on a significantly larger data, with +65.6% more images and +83.2% more videos. This expansion notably enhances the model's generalization across multiple dimensions such as motions, semantics, and aesthetics, achieving TOP performance among all open-sourced and closed-sourced models.

  • 👍 Efficient High-Definition Hybrid TI2V: Wan2.2 open-sources a 5B model built with our advanced Wan2.2-VAE that achieves a compression ratio of 16×16×4. This model supports both text-to-video and image-to-video generation at 720P resolution with 24fps and can also run on consumer-grade graphics cards like 4090. It is one of the fastest 720P@24fps models currently available, capable of serving both the industrial and academic sectors simultaneously.

This repository contains our TI2V-5B model, built with the advanced Wan2.2-VAE that achieves a compression ratio of 16×16×4. This model supports both text-to-video and image-to-video generation at 720P resolution with 24fps and can runs on single consumer-grade GPU such as the 4090. It is one of the fastest 720P@24fps models available, meeting the needs of both industrial applications and academic research.

Video Demos

Your browser does not support the video tag.

🔥 Latest News!!

  • Jul 28, 2025: 👋 We've released the inference code and model weights of Wan2.2.

Community Works

If your research or project builds upon Wan2.1 or Wan2.2, we welcome you to share it with us so we can highlight it for the broader community.

📑 Todo List

  • Wan2.2 Text-to-Video
    • Multi-GPU Inference code of the A14B and 14B models
    • Checkpoints of the A14B and 14B models
    • ComfyUI integration
    • Diffusers integration
  • Wan2.2 Image-to-Video
    • Multi-GPU Inference code of the A14B model
    • Checkpoints of the A14B model
    • ComfyUI integration
    • Diffusers integration
  • Wan2.2 Text-Image-to-Video
    • Multi-GPU Inference code of the 5B model
    • Checkpoints of the 5B model
    • ComfyUI integration
    • Diffusers integration

Run Wan2.2

Installation

Clone the repo:

git clone https://github.com/Wan-Video/Wan2.2.git
cd Wan2.2

Install dependencies:

# Ensure torch >= 2.4.0
pip install -r requirements.txt

Model Download

Models Download Links Description
T2V-A14B 🤗 Huggingface 🤖 ModelScope Text-to-Video MoE model, supports 480P & 720P
I2V-A14B 🤗 Huggingface 🤖 ModelScope Image-to-Video MoE model, supports 480P & 720P
TI2V-5B 🤗 Huggingface 🤖 ModelScope High-compression VAE, T2V+I2V, supports 720P

💡Note: The TI2V-5B model supports 720P video generation at 24 FPS.

Download models using huggingface-cli:

pip install "huggingface_hub[cli]"
huggingface-cli download Wan-AI/Wan2.2-TI2V-5B --local-dir ./Wan2.2-TI2V-5B

Download models using modelscope-cli:

pip install modelscope
modelscope download Wan-AI/Wan2.2-TI2V-5B --local_dir ./Wan2.2-TI2V-5B

Run Text-Image-to-Video Generation

This repository supports the Wan2.2-TI2V-5B Text-Image-to-Video model and can support video generation at 720P resolutions.

  • Single-GPU Text-to-Video inference
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"

💡Unlike other tasks, the 720P resolution of the Text-Image-to-Video task is 1280*704 or 704*1280.

This command can run on a GPU with at least 24GB VRAM (e.g, RTX 4090 GPU).

💡If you are running on a GPU with at least 80GB VRAM, you can remove the --offload_model True, --convert_model_dtype and --t5_cpu options to speed up execution.

  • Single-GPU Image-to-Video inference
python generate.py --task ti2v-5B --size 1280*704 --ckpt_dir ./Wan2.2-TI2V-5B --offload_model True --convert_model_dtype --t5_cpu --image examples/i2v_input.JPG --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."

💡If the image parameter is configured, it is an Image-to-Video generation; otherwise, it defaults to a Text-to-Video generation.

💡Similar to Image-to-Video, the size parameter represents the area of the generated video, with the aspect ratio following that of the original input image.

  • Multi-GPU inference using FSDP + DeepSpeed Ulysses
torchrun --nproc_per_node=8 generate.py --task ti2v-5B --size 1280*704 --ckpt_dir ./Wan2.2-TI2V-5B --dit_fsdp --t5_fsdp --ulysses_size 8 --image examples/i2v_input.JPG --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."

The process of prompt extension can be referenced here.

  • Running with Diffusers
import torch
import numpy as np
from diffusers import WanPipeline, AutoencoderKLWan, WanTransformer3DModel, UniPCMultistepScheduler
from diffusers.utils import export_to_video, load_image

dtype = torch.bfloat16
device = "cuda"

model_id = "Wan-AI/Wan2.2-TI2V-5B-Diffusers"
vae = AutoencoderKLWan.from_pretrained(model_id, subfolder="vae", torch_dtype=torch.float32)
pipe = WanPipeline.from_pretrained(model_id, vae=vae, torch_dtype=dtype)
pipe.to(device)

height = 704
width = 1280
num_frames = 121
num_inference_steps = 50
guidance_scale = 5.0


prompt = "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
negative_prompt = "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"

output = pipe(
    prompt=prompt,
    negative_prompt=negative_prompt,
    height=height,
    width=width,
    num_frames=num_frames,
    guidance_scale=guidance_scale,
    num_inference_steps=num_inference_steps,
).frames[0]
export_to_video(output, "5bit2v_output.mp4", fps=24)

💡Note:This model requires features that are currently available only in the main branch of diffusers. The latest stable release on PyPI does not yet include these updates. To use this model, please install the library from source:

pip install git+https://github.com/huggingface/diffusers    

Computational Efficiency on Different GPUs

We test the computational efficiency of different Wan2.2 models on different GPUs in the following table. The results are presented in the format: Total time (s) / peak GPU memory (GB).

The parameter settings for the tests presented in this table are as follows: (1) Multi-GPU: 14B: --ulysses_size 4/8 --dit_fsdp --t5_fsdp, 5B: --ulysses_size 4/8 --offload_model True --convert_model_dtype --t5_cpu; Single-GPU: 14B: --offload_model True --convert_model_dtype, 5B: --offload_model True --convert_model_dtype --t5_cpu (--convert_model_dtype converts model parameter types to config.param_dtype); (2) The distributed testing utilizes the built-in FSDP and Ulysses implementations, with FlashAttention3 deployed on Hopper architecture GPUs; (3) Tests were run without the --use_prompt_extend flag; (4) Reported results are the average of multiple samples taken after the warm-up phase.


Introduction of Wan2.2

Wan2.2 builds on the foundation of Wan2.1 with notable improvements in generation quality and model capability. This upgrade is driven by a series of key technical innovations, mainly including the Mixture-of-Experts (MoE) architecture, upgraded training data, and high-compression video generation.

(1) Mixture-of-Experts (MoE) Architecture

Wan2.2 introduces Mixture-of-Experts (MoE) architecture into the video generation diffusion model. MoE has been widely validated in large language models as an efficient approach to increase total model parameters while keeping inference cost nearly unchanged. In Wan2.2, the A14B model series adopts a two-expert design tailored to the denoising process of diffusion models: a high-noise expert for the early stages, focusing on overall layout; and a low-noise expert for the later stages, refining video details. Each expert model has about 14B parameters, resulting in a total of 27B parameters but only 14B active parameters per step, keeping inference computation and GPU memory nearly unchanged.

The transition point between the two experts is determined by the signal-to-noise ratio (SNR), a metric that decreases monotonically as the denoising step $t$ increases. At the beginning of the denoising process, $t$ is large and the noise level is high, so the SNR is at its minimum, denoted as ${SNR}{min}$. In this stage, the high-noise expert is activated. We define a threshold step ${t}{moe}$ corresponding to half of the ${SNR}{min}$, and switch to the low-noise expert when $t<{t}{moe}$.

To validate the effectiveness of the MoE architecture, four settings are compared based on their validation loss curves. The baseline Wan2.1 model does not employ the MoE architecture. Among the MoE-based variants, the Wan2.1 & High-Noise Expert reuses the Wan2.1 model as the low-noise expert while uses the Wan2.2's high-noise expert, while the Wan2.1 & Low-Noise Expert uses Wan2.1 as the high-noise expert and employ the Wan2.2's low-noise expert. The Wan2.2 (MoE) (our final version) achieves the lowest validation loss, indicating that its generated video distribution is closest to ground-truth and exhibits superior convergence.

(2) Efficient High-Definition Hybrid TI2V

To enable more efficient deployment, Wan2.2 also explores a high-compression design. In addition to the 27B MoE models, a 5B dense model, i.e., TI2V-5B, is released. It is supported by a high-compression Wan2.2-VAE, which achieves a $T\times H\times W$ compression ratio of $4\times16\times16$, increasing the overall compression rate to 64 while maintaining high-quality video reconstruction. With an additional patchification layer, the total compression ratio of TI2V-5B reaches $4\times32\times32$. Without specific optimization, TI2V-5B can generate a 5-second 720P video in under 9 minutes on a single consumer-grade GPU, ranking among the fastest 720P@24fps video generation models. This model also natively supports both text-to-video and image-to-video tasks within a single unified framework, covering both academic research and practical applications.

Comparisons to SOTAs

We compared Wan2.2 with leading closed-source commercial models on our new Wan-Bench 2.0, evaluating performance across multiple crucial dimensions. The results demonstrate that Wan2.2 achieves superior performance compared to these leading models.

Citation

If you find our work helpful, please cite us.

@article{wan2025,
      title={Wan: Open and Advanced Large-Scale Video Generative Models}, 
      author={Team Wan and Ang Wang and Baole Ai and Bin Wen and Chaojie Mao and Chen-Wei Xie and Di Chen and Feiwu Yu and Haiming Zhao and Jianxiao Yang and Jianyuan Zeng and Jiayu Wang and Jingfeng Zhang and Jingren Zhou and Jinkai Wang and Jixuan Chen and Kai Zhu and Kang Zhao and Keyu Yan and Lianghua Huang and Mengyang Feng and Ningyi Zhang and Pandeng Li and Pingyu Wu and Ruihang Chu and Ruili Feng and Shiwei Zhang and Siyang Sun and Tao Fang and Tianxing Wang and Tianyi Gui and Tingyu Weng and Tong Shen and Wei Lin and Wei Wang and Wei Wang and Wenmeng Zhou and Wente Wang and Wenting Shen and Wenyuan Yu and Xianzhong Shi and Xiaoming Huang and Xin Xu and Yan Kou and Yangyu Lv and Yifei Li and Yijing Liu and Yiming Wang and Yingya Zhang and Yitong Huang and Yong Li and You Wu and Yu Liu and Yulin Pan and Yun Zheng and Yuntao Hong and Yupeng Shi and Yutong Feng and Zeyinzi Jiang and Zhen Han and Zhi-Fan Wu and Ziyu Liu},
      journal = {arXiv preprint arXiv:2503.20314},
      year={2025}
}

License Agreement

The models in this repository are licensed under the Apache 2.0 License. We claim no rights over the your generated contents, granting you the freedom to use them while ensuring that your usage complies with the provisions of this license. You are fully accountable for your use of the models, which must not involve sharing any content that violates applicable laws, causes harm to individuals or groups, disseminates personal information intended for harm, spreads misinformation, or targets vulnerable populations. For a complete list of restrictions and details regarding your rights, please refer to the full text of the license.

Acknowledgements

We would like to thank the contributors to the SD3, Qwen, umt5-xxl, diffusers and HuggingFace repositories, for their open research.

Contact Us

If you would like to leave a message to our research or product teams, feel free to join our Discord or WeChat groups!

Magnet link (secondary — no webseeds)

Opens the swarm directly, but carries no webseed url-list. Prefer the.torrent download above — HTTP fallback seeds ride inside it.

magnet:?xt=urn:btih:d4a8bf517757a596fdfba0f74ceb4086a53be8a4&dn=Wan-AI_Wan2.2-TI2V-5B-Diffusers

Open magnet in torrent client · infohash d4a8bf517757a596fdfba0f74ceb4086a53be8a4

Files & hashes

PathSizeMethodHash
README.md17.2 KB (17,633 B)sha1-git-blobf940f55ea91f0d5713b7fa7b42be2590ea17a9e7
assets/comp_effic.png197.4 KB (202,156 B)sha256-lfs75ee012dcfb08365bec67a3ec7afc126fc2817f79b9f80e38711792d4770e32b
assets/logo.png55.0 KB (56,322 B)sha1-git-blob0c55854cbd9692975f217714ffd83fd4b37f5dca
assets/moe_2.png515.5 KB (527,914 B)sha256-lfs4ea471ccb64349bd08bc9a78f336ae000e9ca3b40da9a652b8028b214a8c6093
assets/moe_arch.png73.1 KB (74,900 B)sha1-git-blob7822af1e65215ee2a9449c9b7616afd713f67a01
assets/performance.png299.4 KB (306,535 B)sha256-lfs97ef99c13c8ae717a8a11c8d8ec927b69077c647cc6689755d08fc38e7fbb830
assets/vae.png161.6 KB (165,486 B)sha256-lfs4aaea5e187f1c5908e15ade5bef24c9fb59882986bc3d2ad75f7fe820f3d772f
examples/i2v_input.JPG244.8 KB (250,628 B)sha256-lfs077e3d965090c9028c69c00931675f42e1acc815c6eb450ab291b3b72d211a8e
model_index.json499 B (499 B)sha1-git-blobfe52bfbdc8e5bbc8a6a607dd301f6e1ab0889cd1
scheduler/scheduler_config.json820 B (820 B)sha1-git-blob950d26faea717c8902ee197982026cb9c1b6463e
text_encoder/config.json855 B (855 B)sha1-git-blobab4a73bce055c6e32e66133032dcb3adfb26ee8d
text_encoder/model-00001-of-00003.safetensors4.60 GB (4,935,812,536 B)sha256-lfsa8e861969c7433e707cc5a74065d795d36cca07ec96eb6763eb4083df7248f58
text_encoder/model-00002-of-00003.safetensors4.64 GB (4,983,103,192 B)sha256-lfsd57d948ece4837d850b7a859a4415121d57cacf8b9ee1d4db200c67f592902d7
text_encoder/model-00003-of-00003.safetensors1.34 GB (1,442,935,480 B)sha256-lfs0da9ee284e21d1406df708788db1d502d95d75f69faa25cd26151bf8829b7c5f
text_encoder/model.safetensors.index.json21.9 KB (22,476 B)sha1-git-blobf3d3d4da90eb33e14c92d88ea346370fa3c0b5b2
tokenizer/special_tokens_map.json6.9 KB (7,079 B)sha1-git-blob2ed25bf989a28d20b5d4b5822fbc24666d12a6f7
tokenizer/spiece.model4.3 MB (4,548,313 B)sha256-lfse3909a67b780650b35cf529ac782ad2b6b26e6d1f849d3fbb6a872905f452458
tokenizer/tokenizer.json16.1 MB (16,837,459 B)sha256-lfs20a46ac256746594ed7e1e3ef733b83fbc5a6f0922aa7480eda961743de080ef
tokenizer/tokenizer_config.json60.3 KB (61,758 B)sha1-git-blob09d434f9457238f697f4c208aab47f58caa15bfe
transformer/config.json495 B (495 B)sha1-git-blob8180887e8ed86e4fd842824fb15fcabf43d19512
transformer/diffusion_pytorch_model-00001-of-00005.safetensors4.64 GB (4,978,254,344 B)sha256-lfs511bec832a201caa410d09c5ce7dbbf8ad2708c345d82038f684fc74cce982be
transformer/diffusion_pytorch_model-00002-of-00005.safetensors4.51 GB (4,846,784,976 B)sha256-lfs7c42724912b1911429125dc50c0e9a49ccbada5a601b657d4ed2e15e7597c193
transformer/diffusion_pytorch_model-00003-of-00005.safetensors4.63 GB (4,972,658,392 B)sha256-lfse9c3d0c76de786566382f8258101fea973ae37681c6e9fe0e5fe1fb93b806424
transformer/diffusion_pytorch_model-00004-of-00005.safetensors4.51 GB (4,846,785,080 B)sha256-lfsa331121771790939678db6f585553fd5184609f7d02593c699a4d241b0d834c5
transformer/diffusion_pytorch_model-00005-of-00005.safetensors338.3 MB (354,751,840 B)sha256-lfs78b655685c47efdb2349f36826bb101264e9f212a16325d584aeb5f53c88e719
transformer/diffusion_pytorch_model.safetensors.index.json71.6 KB (73,297 B)sha1-git-blob4ced518ff3eb023a0477eeab55f2a4d45d6fd43a
vae/config.json1.7 KB (1,701 B)sha1-git-blob29f65bc63e9daadb95e4c1a8344d162be4b7d533
vae/diffusion_pytorch_model.safetensors2.63 GB (2,818,777,808 B)sha256-lfs62cd18f19438e35b32ac63020e2852f566e9b02f46b6cdbd87972a356e3c6f4b

Provenance

Upstream repositoryWan-AI/Wan2.2-TI2V-5B-Diffusers
Revision (pinned)b8fff7315c768468a5333511427288870b2e9635
Fetched at2026-08-20T21:45:24Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

Webseeds