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

Stable Audio 3 Small SFX Audio Inpainting

stability-ai/stable-audio/3/small/sfx/audio-inpainting

Stable Audio 3 Small SFX by Stability AI regenerates a chosen time range inside an existing clip from a text prompt and leaves the rest untouched.

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

Modell testen

Playground

Playground öffnen
Eingabe
Text description of what the masked region should become.
Source audio file or URL. Only the masked region is regenerated.
0120
Start of the region to regenerate, in seconds (0–120). Bereich: 0 bis 120.
0120
End of the region to regenerate, in seconds (0–120). Must be greater than mask_start_seconds. 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/sfx/audio-inpainting
Ausführung
async
Basis-URL
https://api.sandbase.ai
API
Unified Run API
Endpunkt
/v1/run

API-README

Stable Audio 3 Small SFX Audio Inpainting

Regenerates one time range of a source clip from a prompt (mask up to 120 s) and keeps the rest.

Fields

FieldTypeDefaultNotes
promptstring, required—Text description of what the masked region should become.
audioaudio file or URL, required—Source audio file or URL. Only the masked region is regenerated.
mask_start_secondsnumber 0–120, required—Start of the region to regenerate, in seconds.
mask_end_secondsnumber 0–120, required—End of the region to regenerate; must be after mask_start_seconds.
output_formatmp3 / wav / flac / ogg / opus / m4a / aacmp3Output file format.
negative_promptstring—What to avoid.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.0259 per generation, regardless of duration or settings.

RequestPrice
One track$0.0259
10 tracks$0.259

Failed runs are not charged.

Prompting

  • Describe only what the masked region should contain; keep the mask short so the edges blend with the source.

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-outpainting, stability-ai/stable-audio/3/small/sfx/base/audio-inpainting.

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/sfx/audio-inpainting
# 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-inpainting",
  "audio": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
  "prompt": "punchy kick drum fill",
  "output_format": "mp3",
  "mask_end_seconds": 8,
  "mask_start_seconds": 4
}
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 · 4 erforderlich · 3 optional

ParameterTypErforderlichBeschreibung
audiostringErforderlichSource audio file or URL. Only the masked region is regenerated.
promptstringErforderlichText description of what the masked region should become.
mask_end_secondsnumberErforderlichEnd of the region to regenerate, in seconds (0–120). Must be greater than mask_start_seconds. · Min.: 0 · Max.: 120
mask_start_secondsnumberErforderlichStart of the region to regenerate, in seconds (0–120). · Min.: 0 · Max.: 120
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: ""
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 SFX Audio Inpainting ü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/sfx/audio-inpainting" 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 SFX Audio Inpainting und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Stability AI registrieren.