Image-to-Video
Diffusers
ONNX
Safetensors
WanPipeline
video-generation
video diffusion transformer
audio-driven avatar animation
Run this model with HF Jobs
Run FrancisRing/StableAvatar on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/FrancisRing/StableAvatar. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/FrancisRing/StableAvatar on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use FrancisRing/StableAvatar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FrancisRing/StableAvatar 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/StableAvatar", 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 assets/videos/case-53.mp4 from FrancisRing/StableAvatar: direct link, hf CLI and curl.
- Browser
- Download file 4.05 MB
-
https://huggingface.co/FrancisRing/StableAvatar/resolve/main/assets/videos/case-53.mp4
- Command line
-
hf download hf://FrancisRing/StableAvatar/assets/videos/case-53.mp4
-
curl -L -o case-53.mp4 https://huggingface.co/FrancisRing/StableAvatar/resolve/main/assets/videos/case-53.mp4
4.05 MB
- Xet hash:
- be3d7e3790e1a1f6639598619c4bc70f2a2a485a31681541a38f929f0f904cac
- Size of remote file:
- 4.05 MB
- SHA256:
- fae59fffe0295dc2b779c12b6326568cc8fbd09fef9c5f8d5587e4e35d7d9f73
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.