Instructions to use Wan-AI/Wan2.2-S2V-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.2-S2V-14B 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.2-S2V-14B", 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 README.md
Verified signaturedab4e9c -
Update README.md (#8)
Verified signature- Update README.md (04660e14eb8380491cec585483977ff3bcbad71b) Co-authored-by: Sergio García Francia <TuPadreSerge@users.noreply.huggingface.co>08e2caa -
Complete `diffusers` integration (#11)
Verified signature- Complete `diffusers` integration (b2ce2ed4c44549c512110b2370d36775e11eedbf) Co-authored-by: Tolga Cangöz <tolgacangoz@users.noreply.huggingface.co>e3aaa2f
-
Update README.md
Verified signaturebe80fca -
Improve model card: Add pipeline tag, library name, specific paper, and project page for Wan-S2V (#5)
Verified signature- Improve model card: Add pipeline tag, library name, specific paper, and project page for Wan-S2V (f7072b7d214e21380d8d8f16b3e78f7a6d39fd28) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>bcd1a1f
-
Update README.md
Verified signatureeff0178 -
Update README.md
Verified signature8afbbc4
-
Update README.md
Verified signature8a60f2d
-
Update README.md
Verified signature62849eb -
Update README.md
Verified signature22de477 -
Update README.md
Verified signature819460f -
Upload 471504690-b63bfa58-d5d7-4de6-a1a2-98970b06d9a7.mp4
Verified signature314f477 -
Update README.md
Verified signature82f1693
-
Update README.md
Verified signatureccd6004 -
Upload folder using huggingface_hub
Verified signaturefac48c4 -
Upload folder using huggingface_hub
Verified signature85d11c2 -
initial commit
Verified signaturea7f38b6