Instructions to use FastVideo/stable-audio-open-small-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/stable-audio-open-small-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FastVideo/stable-audio-open-small-Diffusers", 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
| { | |
| "_class_name": "StableAudioPipeline", | |
| "_diffusers_version": "0.30.0", | |
| "_fastvideo_converted_from": "stabilityai/stable-audio-open-small", | |
| "transformer": [ | |
| "fastvideo.models.dits.stable_audio", | |
| "StableAudioDiT" | |
| ], | |
| "vae": [ | |
| "fastvideo.models.vaes.oobleck", | |
| "OobleckVAE" | |
| ], | |
| "conditioner": [ | |
| "fastvideo.models.encoders.stable_audio_conditioner", | |
| "StableAudioMultiConditioner" | |
| ] | |
| } |