Stable Audio 3 Small SFX Audio to Audio
stability-ai/stable-audio/3/small/sfx/audio-to-audioStable Audio 3 Small SFX by Stability AI transforms an existing clip into new sound effects and short sound design guided by a text prompt, with an adjustable noise level that sets how far it moves from the source.
- Prezzo base
- $0.02USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 7
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.02 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- Stability AI
- ID modello
- stability-ai/stable-audio/3/small/sfx/audio-to-audio
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Stable Audio 3 Small SFX Audio to Audio
Reworks a source clip into new sound effects and short sound design from a prompt, up to 120 s of output.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text description of how the source audio should be transformed. |
audio | audio file or URL, required | — | Source audio file or URL to transform. |
init_noise_level | number 0–1 | 0.9 | Edit strength: 1.0 ignores the source, 0.1 stays close to it. |
duration | integer 1–120 | 30 | Length of the generated audio in seconds (1–120). |
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.024 per generation, regardless of duration or settings.
| Request | Price |
|---|---|
| One track | $0.024 |
| 10 tracks | $0.24 |
Failed runs are not charged.
Prompting
- Describe the target style; lower
init_noise_level(around 0.5) to keep more of the source rhythm and melody.
Also on SandBase
Related: stability-ai/stable-audio/3/small/sfx/text-to-audio, stability-ai/stable-audio/3/small/sfx/audio-inpainting, stability-ai/stable-audio/3/small/sfx/audio-outpainting, stability-ai/stable-audio/3/small/sfx/base/audio-to-audio.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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-to-audio",
"audio": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
"prompt": "bossa nova bassline",
"duration": 30,
"output_format": "mp3",
"init_noise_level": 0.9
}
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"Schema di input
7 parametri · 2 obbligatori · 5 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
audio | string | Obbligatorio | Source audio file or URL to transform. |
prompt | string | Obbligatorio | Text description of how the source audio should be transformed. |
seed | integer | Facoltativo | Random seed for reproducible outputs. |
duration | integer | Facoltativo | Length of the generated audio in seconds (1–120). · Min: 1 · Max: 120 · Predefinito: 30 |
output_format | string | Facoltativo | Audio container format. · Opzioni: mp3, wav, flac, ogg, opus, m4a, aac · Predefinito: "mp3" mp3wavflacoggopusm4aaac |
negative_prompt | string | Facoltativo | Qualities to avoid in the output. · Predefinito: "" |
init_noise_level | number | Facoltativo | How much noise to add to the source audio (0–1). 1.0 replaces it entirely (pure generation); 0.1 stays close to the input. · Min: 0 · Max: 1 · Predefinito: 0.9 |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
Stable Audio 3 Small SFX Audio to AudioQuesto modello Stability AI | Audio | $0.02 / esecuzione | 3 giu 2026 |
Stability AI | Audio | $0.06 / esecuzione | 3 giu 2026 |
Stability AI | Audio | $0.05 / esecuzione | 3 giu 2026 |
Stability AI | Audio | $0.05 / esecuzione | 3 giu 2026 |
Stability AI | Audio | $0.05 / esecuzione | 3 giu 2026 |
Stability AI | Audio | $0.03 / esecuzione | 3 giu 2026 |
Domande
FAQ
Come chiamo Stability AI Stable Audio 3 Small SFX Audio to Audio tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "stability-ai/stable-audio/3/small/sfx/audio-to-audio" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account Stability AI separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a Stability AI Stable Audio 3 Small SFX Audio to Audio e agli altri modelli del catalogo; non è necessario registrarsi separatamente su Stability AI.
