Stable Audio 3 Small SFX Base Audio Inpainting
stability-ai/stable-audio/3/small/sfx/base/audio-inpaintingStable Audio 3 Small SFX Base by Stability AI regenerates a chosen time range inside an existing clip from a text prompt and leaves the rest untouched. It runs the non-distilled base checkpoint (50 sampling steps), which is slower and costs more than the post-trained version.
- Grundpreis
- $0.03USD / Ausführung
- Ausführung
- async
- Modelltyp
- audio
- Eingabefelder
- 7
Modell testen
Playground
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/base/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 Base Audio Inpainting
Regenerates one time range of a source clip from a prompt (mask up to 120 s) and keeps the rest. It uses the non-distilled base checkpoint (50 sampling steps).
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text description of what the masked region should become. |
audio | audio file or URL, required | — | Source audio file or URL. Only the masked region is regenerated. |
mask_start_seconds | number 0–120, required | — | Start of the region to regenerate, in seconds. |
mask_end_seconds | number 0–120, required | — | End of the region to regenerate; must be after mask_start_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.0331 per generation, regardless of duration or settings.
| Request | Price |
|---|---|
| One track | $0.0331 |
| 10 tracks | $0.331 |
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/base/text-to-audio, stability-ai/stable-audio/3/small/sfx/base/audio-to-audio, stability-ai/stable-audio/3/small/sfx/base/audio-outpainting, stability-ai/stable-audio/3/small/sfx/audio-inpainting.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# 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/base/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"Eingabeschema
7 Parameter · 4 erforderlich · 3 optional
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
audio | string | Erforderlich | Source audio file or URL. Only the masked region is regenerated. |
prompt | string | Erforderlich | Text description of what the masked region should become. |
mask_end_seconds | number | Erforderlich | End of the region to regenerate, in seconds (0–120). Must be greater than mask_start_seconds. · Min.: 0 · Max.: 120 |
mask_start_seconds | number | Erforderlich | Start of the region to regenerate, in seconds (0–120). · Min.: 0 · Max.: 120 |
seed | integer | Optional | Random seed for reproducible outputs. |
output_format | string | Optional | Audio container format. · Optionen: mp3, wav, flac, ogg, opus, m4a, aac · Standard: "mp3" mp3wavflacoggopusm4aaac |
negative_prompt | string | Optional | Qualities to avoid in the output. · Standard: "" |
Ausgabeschema
| Feld | Typ | Beschreibung |
|---|---|---|
id | string | Eindeutige Kennung für den Generierungsauftrag |
status | string | Status des Auftrags: pending, running, completed, failed, timeout |
model | string | Verwendetes Modell für die Generierung |
outputs | array | Array von Ausgabeelementen |
outputs[].url | string | URL des generierten Artefakts |
outputs[].content_type | string | MIME-Typ (z. B. image/png, video/mp4) |
error | object | null | Fehlerdetails bei Fehlschlag, bei Erfolg null |
error.type | string | Maschinenlesbarer Fehler-Typcode |
error.message | string | Menschenlesbare Fehlerbeschreibung |
Asynchroner Workflow
Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.
- Senden: Per POST an /v1/run senden und das zurückgegebene
idlesen. - Pollen: GET /v1/run/{id}, bis der Status
completed,failedodertimeoutist. - Abrufen:
outputsaus der abgeschlossenen Antwort lesen.
Wählen Sie Ihr Modell
Modelle vergleichen
| Modell | Typ | Standardpreis | Veröffentlicht |
|---|---|---|---|
Stable Audio 3 Small SFX Base Audio InpaintingDieses Modell Stability AI | Audio | $0.03 / Lauf | 3. Juni 2026 |
Stability AI | Audio | $0.06 / Lauf | 3. Juni 2026 |
Stability AI | Audio | $0.05 / Lauf | 3. Juni 2026 |
Stability AI | Audio | $0.05 / Lauf | 3. Juni 2026 |
Stability AI | Audio | $0.05 / Lauf | 3. Juni 2026 |
Stability AI | Audio | $0.03 / Lauf | 3. Juni 2026 |
Fragen
FAQ
Wie rufe ich Stability AI Stable Audio 3 Small SFX Base 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/base/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 Base Audio Inpainting und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Stability AI registrieren.
