Stable Audio overview
Stable Audio by Stability AI
Discover Stable Audio by Stability AI, an advanced audio generation model that creates high-quality tracks from text prompts with innovative features.
Stable Audio specs
- Model ID
stable-audio- Developer
- Stability AI
- Input
- Text, Audio
- Output
- Audio
- Endpoint
POST https://api.aimlapi.com/v2/generate/audio
Basic Information
- Developer/Creator: Stability AI
- Model Type: Audio Generation Model
Overview:
Stable Audio is an advanced audio generation model designed to create high-quality audio tracks from textual prompts.
- High-Quality Output: Generates audio at 44.1 kHz stereo, providing professional-grade sound quality.
- Length Flexibility: Capable of producing tracks with coherent musical structures including intros, developments, and outros.
- Diverse Sound Creation: Generates melodies, sound effects, and various audio styles, catering to musicians and sound designers.
Intended Use:
The model is intended for musicians, sound designers, and developers looking to create music, sound effects, or ambient sounds for various applications such as games, films, or interactive media.
Language Support:
Stable Audio primarily supports English for text prompts but can process multilingual inputs depending on the context of the prompt.
Architecture:
Stable Audio employs a latent diffusion model architecture optimized for audio generation. It uses a combination of a highly compressed autoencoder for efficient representation of audio waveforms and a diffusion transformer (DiT) that excels in manipulating data over long sequences.
Training Data:
The model was trained on a diverse dataset sourced from the AudioSparx music library, which includes over 800,000 audio files encompassing music, sound effects, and single-instrument stems.
- Data Source and Size: The dataset is large and varied, ensuring a comprehensive understanding of different audio elements and styles.
- Diversity and Bias: The training data was curated to respect creator rights with an opt-out option for artists. This approach helps minimize bias while ensuring diverse representation in the generated outputs.
Performance Metrics:
Stable Audio has demonstrated impressive performance metrics:
| Metric | Score |
|---|---|
| Quality Index | High |
| Length of Generated Tracks | up to 47s |
| Sampling Rate | 44.1 kHz |
Code Samples
The model is available on the AI/ML API platform as "Stable Audio" .
API Documentation
Detailed API Documentation is available here.
Ethical Guidelines
Stability AI emphasizes ethical considerations in AI development by promoting transparency regarding the model's capabilities and limitations. The organization ensures that all training data respects copyright laws and provides options for artists to opt out of data usage.
Licensing
Stable Audio is available under a commercial license that allows both research and commercial usage rights while ensuring compliance with ethical standards regarding creator rights.
Use cases
- Music Production & Sound Design: Generate loops, textures, SFX
- Audio Prototyping: Quickly mock audio-only concepts for apps or games
- Ambient & Foley Creation: Generate atmosphere or environmental sounds
- Research & Academic Projects: Fine-tune open model for sound-related tasks
- Accessibility Tools: Produce audio cues for interfaces or assistive tech
Stable Audio API pricing
| Usage | Price | Unit |
|---|---|---|
| Music generation | $0.001 |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Stable Audio vs other music models: prices
AI/ML API rates for 2 models, per .
| Model | Per |
|---|---|
| $0.001 | |
| $0.03 |
How to use the Stable Audio API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v2/generate/audio' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "stable-audio",
"prompt": "An upbeat lo-fi hip hop instrumental with warm piano chords, soft vinyl crackle and a relaxed drum groove"
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "stable-audio",
"prompt": "An upbeat lo-fi hip hop instrumental with warm piano chords, soft vinyl crackle and a relaxed drum groove"
}
response = requests.post("https://api.aimlapi.com/v2/generate/audio", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v2/generate/audio", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "stable-audio",
"prompt": "An upbeat lo-fi hip hop instrumental with warm piano chords, soft vinyl crackle and a relaxed drum groove"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Stable Audio FAQ
What inputs and outputs does Stable Audio support?
Stable Audio takes audio, text as input and returns audio.
How much does Stable Audio cost?
Stable Audio costs $0.001 on AI/ML API, billed as you go with no subscription.
Who created Stable Audio?
Stable Audio was built by Stability AI.
How do I call Stable Audio on AI/ML API?
Send a request to v2/generate/audio with stable-audio as the model id.
Is Stable Audio available through a single API key?
Yes. Stable Audio is served through AI/ML API, so the same key and endpoint format used for other models applies.
What creative capabilities does Stable Audio offer beyond basic text-to-audio generation?
Stable Audio includes audio transformation features and gives users extensive creative control over the generated output.
What is the Stable Audio model ID?
Use stable-audio as the model parameter. Requests go to https://api.aimlapi.com/v2/generate/audio with your AI/ML API key.

-1%20(1).webp)
