Instructions to use FrancisRing/StableAnimator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FrancisRing/StableAnimator 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("FrancisRing/StableAnimator", 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 Animation/pose_net.pth from FrancisRing/StableAnimator: direct link, hf CLI and curl.
- Browser
- Download file 829 kB
-
https://huggingface.co/FrancisRing/StableAnimator/resolve/main/Animation/pose_net.pth
- Command line
-
hf download hf://FrancisRing/StableAnimator/Animation/pose_net.pth
-
curl -L -o pose_net.pth https://huggingface.co/FrancisRing/StableAnimator/resolve/main/Animation/pose_net.pth
829 kB
- Xet hash:
- a953e34489fd14a1dcd3da2ac8a0873025b6dfbbe88b47dee15ebed071f930b9
- Size of remote file:
- 829 kB
- SHA256:
- b56297b4a1cccf9fc2995a232ed06c4ad79a4e68ac00d716f6ba2bd8eb2401b2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.