# Chatterbox · Text to Speech

Generate speech, music and audio with Chatterbox · 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/chatterbox/text-to-speech`
- Page: https://spiral.ai/tools/fal/fal-ai/chatterbox/text-to-speech

## Pricing

Each item in `text` adds $0.0325.

## 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 |
| --- | --- | --- | --- | --- |
| `text` (required) | text |  | — | The text to be converted to speech (maximum 5000 characters). You can additionally add the following emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp> |
| `audio_url` | URL or file |  | https://storage.googleapis.com/chatterbox-demo-samples/prompts/male_rickmorty.mp3 | Optional URL to an audio file to use as a reference for the generated speech. If provided, the model will try to match the style and tone of the reference audio. |
| `exaggeration` | number | 0 to 1 | 0.25 | Exaggeration factor for the generated speech (0.0 = no exaggeration, 1.0 = maximum exaggeration). |
| `temperature` | number | 0.05 to 2 | 0.7 | Temperature for generation (higher = more creative). |
| `cfg` | number | 0.1 to 1 | 0.5 |  |
| `seed` | number (whole) |  | — | Useful to control the reproducibility of the generated audio. Assuming all other properties didn't change, a fixed seed should always generate the exact same audio file. Set to 0 for random seed.. |

## 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/chatterbox/text-to-speech",
    "input": {
      "text": "I just found a hidden treasure in the backyard! Check it out!"
    }
  }'
```

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

## Common questions

### Chatterbox · Text to Speech

**How much does Chatterbox · Text to Speech cost?**

Each item in `text` adds $0.0325. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

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

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/chatterbox/text-to-speech"` 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 Chatterbox · Text to Speech?**

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

**Can my AI agent use Chatterbox · Text to Speech?**

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

