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.
- Базовая цена
- $0.01USD / запуск
- Выполнение
- async
- Тип модели
- audio
- Поля ввода
- 6
Попробовать модель
Песочница
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Карточка модели
Характеристики
Цены
- Базовая цена
- $0.01 / запуск
Контекст и модальности
- Вход
- Определяется схемой
- Выход
- audio
Возможности
- Чат
- Не поддерживается
- Зрение
- Не поддерживается
- Рассуждение
- Не поддерживается
- Структурированный вывод
- Не поддерживается
- Вызов функций
- Не поддерживается
- Аудиовход
- Не поддерживается
Доступ
- Провайдер
- SandBase AI
- ID модели
- sandbase-ai/zonos-2
- Выполнение
- async
- Базовый URL
- https://api.sandbase.ai
- API
- Unified Run API
- Эндпоинт
- /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.
Начните разработку
Отправьте свой первый запрос
Совместимая с OpenAI конечная точка с единообразной аутентификацией и учётом использования.
# 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"Схема ввода
6 параметров · 2 обязательных · 4 необязательных
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
text | string | Обязательный | Text to speak in the cloned voice. · Мин. длина: 1 |
reference_audio | string | Обязательный | Reference voice to clone, as an audio file or URL. A short, clean sample works best. |
seed | integer | Необязательный | Random seed for reproducible results. Omit for a random seed. · Мин.: 0 |
language | string | Необязательный | Text-normalization language code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Other codes skip normalization. · По умолчанию: "en_us" |
accurate_mode | boolean | Необязательный | True gives a closer voice match; false is more expressive. · По умолчанию: true |
clean_speaker_background | boolean | Необязательный | Mark the reference audio as having a clean background. · По умолчанию: false |
Схема вывода
| Поле | Тип | Описание |
|---|---|---|
id | string | Уникальный идентификатор задачи генерации |
status | string | Статус задачи: pending, running, completed, failed, timeout |
model | string | Модель, использованная для генерации |
outputs | array | Массив элементов вывода |
outputs[].url | string | URL сгенерированного артефакта |
outputs[].content_type | string | MIME-тип (например, image/png, video/mp4) |
error | object | null | Сведения об ошибке, если не удалось; null при успехе |
error.type | string | Код ошибки для машинной обработки |
error.message | string | Описание ошибки, понятное человеку |
Асинхронный workflow
Эта модель работает асинхронно. Отправьте запрос, затем опрашивайте результат.
- Отправка: выполните POST на /v1/run и прочитайте возвращаемое
id. - Опрос: выполняйте GET /v1/run/{id}, пока статус не станет
completed,failedилиtimeout. - Получение: прочитайте
outputsиз завершенного ответа.
Выберите свою модель
Сравнить модели
| Модель | Тип | Цена по умолчанию | Выпущена |
|---|---|---|---|
Zonos 2Эта модель SandBase AI | Аудио | $0.01 / запуск | 16 июн. 2026 г. |
SandBase AI | Аудио | $0.06 / запуск | 7 янв. 2026 г. |
SandBase AI | Аудио | $0.01 / запуск | 24 окт. 2025 г. |
sandbase-ai | Аудио | $0.02 / запуск | 7 окт. 2025 г. |
SandBase AI | Аудио | $0.05 / запуск | 4 апр. 2025 г. |
SandBase AI | Аудио | $0.05 / запуск | 4 апр. 2025 г. |
Вопросы
FAQ
Как вызвать SandBase AI Zonos 2 через SandBase?
Создайте API key SandBase, затем отправляйте запросы с идентификатором модели "sandbase-ai/zonos-2" на Unified Run API (/v1/run) по адресу https://api.sandbase.ai. Примеры запросов на этой странице показывают точный payload.
Нужен ли мне отдельный аккаунт SandBase AI?
Нет. Один API key SandBase и один баланс дают вам доступ к SandBase AI Zonos 2 и другим моделям в каталоге; отдельно регистрироваться в SandBase AI не нужно.
