Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Zonos 2

sandbase-ai/zonos-2

Zonos 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
Route di produzione

Prova il modello

Playground

Apri playground
Input
Reference voice to clone, as an audio file or URL. A short, clean sample works best.
Text to speak in the cloned voice.
Text-normalization language code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Other codes skip normalization.
True gives a closer voice match; false is more expressive.
Mark the reference audio as having a clean background.
Random seed for reproducible results. Omit for a random seed. Minimo: 0.
OutputPronto

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

FieldTypeDefaultNotes
reference_audioaudio file or URL, required—Voice to clone; a short, clean sample works best.
textstring, required—Text to speak.
languagestringen_usNormalization code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko.
accurate_modebooleantruetrue = closer voice match, false = more expressive.
clean_speaker_backgroundbooleanfalseSet true when the reference clip has no background noise.
seedinteger ≥ 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 lengthPrice
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.

API di produzione
Endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID del modello
sandbase-ai/zonos-2
# 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"
01

Schema di input

6 parametri · 2 obbligatori · 4 facoltativi

ParametroTipoObbligatorioDescrizione
textstringObbligatorioText to speak in the cloned voice. · Lunghezza minima: 1
reference_audiostringObbligatorioReference voice to clone, as an audio file or URL. A short, clean sample works best.
seedintegerFacoltativoRandom seed for reproducible results. Omit for a random seed. · Min: 0
languagestringFacoltativoText-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_modebooleanFacoltativoTrue gives a closer voice match; false is more expressive. · Predefinito: true
clean_speaker_backgroundbooleanFacoltativoMark the reference audio as having a clean background. · Predefinito: false
02

Schema di output

CampoTipoDescrizione
idstringIdentificatore univoco dell'attività di generazione
statusstringStato dell'attività: pending, running, completed, failed, timeout
modelstringModello usato per la generazione
outputsarrayArray di elementi di output
outputs[].urlstringURL dell'artefatto generato
outputs[].content_typestringTipo MIME (ad esempio image/png, video/mp4)
errorobject | nullDettagli dell'errore in caso di fallimento, null in caso di successo
error.typestringCodice del tipo di errore leggibile dalla macchina
error.messagestringDescrizione dell'errore leggibile dall'utente

Workflow asincrono

Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.

  1. Invio: esegui POST su /v1/run e leggi il id restituito.
  2. Polling: esegui GET /v1/run/{id} finché lo stato non è completed, failed o timeout.
  3. Recupero: leggi outputs dalla risposta completata.

Scegli il tuo modello

Confronta i modelli

Tutti i modelli di immagini e video
ModelloTipoPrezzo predefinitoRilasciato
Zonos 2Questo modello
SandBase AI
Audio$0.01 / esecuzione16 giu 2026
SandBase AIAudio$0.06 / esecuzione7 gen 2026
SandBase AIAudio$0.01 / esecuzione24 ott 2025
sandbase-aiAudio$0.02 / esecuzione7 ott 2025
SandBase AIAudio$0.05 / esecuzione4 apr 2025
SandBase AIAudio$0.05 / esecuzione4 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.