Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Stable Audio 3 Small Music Base Audio Outpainting

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

Stable Audio 3 Small Music Base by Stability AI extends an existing clip with new audio before or after it, guided by a text prompt. It runs the non-distilled base checkpoint (50 sampling steps), which is slower and costs more than the post-trained version.

Taban fiyat
$0.03USD / çalıştırma
Çalıştırma
async
Model türü
audio
Girdi alanları
7
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
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). Aralık: 0 ile 120 arasında.
0120
Seconds of new audio to generate before the source audio (0–120). Aralık: 0 ile 120 arasında.
Audio container format.
Qualities to avoid in the output.
Random seed for reproducible outputs.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

Model kartı

Teknik özellikler

Fiyatlandırma

Temel fiyat
$0.03 / çalıştırma

Bağlam ve modaliteler

Girdi
Şemada tanımlı
Çıktı
audio

Yetenekler

Sohbet
Desteklenmiyor
Görsel
Desteklenmiyor
Akıl yürütme
Desteklenmiyor
Yapılandırılmış çıktı
Desteklenmiyor
Fonksiyon çağırma
Desteklenmiyor
Ses girdisi
Desteklenmiyor

Erişim

Sağlayıcı
Stability AI
Model kimliği
stability-ai/stable-audio/3/small/music/base/audio-outpainting
Çalıştırma
async
Temel URL
https://api.sandbase.ai
API
Unified Run API
Uç nokta
/v1/run

API README

Stable Audio 3 Small Music Base Audio Outpainting

Extends a source clip before and/or after it with new audio from a prompt (up to 120 s each side). It uses the non-distilled base checkpoint (50 sampling steps).

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.0339 per generation, regardless of duration or settings.

RequestPrice
One track$0.0339
10 tracks$0.339

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

Geliştirmeye başlayın

İlk isteğinizi gönderin

Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.

Production API
Unified Run API uç noktası
https://api.sandbase.ai/v1/run
Model ID
stability-ai/stable-audio/3/small/music/base/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/base/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

Giriş Şeması

7 parametre · 2 zorunlu · 5 isteğe bağlı

ParametreTürZorunluAçıklama
audiostringZorunluSource audio file or URL to extend.
promptstringZorunluText description of the extension content.
seedintegerİsteğe bağlıRandom seed for reproducible outputs.
output_formatstringİsteğe bağlıAudio container format. · Seçenekler: mp3, wav, flac, ogg, opus, m4a, aac · Varsayılan: "mp3"
mp3wavflacoggopusm4aaac
negative_promptstringİsteğe bağlıQualities to avoid in the output. · Varsayılan: ""
extend_seconds_afternumberİsteğe bağlıSeconds of new audio to generate after the source audio (0–120). · Min: 0 · Maks: 120 · Varsayılan: 0
extend_seconds_beforenumberİsteğe bağlıSeconds of new audio to generate before the source audio (0–120). · Min: 0 · Maks: 120 · Varsayılan: 0
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİnsan tarafından okunabilir hata açıklaması

Asenkron İş Akışı

Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
Stability AISes$0.03 / çalıştırma3 Haz 2026
Stability AISes$0.06 / çalıştırma3 Haz 2026
Stability AISes$0.05 / çalıştırma3 Haz 2026
Stability AISes$0.05 / çalıştırma3 Haz 2026
Stability AISes$0.05 / çalıştırma3 Haz 2026
Stability AISes$0.03 / çalıştırma3 Haz 2026

Sorular

SSS

Stability AI Stable Audio 3 Small Music Base Audio Outpainting'i SandBase üzerinden nasıl çağırırım?

Bir SandBase API anahtarı oluşturun, ardından model kimliği "stability-ai/stable-audio/3/small/music/base/audio-outpainting" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.

Ayrı bir Stability AI hesabına ihtiyacım var mı?

Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Stability AI Stable Audio 3 Small Music Base Audio Outpainting ve katalogdaki diğer modellere erişim sağlar; Stability AI için ayrıca kayıt olmanız gerekmez.