Stable Audio 3 Medium API

Stability 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.

Stability AIAudio GenerationReleased May 20, 2026Native InferenceNew

About Stable Audio 3 Medium

Stability 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.

Also known as Stability AI Stable Audio 3 Medium

music generationtext to audiosound effectsseed control

Stable Audio 3 Medium specs

Model ID
stable-audio-3-medium
Author
Stability AI
Category
Audio Generation
Released
May 20, 2026
Input
Text
Output
Audio
Endpoints
POST/v1/audio/generations
Alternate model IDs
stabilityai/stable-audio-3-medium

Stable Audio 3 Medium API pricingSave up to 27%

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Generation
per request
$0.0479$0.035
Compare on the full pricing page

How to call the Stable Audio 3 Medium API

Stable Audio 3 Medium runs through POST /v1/audio/generations. The request returns a job_id right away; poll GET /v1/jobs/{job_id} until the job completes and read the output URLs from the result. Get an API key from the EmpirioLabs dashboard.

cURL: submit the job
curl https://api.empiriolabs.ai/v1/audio/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "stable-audio-3-medium",
    "prompt": "Describe what you want Stable Audio 3 Medium to generate."
  }'
cURL: poll for the result
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/audio/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "stable-audio-3-medium",
        "prompt": "Describe what you want Stable Audio 3 Medium to generate.",
    },
)
job = response.json()

# Generation runs as an async job. Poll until it completes.
import time
while True:
    status = requests.get(
        f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
        headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    ).json()
    if status.get("status") in ("completed", "failed"):
        print(status)
        break
    time.sleep(5)
Full Stable Audio 3 Medium API reference

Stable Audio 3 Medium API parameters

Request parameters supported by the Stable Audio 3 Medium API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
promptstring--The music or sound to generate.
audio_durationnumber301 to 380Clip length in seconds, from 1 to 380.
num_inference_stepsnumber84 to 8Sampling steps, from 4 to 8.
seednumber-0 to 2147483647Random seed. Leave unset for a random one.
formatenummp3mp3, wav, flac, oggAudio file format of the generated clip.
response_formatenumurlurl, b64_jsonReturn a signed media URL by default, or base64 JSON when requested.
return_base64booleanfalse-Compatibility alias for response_format=b64_json.

Good to know

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_duration sets the length in seconds, from 1 to 380. The default is 30.
  • num_inference_steps from 4 to 8. The default is 8.
  • seed repeats 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_format set to b64_json.

Billing

  • Billed per clip, whatever its length. A request that fails is not billed.

Weights

  • FP16.

Stable Audio 3 Medium API: common questions

How much does the Stable Audio 3 Medium API cost?

On EmpirioLabs, Stable Audio 3 Medium is billed pay as you go. The live rate card on this page always matches what the API charges.

Which endpoint does Stable Audio 3 Medium use?

Stable Audio 3 Medium is served through POST /v1/audio/generations on api.empiriolabs.ai with standard bearer-token authentication.

Can I try Stable Audio 3 Medium in the browser before integrating?

Yes. The EmpirioLabs playground runs Stable Audio 3 Medium in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Stable Audio 3 Medium API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.