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/glintr100_torch.pth from FrancisRing/StableAnimator: direct link, hf CLI and curl.
- Browser
- Download file 261 MB
-
https://huggingface.co/FrancisRing/StableAnimator/resolve/main/Animation/glintr100_torch.pth
- Command line
-
hf download hf://FrancisRing/StableAnimator/Animation/glintr100_torch.pth
-
curl -L -o glintr100_torch.pth https://huggingface.co/FrancisRing/StableAnimator/resolve/main/Animation/glintr100_torch.pth
261 MB
- Xet hash:
- d621074c1a6350520d01c45e085bf5aae20f9128d875d76cdbe87e6f436f10d8
- Size of remote file:
- 261 MB
- SHA256:
- 5f631718e783448b41631e15073bdc622eaeef56509bbad4e5085f23bd32db83
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.