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.
- Prezzo base
- $0.01USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 6
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.01 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- SandBase AI
- ID modello
- sandbase-ai/zonos-2
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
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.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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"Schema di input
6 parametri · 2 obbligatori · 4 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
text | string | Obbligatorio | Text to speak in the cloned voice. · Lunghezza minima: 1 |
reference_audio | string | Obbligatorio | Reference voice to clone, as an audio file or URL. A short, clean sample works best. |
seed | integer | Facoltativo | Random seed for reproducible results. Omit for a random seed. · Min: 0 |
language | string | Facoltativo | Text-normalization language code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Other codes skip normalization. · Predefinito: "en_us" |
accurate_mode | boolean | Facoltativo | True gives a closer voice match; false is more expressive. · Predefinito: true |
clean_speaker_background | boolean | Facoltativo | Mark the reference audio as having a clean background. · Predefinito: false |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
Zonos 2Questo modello SandBase AI | Audio | $0.01 / esecuzione | 16 giu 2026 |
SandBase AI | Audio | $0.06 / esecuzione | 7 gen 2026 |
SandBase AI | Audio | $0.01 / esecuzione | 24 ott 2025 |
sandbase-ai | Audio | $0.02 / esecuzione | 7 ott 2025 |
SandBase AI | Audio | $0.05 / esecuzione | 4 apr 2025 |
SandBase AI | Audio | $0.05 / esecuzione | 4 apr 2025 |
Domande
FAQ
Come chiamo SandBase AI Zonos 2 tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "sandbase-ai/zonos-2" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account SandBase AI separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a SandBase AI Zonos 2 e agli altri modelli del catalogo; non è necessario registrarsi separatamente su SandBase AI.
