Instructions to use Wan-AI/Wan2.1-I2V-14B-720P-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.1-I2V-14B-720P-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-I2V-14B-720P-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Download text_encoder/model-00002-of-00005.safetensors from Wan-AI/Wan2.1-I2V-14B-720P-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 4.9 GB
-
https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-720P-Diffusers/resolve/refs%2Fpr%2F4/text_encoder/model-00002-of-00005.safetensors
- Command line
-
hf download hf://Wan-AI/Wan2.1-I2V-14B-720P-Diffusers@refs/pr/4/text_encoder/model-00002-of-00005.safetensors
-
curl -L -o model-00002-of-00005.safetensors https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-720P-Diffusers/resolve/refs%2Fpr%2F4/text_encoder/model-00002-of-00005.safetensors
4.9 GB
- Xet hash:
- 8bb5edf91f16e4148399f9e2b5296c44354ef9bab3f116c3ffaaea3de4492d6d
- Size of remote file:
- 4.9 GB
- SHA256:
- 481c7b2b39771c44df6dd8d13ee12ed072d731b4a650bd092885d4d52db229ad
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.