Stable Audio 3 Medium

Stability AI · Audio Generation
POST /v1/audio/generationsStability AI text-to-audio model for music and sound effects, 44.1 kHz stereo clips up to 380 seconds, with length, step and seed controls.
At a glance
Pricing
Example request
Parameters
Notes
Generates music and sound effects from text: 44.1 kHz stereo, from 1 to 380 seconds per clip. Powered by Stability AI.
Input
- A text prompt describing the music or sound: genre, instruments, mood, tempo, or the effect.
audio_durationsets the length in seconds, from 1 to 380. The default is 30.num_inference_stepsfrom 4 to 8. The default is 8.seedrepeats a result. Negative prompts, lyrics and audio inputs are not supported.
Output
- MP3 by default, or WAV, FLAC or Ogg with
format. - A signed URL by default, or base64 with
response_formatset tob64_json.
Billing
- Billed per clip, whatever its length. A request that fails is not billed.
Weights
- FP16.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/stable-audio-3-medium.
