Instructions to use stabilityai/stable-audio-open-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Stable Audio Tools
How to use stabilityai/stable-audio-open-1.0 with Stable Audio Tools:
import torch import torchaudio from einops import rearrange from stable_audio_tools import get_pretrained_model from stable_audio_tools.inference.generation import generate_diffusion_cond device = "cuda" if torch.cuda.is_available() else "cpu" # Download model model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0") sample_rate = model_config["sample_rate"] sample_size = model_config["sample_size"] model = model.to(device) # Set up text and timing conditioning conditioning = [{ "prompt": "128 BPM tech house drum loop", }] # Generate stereo audio output = generate_diffusion_cond( model, conditioning=conditioning, sample_size=sample_size, device=device ) # Rearrange audio batch to a single sequence output = rearrange(output, "b d n -> d (b n)") # Peak normalize, clip, convert to int16, and save to file output = output.to(torch.float32).div(torch.max(torch.abs(output))).clamp(-1, 1).mul(32767).to(torch.int16).cpu() torchaudio.save("output.wav", output, sample_rate) - Notebooks
- Google Colab
- Kaggle
[Tool] Windows GUI wrapper - batch generation, multilingual prompts, 217 SFX-ready presets
#58
by OscarLumiere - opened
Built a Windows wrapper to lower the entry barrier for non-technical users (game audio designers, video editors). One-file installer, isolated Python env, fully portable, works offline after initial download.
Features
- 217 starter presets across 15 categories (footsteps, impacts, UI, weapons, ambience, vehicles, magic, sci-fi, etc.)
- Batch mode for bulk generation across categories in one run
- Multiple variations per prompt with seed control and scheduler picker
- 9-language UI (EN / RU / ZH / JA / ES / FR / DE / PT / KO) with multilingual prompt auto-translation to English before generation
- Game-ready WAV output with INFO chunk metadata (prompt / seed / cfg / steps) β imports cleanly into Reaper, Audition, Ableton
- GPU and CPU support
- Session history, ZIP export
Screenshots
Licensing
MIT licensed wrapper. Model keeps Stability AI Community License.
Links
π GitHub: https://github.com/oscarlumiere/Stable-Audio-Insight
Feedback and feature requests welcome β please open an issue on GitHub before I start on v2.


