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
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,10 +23,10 @@ StableAnimator: High-Quality Identity-Preserving Human Image Animation
|
|
| 23 |
</p>
|
| 24 |
|
| 25 |
<p align="center">
|
| 26 |
-
<img src="assets/figures/case-35.gif" width="
|
| 27 |
-
<img src="assets/figures/case-42.gif" width="
|
| 28 |
-
<img src="assets/figures/case-18.gif" width="
|
| 29 |
-
<img src="assets/figures/case-24.gif" width="
|
| 30 |
<br/>
|
| 31 |
<span>Comparison results between StableAnimator and state-of-the-art (SOTA) human image animation models highlight the superior performance of StableAnimator in delivering <b>high-fidelity, identity-preserving human image animation</b>.</span>
|
| 32 |
</p>
|
|
|
|
| 23 |
</p>
|
| 24 |
|
| 25 |
<p align="center">
|
| 26 |
+
<img src="assets/figures/case-35.gif" width="1024" />
|
| 27 |
+
<img src="assets/figures/case-42.gif" width="1024" />
|
| 28 |
+
<img src="assets/figures/case-18.gif" width="1024" />
|
| 29 |
+
<img src="assets/figures/case-24.gif" width="1024" />
|
| 30 |
<br/>
|
| 31 |
<span>Comparison results between StableAnimator and state-of-the-art (SOTA) human image animation models highlight the superior performance of StableAnimator in delivering <b>high-fidelity, identity-preserving human image animation</b>.</span>
|
| 32 |
</p>
|