Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

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.

Cena bazowa
$0.01USD / uruchomienie
Wykonanie
async
Typ modelu
audio
Pola wejściowe
6
Trasa produkcyjna

Wypróbuj model

Playground

Otwórz Playground
Wejście
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. Minimum: 0.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

Karta modelu

Specyfikacja

Cennik

Cena bazowa
$0.01 / uruchomienie

Kontekst i modalności

Wejście
Zdefiniowane przez schemat
Wyjście
audio

Możliwości

Czat
Nieobsługiwane
Wizja
Nieobsługiwane
Rozumowanie
Nieobsługiwane
Ustrukturyzowany wynik
Nieobsługiwane
Wywoływanie funkcji
Nieobsługiwane
Wejście audio
Nieobsługiwane

Dostęp

Dostawca
SandBase AI
ID modelu
sandbase-ai/zonos-2
Wykonanie
async
Bazowy URL
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.

Zacznij tworzyć

Wyślij pierwsze żądanie

Kompatybilny z OpenAI endpoint z jednolitym uwierzytelnianiem i śledzeniem użycia.

API produkcyjne
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID modelu
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

Schemat wejścia

6 parametrów · 2 wymaganych · 4 opcjonalnych

ParametrTypWymaganeOpis
textstringWymaganeText to speak in the cloned voice. · Minimalna długość: 1
reference_audiostringWymaganeReference voice to clone, as an audio file or URL. A short, clean sample works best.
seedintegerOpcjonalneRandom seed for reproducible results. Omit for a random seed. · Min.: 0
languagestringOpcjonalneText-normalization language code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Other codes skip normalization. · Domyślnie: "en_us"
accurate_modebooleanOpcjonalneTrue gives a closer voice match; false is more expressive. · Domyślnie: true
clean_speaker_backgroundbooleanOpcjonalneMark the reference audio as having a clean background. · Domyślnie: false
02

Schemat wyjścia

PoleTypOpis
idstringUnikalny identyfikator zadania generowania
statusstringStatus zadania: pending, running, completed, failed, timeout
modelstringModel użyty do generowania
outputsarrayTablica elementów wyjściowych
outputs[].urlstringURL wygenerowanego artefaktu
outputs[].content_typestringTyp MIME (np. image/png, video/mp4)
errorobject | nullSzczegóły błędu, jeśli wystąpił; null w przypadku powodzenia
error.typestringMaszynowo czytelny kod typu błędu
error.messagestringOpis błędu czytelny dla człowieka

Asynchroniczny przepływ pracy

Ten model działa asynchronicznie. Wyślij żądanie, a następnie odpytyuj o wynik.

  1. Wyślij: wykonaj POST do /v1/run i odczytaj zwrócone id.
  2. Odpytywanie: wykonuj GET /v1/run/{id}, aż status będzie równy completed, failed lub timeout.
  3. Pobierz: odczytaj outputs z ukończonej odpowiedzi.

Wybierz swój model

Porównaj modele

Wszystkie modele obrazu i wideo
ModelTypCena domyślnaWydano
Zonos 2Ten model
SandBase AI
Audio$0.01 / uruchomienie16 cze 2026
SandBase AIAudio$0.06 / uruchomienie7 sty 2026
SandBase AIAudio$0.01 / uruchomienie24 paź 2025
sandbase-aiAudio$0.02 / uruchomienie7 paź 2025
SandBase AIAudio$0.05 / uruchomienie4 kwi 2025
SandBase AIAudio$0.05 / uruchomienie4 kwi 2025

Pytania

FAQ

Jak wywołać SandBase AI Zonos 2 przez SandBase?

Utwórz klucz API SandBase, a następnie wysyłaj żądania z identyfikatorem modelu "sandbase-ai/zonos-2" do Unified Run API (/v1/run) na https://api.sandbase.ai. Przykłady żądań na tej stronie pokazują dokładny payload.

Czy potrzebuję osobnego konta SandBase AI?

Nie. Jeden klucz API SandBase i saldo daje Ci dostęp do SandBase AI Zonos 2 oraz innych modeli w katalogu; nie musisz osobno zakładać konta u SandBase AI.