Stable Audio 3 Small SFX Base Audio Outpainting
stability-ai/stable-audio/3/small/sfx/base/audio-outpaintingStable Audio 3 Small SFX 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
Modeli deneyin
Oynatma Alanı
Çı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/sfx/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 SFX 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
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text description of the extension content. |
audio | audio file or URL, required | — | Source audio file or URL to extend. |
extend_seconds_after | number 0–120 | 0 | New audio appended after the source, in seconds. |
extend_seconds_before | number 0–120 | 0 | New audio prepended before the source, in 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.0337 per generation, regardless of duration or settings.
| Request | Price |
|---|---|
| One track | $0.0337 |
| 10 tracks | $0.337 |
Failed runs are not charged.
Prompting
- Describe how the music or sound should continue; set at least one of
extend_seconds_after/extend_seconds_beforeabove 0.
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-inpainting, stability-ai/stable-audio/3/small/sfx/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.
# 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-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"Giriş Şeması
7 parametre · 2 zorunlu · 5 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
audio | string | Zorunlu | Source audio file or URL to extend. |
prompt | string | Zorunlu | Text description of the extension content. |
seed | integer | İsteğe bağlı | Random seed for reproducible outputs. |
output_format | string | İsteğe bağlı | Audio container format. · Seçenekler: mp3, wav, flac, ogg, opus, m4a, aac · Varsayılan: "mp3" mp3wavflacoggopusm4aaac |
negative_prompt | string | İsteğe bağlı | Qualities to avoid in the output. · Varsayılan: "" |
extend_seconds_after | number | İ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_before | number | İsteğe bağlı | Seconds of new audio to generate before the source audio (0–120). · Min: 0 · Maks: 120 · Varsayılan: 0 |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İ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.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
Stability AI | Ses | $0.03 / çalıştırma | 3 Haz 2026 |
Stability AI | Ses | $0.06 / çalıştırma | 3 Haz 2026 |
Stability AI | Ses | $0.05 / çalıştırma | 3 Haz 2026 |
Stability AI | Ses | $0.05 / çalıştırma | 3 Haz 2026 |
Stability AI | Ses | $0.05 / çalıştırma | 3 Haz 2026 |
Stability AI | Ses | $0.03 / çalıştırma | 3 Haz 2026 |
Sorular
SSS
Stability AI Stable Audio 3 Small SFX 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/sfx/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 SFX Base Audio Outpainting ve katalogdaki diğer modellere erişim sağlar; Stability AI için ayrıca kayıt olmanız gerekmez.
