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
Commit History
-
Update model_index.json (#4)
Verified signature- Update model_index.json (8e65b2ee96c435811ec114841af86124d51e17ad) Co-authored-by: PseudoTerminal X <bghira@users.noreply.huggingface.co>eb849f7
-
update demo (#3)
Verified signature- update demo (b23e5b6a748db515f330abba37995be912f5c145) Co-authored-by: sypyp <ypyp@users.noreply.huggingface.co>482bed6
-
Update README.md
Verified signaturec1eafd2
-
Update scheduler/scheduler_config.json (#2)
Verified signature- Update scheduler/scheduler_config.json (a193ab64f76f6d263be22fbecaa2df9e4450045d) Co-authored-by: Aryan V S <a-r-r-o-w@users.noreply.huggingface.co>93f0602 -
update assets
b701e0d -
Diffusers-format weights (#1)
Verified signature- Upload folder using huggingface_hub (4cbe53042d335b4195f0ae8233033cc8e259b9aa) - Create README.md (c4279852fa6e8752d3c7042c43d0cf06d2ece860) - Update README.md (4c175c4fd6c18409a25856339a3abdf82eab7bb2) - Update README.md (6b78f0129628ed6ed4759f330d9e345ea372e2a2) Co-authored-by: Aryan V S <a-r-r-o-w@users.noreply.huggingface.co>dcade03
-
initial commit
Verified signaturee36422c