Image-to-Video
Diffusers
Safetensors
Wan2.2
WanAnimatePipeline
wan-animate
character-animation
mxfp4
auto-round
8-bit precision
Instructions to use intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound 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("intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound", 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") - Wan2.2
How to use intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download examples/mxfp4_native.mp4 from intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound: direct link, hf CLI and curl.
- Browser
- Download file 5.31 MB
-
https://huggingface.co/intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound/resolve/main/examples/mxfp4_native.mp4
- Command line
-
hf download hf://intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound/examples/mxfp4_native.mp4
-
curl -L -o mxfp4_native.mp4 https://huggingface.co/intel-ai/Wan2.2-Animate-14B-Diffusers-MXFP4-AutoRound/resolve/main/examples/mxfp4_native.mp4
5.31 MB
- Xet hash:
- 7e306cf4b3347e60ce279dc63008fa5c06c90f10ca708c051fc53d42688ae9d7
- Size of remote file:
- 5.31 MB
- SHA256:
- 2d9a7fe84a98fd017067c0b9643fa3f86ed93fcdd5bbe0f037892c906475a726
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.