Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Stable Audio 3 Small SFX Audio Outpainting

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

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

Prix de base
$0.03USD / exécution
Exécution
async
Type de modèle
audio
Champs d'entrée
7
Route de production

Essayer le modèle

Bac à sable

Ouvrir le Playground
Entrée
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). Plage : de 0 à 120.
0120
Seconds of new audio to generate before the source audio (0–120). Plage : de 0 à 120.
Audio container format.
Qualities to avoid in the output.
Random seed for reproducible outputs.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

Fiche modèle

Spécifications

Tarification

Prix de base
$0.03 / exécution

Contexte et modalités

Entrée
Défini par le schéma
Sortie
audio

Fonctionnalités

Chat
Non pris en charge
Vision
Non pris en charge
Raisonnement
Non pris en charge
Sortie structurée
Non pris en charge
Appel de fonction
Non pris en charge
Entrée audio
Non pris en charge

Accès

Fournisseur
Stability AI
ID du modèle
stability-ai/stable-audio/3/small/sfx/audio-outpainting
Exécution
async
URL de base
https://api.sandbase.ai
API
Unified Run API
Point de terminaison
/v1/run

README de l'API

Stable Audio 3 Small SFX 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.0271 per generation, regardless of duration or settings.

RequestPrice
One track$0.0271
10 tracks$0.271

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

Commencer à construire

Envoyez votre première requête

Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.

API de production
point de terminaison Unified Run API
https://api.sandbase.ai/v1/run
ID du modèle
stability-ai/stable-audio/3/small/sfx/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/sfx/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

Schéma d'entrée

7 paramètres · 2 obligatoires · 5 facultatifs

ParamètreTypeObligatoireDescription
audiostringObligatoireSource audio file or URL to extend.
promptstringObligatoireText description of the extension content.
seedintegerFacultatifRandom seed for reproducible outputs.
output_formatstringFacultatifAudio container format. · Options : mp3, wav, flac, ogg, opus, m4a, aac · Par défaut : "mp3"
mp3wavflacoggopusm4aaac
negative_promptstringFacultatifQualities to avoid in the output. · Par défaut : ""
extend_seconds_afternumberFacultatifSeconds of new audio to generate after the source audio (0–120). · Min : 0 · Max : 120 · Par défaut : 0
extend_seconds_beforenumberFacultatifSeconds of new audio to generate before the source audio (0–120). · Min : 0 · Max : 120 · Par défaut : 0
02

Schéma de sortie

ChampTypeDescription
idstringIdentifiant unique de la tâche de génération
statusstringStatut de la tâche : pending, running, completed, failed, timeout
modelstringModèle utilisé pour la génération
outputsarrayTableau des éléments de sortie
outputs[].urlstringURL de l'artefact généré
outputs[].content_typestringType MIME (par ex. image/png, video/mp4)
errorobject | nullDétails de l'erreur en cas d'échec, null en cas de succès
error.typestringCode de type d'erreur lisible par machine
error.messagestringDescription de l'erreur lisible par l'humain

Flux de travail asynchrone

Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.

  1. Envoyer : faites un POST vers /v1/run et lisez le id renvoyé.
  2. Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit completed, failed ou timeout.
  3. Récupérer : lisez outputs dans la réponse terminée.

Choisissez votre modèle

Comparer les modèles

Tous les modèles d’image et de vidéo
ModèleTypePrix par défautLancement
Stability AIAudio$0.03 / exécution3 juin 2026
Stability AIAudio$0.06 / exécution3 juin 2026
Stability AIAudio$0.05 / exécution3 juin 2026
Stability AIAudio$0.05 / exécution3 juin 2026
Stability AIAudio$0.05 / exécution3 juin 2026
Stability AIAudio$0.03 / exécution3 juin 2026

Questions

FAQ

Comment appeler Stability AI Stable Audio 3 Small SFX Audio Outpainting via SandBase ?

Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "stability-ai/stable-audio/3/small/sfx/audio-outpainting" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.

Ai-je besoin d’un compte Stability AI distinct ?

Non. Une seule clé API SandBase et un seul solde vous donnent accès à Stability AI Stable Audio 3 Small SFX Audio Outpainting et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Stability AI séparément.