stability-ai/stable-audio/2.5/text-to-audio
Stable Audio 2.5 by stability-ai - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runstability-ai/stable-audio/2.5/text-to-audioInput Schema
1 parameters · 1 required · 0 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | The prompt to generate audio from |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "stability-ai/stable-audio/2.5/text-to-audio",
"prompt": "A beautiful piano arpeggio grows into a grand orchestral climax"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Stable Audio 2.5 Text to Audio
Stable Audio 2.5 Text to Audio occupies a clearly bounded position in a audio production pipeline under the route stability-ai/stable-audio/2.5/text-to-audio. It is best evaluated as a named workflow endpoint rather than as a generic substitute for neighboring versions: planners can assign the route to a specific brief, record the chosen revision, and keep approval history tied to one predictable integration surface from intake through delivery.
A practical rollout of Stable Audio 2.5 Text to Audio should begin with source-readiness checks, ownership of the submitted material, an agreed budget, and a written definition of the final text to audio deliverable. Before automation is enabled, the acceptance pass should verify that the returned asset opens correctly, fits the intended downstream toolchain, satisfies the project’s review criteria, and can be reproduced from the stored request and route identity stability-ai/stable-audio/2.5/text-to-audio.
Highlights
- Distinct output behavior. For Stable Audio 2.5 Text to Audio, for Stable Audio 2.5 Text to Audio, describe the requested audio without uploading an input clip In Stable Audio 2.5 Text to Audio, this capability is applied through the exact stability-ai/stable-audio/2.5/text-to-audio workflow with prompt as a relevant request control; the prompt control exposes the corresponding choice in this route; the prompt control exposes the corresponding choice in this route.
- Creative control. For Stable Audio 2.5 Text to Audio, for Stable Audio 2.5 Text to Audio, supply the generation guidance in prompt In Stable Audio 2.5 Text to Audio, this capability is applied through the exact stability-ai/stable-audio/2.5/text-to-audio workflow.
- Workflow fit. For Stable Audio 2.5 Text to Audio, for Stable Audio 2.5 Text to Audio, start with text alone for this variant In Stable Audio 2.5 Text to Audio, this capability is applied through the exact stability-ai/stable-audio/2.5/text-to-audio workflow.
- Production detail. For Stable Audio 2.5 Text to Audio, for Stable Audio 2.5 Text to Audio, receive the generated WAV example through the output URL contract In Stable Audio 2.5 Text to Audio, this capability is applied through the exact stability-ai/stable-audio/2.5/text-to-audio workflow.
Pricing
| Configuration | Price |
|---|---|
| Per request | $0.2 |
When to Use
| Scenario | Why this model fits |
|---|---|
| Choose Stable Audio 2.5 Text to Audio | Use it when the required deliverable is specifically the text-to-audio result documented for stability-ai/stable-audio/2.5/text-to-audio. |
| Match the source material | Select this route when your inputs naturally map to prompt. |
| Use its distinguishing capability | For Stable Audio 2.5 Text to Audio, describe the requested audio without uploading an input clip In Stable Audio 2.5 Text to Audio, this capability is applied through the exact stability-ai/stable-audio/2.5/text-to-audio workflow with prompt as a relevant request control; the prompt control exposes the corresponding choice in this route |
| Plan repeatable production | For Stable Audio 2.5 Text to Audio, supply the generation guidance in prompt In Stable Audio 2.5 Text to Audio, this capability is applied through the exact stability-ai/stable-audio/2.5/text-to-audio workflow |
| Confirm cost and delivery | Use the pricing combinations below and the output contract above when budgeting or automating Stable Audio 2.5 Text to Audio jobs. |
Prompt Guide
Build the request around the exact stability-ai/stable-audio/2.5/text-to-audio schema. Start with required fields, then add only the controls needed for the intended output; keep URLs reachable and enum values exactly as shown in Technical Specs.
{
"prompt": "A beautiful piano arpeggio grows into a grand orchestral climax"
}
Technical Specs
| Specification | Value |
|---|---|
| Model ID | stability-ai/stable-audio/2.5/text-to-audio |
| Execution mode | async |
| Required inputs | prompt |
| Request fields | prompt (string, required) |
| Output | url (string); content_type (string) |

