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.
- Base price
- $0.01USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 6
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.01 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- SandBase AI
- Model ID
- sandbase-ai/zonos-2
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API 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.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# 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"Input Schema
6 parameters · 2 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Required | Text to speak in the cloned voice. · Min length: 1 |
reference_audio | string | Required | Reference voice to clone, as an audio file or URL. A short, clean sample works best. |
seed | integer | Optional | Random seed for reproducible results. Omit for a random seed. · Min: 0 |
language | string | Optional | Text-normalization language code: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Other codes skip normalization. · Default: "en_us" |
accurate_mode | boolean | Optional | True gives a closer voice match; false is more expressive. · Default: true |
clean_speaker_background | boolean | Optional | Mark the reference audio as having a clean background. · Default: false |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Zonos 2This model SandBase AI | Audio | $0.01 / run | Jun 16, 2026 |
SandBase AI | Audio | $0.06 / run | Jan 7, 2026 |
SandBase AI | Audio | $0.01 / run | Oct 24, 2025 |
sandbase-ai | Audio | $0.02 / run | Oct 7, 2025 |
SandBase AI | Audio | $0.05 / run | Apr 4, 2025 |
SandBase AI | Audio | $0.05 / run | Apr 4, 2025 |
Questions
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.
