Instructions to use wangfuyun/AnimateLCM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wangfuyun/AnimateLCM with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wangfuyun/AnimateLCM", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Kiss
#21
by hoyosdaniel0 - opened
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
pipeline_tag:
|
| 3 |
---
|
| 4 |
# AnimateLCM for Fast Video Generation in 4 steps.
|
| 5 |
|
|
@@ -38,4 +38,4 @@ output = pipe(
|
|
| 38 |
)
|
| 39 |
frames = output.frames[0]
|
| 40 |
export_to_gif(frames, "animatelcm.gif")
|
| 41 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
pipeline_tag: image-to-video
|
| 3 |
---
|
| 4 |
# AnimateLCM for Fast Video Generation in 4 steps.
|
| 5 |
|
|
|
|
| 38 |
)
|
| 39 |
frames = output.frames[0]
|
| 40 |
export_to_gif(frames, "animatelcm.gif")
|
| 41 |
+
```
|