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-00005-of-00005.safetensors from Wan-AI/Wan2.1-I2V-14B-720P-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 2.89 GB
-
https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-720P-Diffusers/resolve/refs%2Fpr%2F4/text_encoder/model-00005-of-00005.safetensors
- Command line
-
hf download hf://Wan-AI/Wan2.1-I2V-14B-720P-Diffusers@refs/pr/4/text_encoder/model-00005-of-00005.safetensors
-
curl -L -o model-00005-of-00005.safetensors https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-720P-Diffusers/resolve/refs%2Fpr%2F4/text_encoder/model-00005-of-00005.safetensors
2.89 GB
- Xet hash:
- d72f3707d6d906ea0a74020ab9e768d63ca0f5e94ce8469f87a9fd2dfec3cdbe
- Size of remote file:
- 2.89 GB
- SHA256:
- 7e76e18d224531b8197a46231cb53daf7f2f6ca707130252becf933026ac4eea
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.