Stable Audio 3 Small SFX Audio Outpainting
stability-ai/stable-audio/3/small/sfx/audio-outpaintingStable Audio 3 Small SFX by Stability AI extends an existing clip with new audio before or after it, guided by a text prompt.
- Base price
- $0.03USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 7
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.03 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Stability AI
- Model ID
- stability-ai/stable-audio/3/small/sfx/audio-outpainting
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Stable Audio 3 Small SFX Audio Outpainting
Extends a source clip before and/or after it with new audio from a prompt (up to 120 s each side).
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text description of the extension content. |
audio | audio file or URL, required | — | Source audio file or URL to extend. |
extend_seconds_after | number 0–120 | 0 | New audio appended after the source, in seconds. |
extend_seconds_before | number 0–120 | 0 | New audio prepended before the source, in seconds. |
output_format | mp3 / wav / flac / ogg / opus / m4a / aac | mp3 | Output file format. |
negative_prompt | string | — | What to avoid. |
seed | integer | random | Fix it to compare prompt changes. |
Billing
$0.0271 per generation, regardless of duration or settings.
| Request | Price |
|---|---|
| One track | $0.0271 |
| 10 tracks | $0.271 |
Failed runs are not charged.
Prompting
- Describe how the music or sound should continue; set at least one of
extend_seconds_after/extend_seconds_beforeabove 0.
Also on SandBase
Related: stability-ai/stable-audio/3/small/sfx/text-to-audio, stability-ai/stable-audio/3/small/sfx/audio-to-audio, stability-ai/stable-audio/3/small/sfx/audio-inpainting, stability-ai/stable-audio/3/small/sfx/base/audio-outpainting.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "stability-ai/stable-audio/3/small/sfx/audio-outpainting",
"audio": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
"prompt": "soft strings continue the melody",
"output_format": "mp3",
"extend_seconds_after": 30,
"extend_seconds_before": 0
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Input Schema
7 parameters · 2 required · 5 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
audio | string | Required | Source audio file or URL to extend. |
prompt | string | Required | Text description of the extension content. |
seed | integer | Optional | Random seed for reproducible outputs. |
output_format | string | Optional | Audio container format. · Options: mp3, wav, flac, ogg, opus, m4a, aac · Default: "mp3" mp3wavflacoggopusm4aaac |
negative_prompt | string | Optional | Qualities to avoid in the output. · Default: "" |
extend_seconds_after | number | Optional | Seconds of new audio to generate after the source audio (0–120). · Min: 0 · Max: 120 · Default: 0 |
extend_seconds_before | number | Optional | Seconds of new audio to generate before the source audio (0–120). · Min: 0 · Max: 120 · Default: 0 |
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 runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Stability AI | Audio | $0.03 / run | Jun 3, 2026 |
Stability AI | Audio | $0.06 / run | Jun 3, 2026 |
Stability AI | Audio | $0.05 / run | Jun 3, 2026 |
Stability AI | Audio | $0.05 / run | Jun 3, 2026 |
Stability AI | Audio | $0.05 / run | Jun 3, 2026 |
Stability AI | Audio | $0.03 / run | Jun 3, 2026 |
Questions
FAQ
How do I call Stability AI Stable Audio 3 Small SFX Audio Outpainting through SandBase?
Create a SandBase API key, then send requests with the model ID "stability-ai/stable-audio/3/small/sfx/audio-outpainting" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate Stability AI account?
No. One SandBase API key and balance gives you access to Stability AI Stable Audio 3 Small SFX Audio Outpainting and the other models in the catalog; you do not need to sign up with Stability AI separately.
