# SandBase AI Zonos 2 API

> 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.

Source: https://www.sandbase.ai/models/sandbase-ai/zonos-2
API reference: https://www.sandbase.ai/models/sandbase-ai/zonos-2#api

## Facts

- Provider: SandBase AI
- Type: Audio model
- Model ID: `sandbase-ai/zonos-2`
- Price: From $0.01 per run
- Capabilities: text to speech
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "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
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call SandBase AI Zonos 2 through SandBase?

Create a SandBase API key, then send requests with the model ID "sandbase-ai/zonos-2" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate SandBase AI account?

No. One SandBase API key and balance gives you access to SandBase AI Zonos 2 and the other models in the catalog; you do not need to sign up with SandBase AI separately.

## 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.
