# Zonos2 Text to Speech

Generate speech, music and audio with Zonos2 Text to Speech from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.

- Provider: fal
- Category: Audio
- Runs: In the background
- Returns: audio
- Tool id: `fal` / `fal-ai/zonos2`
- Page: https://spiral.ai/tools/fal/fal-ai/zonos2

## Pricing

Up to $0.013 per run at the default inputs for 60 seconds of input.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 255 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `reference_audio_url` (required) | text |  | — | Reference audio to clone the voice from. |
| `text` | text |  | "Fal" is the fastest solution for your audio generation. | Text to synthesize in the cloned voice. |
| `language` | text |  | en_us | Text-normalization language code. Supported: en_us, en_gb, fr_fr, de, es, it, pt_br, ja, cmn, ko. Unsupported codes skip normalization. |
| `seed` | number (whole) | 0 to 2147483647 | — | Seed for reproducibility. Random when omitted. |
| `accurate_mode` | true or false |  | true | True = closer voice match; False = more expressive. |
| `clean_speaker_background` | true or false |  | false | Mark the reference audio as having a clean background. |
| `temperature` | number | 0 to 2 | 1.15 | Sampling temperature. |
| `top_p` | number | 0 to 1 | 0 | Nucleus sampling probability (0 disables). |
| `min_p` | number | 0 to 1 | 0.18 | Minimum-probability sampling threshold. |
| `top_k` | number (whole) | 0 to 2048 | 106 | Top-k sampling cutoff (0 disables). |
| `max_tokens` | number (whole) | 1 to 6144 | — | Maximum number of audio frames to generate. Defaults to the model context limit. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/zonos2",
    "input": {
      "reference_audio_url": "https://storage.googleapis.com/falserverless/model_tests/zonos/demo_voice_zonos.wav"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=fal-ai%2Fzonos2

## Common questions

### Zonos2 Text to Speech

**How much does Zonos2 Text to Speech cost?**

Up to $0.013 per run at the default inputs for 60 seconds of input. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Zonos2 Text to Speech through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/zonos2"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with fal to use Zonos2 Text to Speech?**

No. Spiral runs it on its own fal account and charges your Spiral balance.

**Can my AI agent use Zonos2 Text to Speech?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

