Audio model API
Stable Audio Open API
Stable Audio Open generates high-quality audio from text prompts. It generates up to 47 seconds of high-quality audio data from a simple text prompt making it ideal for music production, sound design, and creative audio applications.
- Model id
stable-audio-open- Takes
- Text (required)
- Makes
- Audio
- Endpoint
POST /api/v1/run- Made by
- Stability AI
- Mode
- Synchronous
Call Stable Audio Open
Base URL
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model stable-audio-open
POST /api/v1/runasync · poll /v1/jobs/:id
curl https://payload.rentprompts.com/api/v1/run \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "stable-audio-open",
"prompt": "A calm lo-fi beat with soft piano"
}'
# Async models answer HTTP 202 with a job. Poll it until status is
# "succeeded" (output.url / output.urls) or "failed" (error):
curl https://payload.rentprompts.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer rp_live_YOUR_KEY"Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
Worked out from Stable Audio Open's published price (0.3 J / second). You pay only for successful results, from your Joule balance.
- 5 seconds of output1.5 Joules
- 10 seconds of output3 Joules
Send requests to POST /api/v1/run. Stable Audio Open answers synchronously: the result comes back in the response to the same request.
Settings
Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).