Stable Audio 2.5 Audio to Audio
stability-ai/stable-audio/2.5/audio-to-audioStable Audio 2.5 Audio to Audio by Stability AI transforms an existing clip into new music or sound guided by a text prompt, with a strength control that sets how far it moves from the source.
- Taban fiyat
- $0.20USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 5
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.20 / ç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/2.5/audio-to-audio
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
Stable Audio 2.5 Audio to Audio
Reworks a source clip into new audio from a prompt, with up to 190 seconds of output.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text description of how the source audio should be transformed. |
audio | audio file or URL, required | — | Source audio file or URL to transform. |
strength | number 0.01–1 | 0.8 | Edit strength: near 0 keeps the source, 1 ignores it. |
duration | integer 1–190 | — | Length of the generated audio in seconds (1–190). Defaults to the length of the source audio. |
seed | integer | random | Fix it to compare prompt changes. |
Billing
$0.20 per generation, regardless of duration or settings.
| Request | Price |
|---|---|
| One track | $0.20 |
| 10 tracks | $2.00 |
Failed runs are not charged.
Prompting
- Describe the target style; lower
strength(around 0.5) to keep more of the source rhythm and melody.
Also on SandBase
Related: stability-ai/stable-audio/2.5/text-to-audio, stability-ai/stable-audio/2.5/inpaint, stability-ai/stable-audio/3/medium/audio-to-audio.
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/2.5/audio-to-audio",
"audio": "https://static.sandbase.ai/examples/stability-ai/stable-audio/2.5/audio-to-audio/input_audio_0.wav",
"prompt": "Post rock, guitars, bass, strings, euphoric, up-lifting, moody, flowing, raw, epic",
"strength": 0.8
}
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ı
5 parametre · 2 zorunlu · 3 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
audio | string | Zorunlu | Source audio file or URL to transform. |
prompt | string | Zorunlu | Text description of how the source audio should be transformed. |
seed | integer | İsteğe bağlı | Random seed for reproducible outputs. |
duration | integer | İsteğe bağlı | Length of the generated audio in seconds (1–190). Defaults to the length of the source audio. · Min: 1 · Maks: 190 |
strength | number | İsteğe bağlı | How much the output may differ from the source audio (0.01–1). Values near 0 keep the input; 1 ignores it. · Min: 0.01 · Maks: 1 · Varsayılan: 0.8 |
Çı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 |
|---|---|---|---|
Stable Audio 2.5 Audio to AudioBu model Stability AI | Ses | $0.20 / çalıştırma | 10 Eyl 2025 |
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 2.5 Audio to Audio'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "stability-ai/stable-audio/2.5/audio-to-audio" 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 2.5 Audio to Audio ve katalogdaki diğer modellere erişim sağlar; Stability AI için ayrıca kayıt olmanız gerekmez.
