Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Stable Audio 2.5 Audio to Audio

stability-ai/stable-audio/2.5/audio-to-audio

Stable Audio 2.5 Audio to Audio by Stability AI transforms an existing clip into new music or sound guided by a text prompt, with a strength control that sets how far it moves from the source.

Prezzo base
$0.20USD / esecuzione
Esecuzione
async
Tipo di modello
audio
Campi di input
5
Route di produzione

Prova il modello

Playground

Apri playground
Input
Text description of how the source audio should be transformed.
Source audio file or URL to transform.
0.011
How much the output may differ from the source audio (0.01–1). Values near 0 keep the input; 1 ignores it. Intervallo: da 0.01 a 1.
1190
Length of the generated audio in seconds (1–190). Defaults to the length of the source audio. Intervallo: da 1 a 190.
Random seed for reproducible outputs.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

Scheda del modello

Specifiche

Prezzi

Prezzo base
$0.20 / 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/2.5/audio-to-audio
Esecuzione
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README API

Stable Audio 2.5 Audio to Audio

Reworks a source clip into new audio from a prompt, with up to 190 seconds of output.

Fields

FieldTypeDefaultNotes
promptstring, required—Text description of how the source audio should be transformed.
audioaudio file or URL, required—Source audio file or URL to transform.
strengthnumber 0.01–10.8Edit strength: near 0 keeps the source, 1 ignores it.
durationinteger 1–190—Length of the generated audio in seconds (1–190). Defaults to the length of the source audio.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.20 per generation, regardless of duration or settings.

RequestPrice
One track$0.20
10 tracks$2.00

Failed runs are not charged.

Prompting

  • Describe the target style; lower strength (around 0.5) to keep more of the source rhythm and melody.

Also on SandBase

Related: stability-ai/stable-audio/2.5/text-to-audio, stability-ai/stable-audio/2.5/inpaint, stability-ai/stable-audio/3/medium/audio-to-audio.

Inizia a costruire

Invia la tua prima richiesta

Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.

API di produzione
Endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID del modello
stability-ai/stable-audio/2.5/audio-to-audio
# 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/2.5/audio-to-audio",
  "audio": "https://static.sandbase.ai/examples/stability-ai/stable-audio/2.5/audio-to-audio/input_audio_0.wav",
  "prompt": "Post rock, guitars, bass, strings, euphoric, up-lifting, moody, flowing, raw, epic",
  "strength": 0.8
}
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"
01

Schema di input

5 parametri · 2 obbligatori · 3 facoltativi

ParametroTipoObbligatorioDescrizione
audiostringObbligatorioSource audio file or URL to transform.
promptstringObbligatorioText description of how the source audio should be transformed.
seedintegerFacoltativoRandom seed for reproducible outputs.
durationintegerFacoltativoLength of the generated audio in seconds (1–190). Defaults to the length of the source audio. · Min: 1 · Max: 190
strengthnumberFacoltativoHow much the output may differ from the source audio (0.01–1). Values near 0 keep the input; 1 ignores it. · Min: 0.01 · Max: 1 · Predefinito: 0.8
02

Schema di output

CampoTipoDescrizione
idstringIdentificatore univoco dell'attività di generazione
statusstringStato dell'attività: pending, running, completed, failed, timeout
modelstringModello usato per la generazione
outputsarrayArray di elementi di output
outputs[].urlstringURL dell'artefatto generato
outputs[].content_typestringTipo MIME (ad esempio image/png, video/mp4)
errorobject | nullDettagli dell'errore in caso di fallimento, null in caso di successo
error.typestringCodice del tipo di errore leggibile dalla macchina
error.messagestringDescrizione dell'errore leggibile dall'utente

Workflow asincrono

Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.

  1. Invio: esegui POST su /v1/run e leggi il id restituito.
  2. Polling: esegui GET /v1/run/{id} finché lo stato non è completed, failed o timeout.
  3. Recupero: leggi outputs dalla risposta completata.

Scegli il tuo modello

Confronta i modelli

Tutti i modelli di immagini e video
ModelloTipoPrezzo predefinitoRilasciato
Stability AIAudio$0.20 / esecuzione10 set 2025
Stability AIAudio$0.06 / esecuzione3 giu 2026
Stability AIAudio$0.05 / esecuzione3 giu 2026
Stability AIAudio$0.05 / esecuzione3 giu 2026
Stability AIAudio$0.05 / esecuzione3 giu 2026
Stability AIAudio$0.03 / esecuzione3 giu 2026

Domande

FAQ

Come chiamo Stability AI Stable Audio 2.5 Audio to Audio tramite SandBase?

Crea una chiave API SandBase, poi invia richieste con l'ID modello "stability-ai/stable-audio/2.5/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 2.5 Audio to Audio e agli altri modelli del catalogo; non è necessario registrarsi separatamente su Stability AI.