Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Stable Audio 3 Small Music Audio Outpainting

stability-ai/stable-audio/3/small/music/audio-outpainting

Stable Audio 3 Small Music by Stability AI extends an existing clip with new audio before or after it, guided by a text prompt.

Grundpreis
$0.03USD / Ausführung
Ausführung
async
Modelltyp
audio
Eingabefelder
7
Produktionsroute

Modell testen

Playground

Playground öffnen
Eingabe
Text description of the extension content.
Source audio file or URL to extend.
0120
Seconds of new audio to generate after the source audio (0–120). Bereich: 0 bis 120.
0120
Seconds of new audio to generate before the source audio (0–120). Bereich: 0 bis 120.
Audio container format.
Qualities to avoid in the output.
Random seed for reproducible outputs.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

Modellkarte

Spezifikationen

Preisgestaltung

Basispreis
$0.03 / Ausführung

Kontext & Modalitäten

Eingabe
Schema-definiert
Ausgabe
audio

Funktionen

Chat
Nicht unterstützt
Vision
Nicht unterstützt
Reasoning
Nicht unterstützt
Strukturierte Ausgabe
Nicht unterstützt
Function Calling
Nicht unterstützt
Audioeingabe
Nicht unterstützt

Zugriff

Anbieter
Stability AI
Modell-ID
stability-ai/stable-audio/3/small/music/audio-outpainting
Ausführung
async
Basis-URL
https://api.sandbase.ai
API
Unified Run API
Endpunkt
/v1/run

API-README

Stable Audio 3 Small Music Audio Outpainting

Extends a source clip before and/or after it with new audio from a prompt (up to 120 s each side).

Fields

FieldTypeDefaultNotes
promptstring, required—Text description of the extension content.
audioaudio file or URL, required—Source audio file or URL to extend.
extend_seconds_afternumber 0–1200New audio appended after the source, in seconds.
extend_seconds_beforenumber 0–1200New audio prepended before the source, in seconds.
output_formatmp3 / wav / flac / ogg / opus / m4a / aacmp3Output file format.
negative_promptstring—What to avoid.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.0265 per generation, regardless of duration or settings.

RequestPrice
One track$0.0265
10 tracks$0.265

Failed runs are not charged.

Prompting

  • Describe how the music or sound should continue; set at least one of extend_seconds_after / extend_seconds_before above 0.

Also on SandBase

Related: stability-ai/stable-audio/3/small/music/text-to-audio, stability-ai/stable-audio/3/small/music/audio-to-audio, stability-ai/stable-audio/3/small/music/audio-inpainting, stability-ai/stable-audio/3/small/music/base/audio-outpainting.

Jetzt loslegen

Senden Sie Ihre erste Anfrage

OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.

Produktions-API
Unified Run API-Endpunkt
https://api.sandbase.ai/v1/run
Modell-ID
stability-ai/stable-audio/3/small/music/audio-outpainting
# 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/music/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"
01

Eingabeschema

7 Parameter · 2 erforderlich · 5 optional

ParameterTypErforderlichBeschreibung
audiostringErforderlichSource audio file or URL to extend.
promptstringErforderlichText description of the extension content.
seedintegerOptionalRandom seed for reproducible outputs.
output_formatstringOptionalAudio container format. · Optionen: mp3, wav, flac, ogg, opus, m4a, aac · Standard: "mp3"
mp3wavflacoggopusm4aaac
negative_promptstringOptionalQualities to avoid in the output. · Standard: ""
extend_seconds_afternumberOptionalSeconds of new audio to generate after the source audio (0–120). · Min.: 0 · Max.: 120 · Standard: 0
extend_seconds_beforenumberOptionalSeconds of new audio to generate before the source audio (0–120). · Min.: 0 · Max.: 120 · Standard: 0
02

Ausgabeschema

FeldTypBeschreibung
idstringEindeutige Kennung für den Generierungsauftrag
statusstringStatus des Auftrags: pending, running, completed, failed, timeout
modelstringVerwendetes Modell für die Generierung
outputsarrayArray von Ausgabeelementen
outputs[].urlstringURL des generierten Artefakts
outputs[].content_typestringMIME-Typ (z. B. image/png, video/mp4)
errorobject | nullFehlerdetails bei Fehlschlag, bei Erfolg null
error.typestringMaschinenlesbarer Fehler-Typcode
error.messagestringMenschenlesbare Fehlerbeschreibung

Asynchroner Workflow

Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.

  1. Senden: Per POST an /v1/run senden und das zurückgegebene id lesen.
  2. Pollen: GET /v1/run/{id}, bis der Status completed, failed oder timeout ist.
  3. Abrufen: outputs aus der abgeschlossenen Antwort lesen.

Wählen Sie Ihr Modell

Modelle vergleichen

Alle Bild- und Videomodelle
ModellTypStandardpreisVeröffentlicht
Stability AIAudio$0.03 / Lauf3. Juni 2026
Stability AIAudio$0.06 / Lauf3. Juni 2026
Stability AIAudio$0.05 / Lauf3. Juni 2026
Stability AIAudio$0.05 / Lauf3. Juni 2026
Stability AIAudio$0.05 / Lauf3. Juni 2026
Stability AIAudio$0.03 / Lauf3. Juni 2026

Fragen

FAQ

Wie rufe ich Stability AI Stable Audio 3 Small Music Audio Outpainting über SandBase auf?

Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "stability-ai/stable-audio/3/small/music/audio-outpainting" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.

Benötige ich ein separates Stability AI-Konto?

Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf Stability AI Stable Audio 3 Small Music Audio Outpainting und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Stability AI registrieren.