Instructions to use ByteDance/AnimateDiff-Lightning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ByteDance/AnimateDiff-Lightning with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/AnimateDiff-Lightning", 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
Commit History
-
Update README.md
Verified signatureA man is driving down a country road when he realizes his car is running out of gas. He spots a farm in the distance and decides to stop there for help. The farmer, a friendly man, offers him some gas and starts a conversation. "Did you know," says the farmer, "that we have a cow here on the farm that can tell jokes?" "Really?" the man responds, incredulous. "I'd love to see that." The farmer leads him to the barn, where the cow is standing. He whispers something in the cow's ear, and then the cow looks at the man and says: "Mooo... do you know why the cow went to space? To see the milky way!" The man, impressed, thanks the farmer and asks, "How did you manage to teach the cow to tell jokes?" The farmer smiles and says, "Oh, that's easy. You just have to make sure she always has a captivated audience. After all, who doesn't love good farm stories?" The man laughs, thanks the farmer again, and goes on his way, thinking that it was the most surreal and amusing experience he's ever…368eff5
-
Update readme
a993890 -
Update samples
784a8a5 -
Update readme
9c3e80d -
Update workflow
a46b38d -
Update readme
6fae119 -
Update readme
47b1c22
-
Update readme
5998b6c -
Update workflow
3bbb6f3 -
Update readme
2889b4b -
Update readme
22daf88 -
Update samples
e3a0719 -
Update readme
c2287dd -
Add workflow
34cddc1 -
Update readme
1e7f9d8 -
Update samples
4ff333a -
Update readme
d8a76e9 -
Add workflow
2aeb57a -
Add readme
d5d4ce8 -
Add samples
543f6f6 -
Add report
4b274fa -
Add license
f709356 -
Add safetensors
640952e -
initial commit
Verified signaturef031632