Zonos 2
sandbase-ai/zonos-2Zonos 2 by Zyphra clones a voice from a short reference clip and speaks new text in that voice across many languages, with a switch between closer voice match and more expressive delivery.
- Taban fiyat
- $0.01USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 6
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.01 / ç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ı
- SandBase AI
- Model kimliği
- sandbase-ai/zonos-2
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
Zonos 2
Zyphra Zonos 2 clones a voice from a short reference clip and speaks your text in it, returning 44.1 kHz mono WAV.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
reference_audio | audio file or URL, required | — | Voice to clone; a short, clean sample works best. |
text | string, required | — | Text to speak. |
language | string | en_us | Normalization code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. |
accurate_mode | boolean | true | true = closer voice match, false = more expressive. |
clean_speaker_background | boolean | false | Set true when the reference clip has no background noise. |
seed | integer ≥ 0 | — | Fix it to reproduce a result. |
Billing
$0.01 per started minute of generated audio. The charge uses the measured output length; the estimate before the run assumes 1 minute.
| Output length | Price |
|---|---|
| 30 s | $0.01 |
| 1 min | $0.01 |
| 5 min | $0.05 |
Failed runs are not charged.
Prompting
- Use 10–30 s of clean single-speaker audio as the reference.
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": "sandbase-ai/zonos-2",
"text": "SandBase is the fastest way to generate audio.",
"language": "en_us",
"accurate_mode": true,
"reference_audio": "https://storage.googleapis.com/falserverless/model_tests/zonos/demo_voice_zonos.wav",
"clean_speaker_background": false
}
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ı
6 parametre · 2 zorunlu · 4 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
text | string | Zorunlu | Text to speak in the cloned voice. · Min. uzunluk: 1 |
reference_audio | string | Zorunlu | Reference voice to clone, as an audio file or URL. A short, clean sample works best. |
seed | integer | İsteğe bağlı | Random seed for reproducible results. Omit for a random seed. · Min: 0 |
language | string | İsteğe bağlı | Text-normalization language code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Other codes skip normalization. · Varsayılan: "en_us" |
accurate_mode | boolean | İsteğe bağlı | True gives a closer voice match; false is more expressive. · Varsayılan: true |
clean_speaker_background | boolean | İsteğe bağlı | Mark the reference audio as having a clean background. · Varsayılan: false |
Çı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 |
|---|---|---|---|
Zonos 2Bu model SandBase AI | Ses | $0.01 / çalıştırma | 16 Haz 2026 |
SandBase AI | Ses | $0.06 / çalıştırma | 7 Oca 2026 |
SandBase AI | Ses | $0.01 / çalıştırma | 24 Eki 2025 |
sandbase-ai | Ses | $0.02 / çalıştırma | 7 Eki 2025 |
SandBase AI | Ses | $0.05 / çalıştırma | 4 Nis 2025 |
SandBase AI | Ses | $0.05 / çalıştırma | 4 Nis 2025 |
Sorular
SSS
SandBase AI Zonos 2'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "sandbase-ai/zonos-2" 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 SandBase AI hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size SandBase AI Zonos 2 ve katalogdaki diğer modellere erişim sağlar; SandBase AI için ayrıca kayıt olmanız gerekmez.
