# Models, voices and formats

> Every provider, model, voice, language, sample rate, format and option the router accepts.

Each setting is a field of `start` on the WebSocket and a top-level field of `/v1/audio/speech`, with the LiveKit plugin’s name and default beside it. The router checks models, formats, sample rates and options against these lists; voices and languages go to the provider as given, so a wrong one gets the provider’s own error. The drop-ins take whatever the provider’s own API takes.

The same list as JSON, with no authentication:

```shell
curl https://api.ttscacherouter.dev/v1/models
```

## Maya Open-Source

[Maya Open-Source API reference](https://huggingface.co/maya-research/maya2-native)

Protocol `"provider": "maya"` LiveKit plugin `tcr.TTS(model="maya/…")`

- Models: maya-2-native
- Languages: 12
- Speed: not supported
- Sample rates: 24 kHz
- Formats: pcm, wav, mp3

### Models and voices

`maya-2-native` voices (14): `Bunty`, `Monika`, `Umananda`, `Rimjhim`, `Muskan`, `Srivatsa`, `Mahendran`, `Sunaina`, `Amogh`, `Kalyani`, `Swastik`, `Raqib`, `Vennila`, `Bhaavana`

### Languages

- Assamese `as`
- Bangla `bn`
- English `en`
- Gujarati `gu`
- Hindi `hi`
- Kannada `kn`
- Malayalam `ml`
- Marathi `mr`
- Odia `or`
- Punjabi `pa`
- Tamil `ta`
- Telugu `te`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"maya/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | maya-2-native | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Maya Open-Source as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#maya-models). |
| `language` | string \| null | Optional |  | A Maya Open-Source language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#maya-languages), passed through as given. Leave it out and Maya Open-Source detects the language. |
| `sample_rate` | integer | Required | 24000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3 | The audio format, produced by Maya Open-Source itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.normalize` | boolean \| null | Default `null` |  | Speak numbers, currency, dates, times, OTPs, phone numbers, URLs and emails as words in the request's language. Null: Maya's default (on). |
| `options.temperature` | number \| null | Default `null` | 0.1 – 1.5 | Sampling temperature: lower is steadier, higher is more varied. Null: Maya's default. |
| `options.top_k` | integer \| null | Default `null` | 1 – 2048 | Sample from the k likeliest codes. Null: Maya's default. |
| `options.top_p` | number \| null | Default `null` | 0.0 – 1.0 | Nucleus sampling, above 0 and at most 1. Null: Maya's default. |
| `options.repetition_penalty` | number \| null | Default `null` | 0.0 – 5.0 | Penalty on recently repeated codes. Null: Maya's default. |
| `options.seed` | integer \| null | Default `null` |  | Sampling seed, 0 to 2^63 - 1. The same seed repeats a take only when Maya runs the request alone. Null: a seed of Maya's. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="maya/maya-2-native",
    voice="Bunty",
    options={"normalize": None, "temperature": None, "top_k": None, "top_p": None, "repetition_penalty": None, "seed": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "maya",
  "model": "maya-2-native",
  "voice": "Bunty",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"normalize": null, "temperature": null, "top_k": null, "top_p": null, "repetition_penalty": null, "seed": null}
}
```

## Vaakini

[Vaakini API reference](https://docs.vaakini.com)

Protocol `"provider": "vaakini"` LiveKit plugin `tcr.TTS(model="vaakini/…")`

- Models: vaakini-tts-1
- Languages: 12
- Speed: not supported
- Sample rates: 24 kHz
- Formats: pcm, wav, mp3

### Models and voices

vaakini-tts-1 Vaakini's voices, by name in any case (Monika), and your Vaakini org's custom voices (cv_…). [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists them all.

### Languages

- Assamese `as`
- Bangla `bn`
- English `en`
- Gujarati `gu`
- Hindi `hi`
- Kannada `kn`
- Malayalam `ml`
- Marathi `mr`
- Odia `or`
- Punjabi `pa`
- Tamil `ta`
- Telugu `te`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"vaakini/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | vaakini-tts-1 | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Vaakini as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#vaakini-models). |
| `language` | string \| null | Optional |  | A Vaakini language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#vaakini-languages), passed through as given. Leave it out and Vaakini detects the language. |
| `sample_rate` | integer | Required | 24000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3 | The audio format, produced by Vaakini itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.normalize` | boolean \| null | Default `null` |  | Speak numbers, currency, dates, times, OTPs, phone numbers, URLs and emails as words in the request's language. Null: Vaakini's default (on). |
| `options.temperature` | number \| null | Default `null` | 0.1 – 1.5 | Sampling temperature: lower is steadier, higher is more varied. Null: Vaakini's default. |
| `options.top_k` | integer \| null | Default `null` | 1 – 2048 | Sample from the k likeliest codes. Null: Vaakini's default. |
| `options.top_p` | number \| null | Default `null` | 0.0 – 1.0 | Nucleus sampling, above 0 and at most 1. Null: Vaakini's default. |
| `options.repetition_penalty` | number \| null | Default `null` | 0.0 – 5.0 | Penalty on recently repeated codes. Null: Vaakini's default. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="vaakini/vaakini-tts-1",
    voice="<voice id>",
    options={"normalize": None, "temperature": None, "top_k": None, "top_p": None, "repetition_penalty": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "vaakini",
  "model": "vaakini-tts-1",
  "voice": "<voice id>",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"normalize": null, "temperature": null, "top_k": null, "top_p": null, "repetition_penalty": null}
}
```

## Sarvam

[Sarvam API reference](https://docs.sarvam.ai/api-reference/text-to-speech/stream)

Protocol `"provider": "sarvam"` LiveKit plugin `tcr.TTS(model="sarvam/…")`

- Models: bulbul:v3, bulbul:v4-flash
- Languages: 11
- Speed: 0.5 – 2.0
- Sample rates: 8, 16, 22.05, 24, 32, 44.1, 48 kHz
- Formats: pcm, wav, mp3, aac, mulaw, alaw

### Models and voices

`bulbul:v3` voices (37): `shubh`, `aditya`, `ritu`, `priya`, `neha`, `rahul`, `pooja`, `rohan`, `simran`, `kavya`, `amit`, `dev`, `ishita`, `shreya`, `ratan`, `varun`, `manan`, `sumit`, `roopa`, `kabir`, `aayan`, `ashutosh`, `advait`, `anand`, `tanya`, `tarun`, `sunny`, `mani`, `gokul`, `vijay`, `shruti`, `suhani`, `mohit`, `kavitha`, `rehan`, `soham`, `rupali`

`bulbul:v4-flash` voices (222): `aayan_hi_conversational`, `amit_hi_conversational`, `ashutosh_hi_conversational`, `kabir_hi_conversational`, `kavya_hi_conversational`, `manan_hi_conversational`, `rahul_hi_conversational`, `sumit_hi_conversational`, `arnab_bn_conversation`, `roopa_bn_conversational`, `aditi_en_stories`, `aparna_en_companion`, `aparna_en_edtech`, `ashwin_en_sports`, `ashwin_en_sports_energetic`, `chandrika_en_stories`, `dev_en_recovery`, `dev_en_conversational`, `deven_en_conversation`, `ishita_en_customer`, `ishita_en_medical`, `ishita_en_numbers`, `ishita_en_social`, `ishita_en_stories`, `kalpit_en_edtech`, `nachiket_en_ads`, `neha_en_customer`, `neha_en_latenight`, `nupur_en_kids`, `ojas_en_social`, `ritu_en_edtech`, `ritu_en_latenight`, `ritu_en_medical`, `ritu_en_reels`, `rohan_en_recovery`, `roopa_en_conversational`, `rustom_en_suspense`, `sanchita_en_companion`, `sanchita_en_insurance`, `sanchita_en_recovery`, `sanchita_en_market`, `sanchita_en_social`, `shabana_en_edtech`, `shalini_en_companion`, `shalini_en_customer`, `shubh_en_narration`, `shubh_en_numbers`, `shubh_en_ads`, `shubh_en_recovery`, `shubh_en_audiobook`, `shubh_en_narration_gentle`, `shubh_en_sports`, `simran_en_narration`, `simran_en_automobile`, `simran_en_conversation`, `simran_en_customer`, `simran_en_edtech`, `simran_en_edtech_bot`, `simran_en_sales`, `simran_en_recovery`, `simran_en_ads`, `simran_en_therapist`, `sunny_en_social`, `varun_en_ads`, `varun_en_suspense`, `zarina_en_conversation`, `ishita_enhi_companion`, `ishita_enhi_customer`, `ishita_enhi_customer_expressive`, `sanchita_enhi_companion`, `shalini_enhi_companion`, `shalini_enhi_customer`, `shubh_enhi_companion`, `shubh_enhi_ads`, `shubh_enhi_banking`, `simran_enhi_companion`, `simran_enhi_customer`, `simran_enhi_banking_expressive`, `sunny_enhi_customer`, `bhavik_gu_conversation`, `pooja_gu_conversational`, `pooja_gu_customer`, `aditya_hi_conversational`, `aditya_hi_sales`, `anand_hi_documentary`, `anand_hi_news`, `aparna_hi_customer`, `aparna_hi_kyc`, `ashok_hi_character`, `ashok_hi_news`, `chhavi_hi_kids`, `ishita_hi_ads`, `ishita_hi_edtech`, `ishita_hi_banking`, `ishita_hi_ads_informal`, `ishita_hi_devotional`, `ishita_hi_numbers`, `ishita_hi_social`, `kunal_hi_kids`, `mahesh_hi_documentary`, `mani_hi_devotional`, `mani_hi_conversational`, `mohit_hi_conversational`, `nachiket_hi_devotional`, `priya_hi_recovery`, `ratan_hi_latenight`, `ratan_hi_customer_expressive`, `ratan_hi_documentary`, `ratan_hi_devotional`, `ratan_hi_recovery`, `ratan_hi_social`, `ratan_hi_sports`, `ratan_hi_latenight_warm`, `rehan_hi_social`, `ritu_hi_customer_utility`, `ritu_hi_kids`, `ritu_hi_conversation`, `ritu_hi_customer`, `ritu_hi_edtech`, `ritu_hi_ads_formal`, `ritu_hi_banking`, `ritu_hi_ads_informal`, `ritu_hi_insurance`, `ritu_hi_edtech_bot`, `ritu_hi_medical`, `ritu_hi_sales`, `ritu_hi_reels`, `ritu_hi_social`, `ritu_hi_customer_warm`, `ritu_hi_social_lively`, `roopa_hi_companion`, `roopa_hi_narration`, `roopa_hi_recovery`, `roopa_hi_market`, `roopa_hi_conversational`, `sanchita_hi_assistant`, `sanchita_hi_edtech`, `sanchita_hi_banking`, `sanchita_hi_feedback`, `sanchita_hi_ads_formal`, `sanchita_hi_ads_informal`, `sanchita_hi_interview`, `sanchita_hi_romantic`, `sanchita_hi_market`, `sanchita_hi_social`, `sanchita_hi_kyc`, `sarika_hi_conversation`, `shalini_hi_companion`, `shalini_hi_social`, `shreya_hi_conversational`, `shreya_hi_news`, `shruti_hi_edtech`, `shubh_hi_customer`, `shubh_hi_ecomm`, `shubh_hi_stories_mixed`, `shubh_hi_devotional`, `shubh_hi_ads`, `shubh_hi_recovery`, `shubh_hi_stories_dramatic`, `simran_hi_assistant`, `simran_hi_narration`, `simran_hi_automobile`, `simran_hi_conversation`, `simran_hi_news_breaking`, `simran_hi_social_energetic`, `simran_hi_social_excited`, `simran_hi_latenight`, `simran_hi_news`, `simran_hi_recovery`, `simran_hi_sales`, `suchitra_hi_ecomm`, `suhani_hi_social`, `sunny_hi_ads`, `sunny_hi_reels`, `tarun_hi_conversational`, `tarun_hi_sales`, `chaitra_hi_customer`, `shilpa_hi_narration`, `tanya_hi_narration`, `chaitra_kn_conversation`, `chaitra_kn_narration`, `chetan_kn_conversation`, `suchitra_kn_narration`, `ishita_mr_conversational`, `mrunal_mr_narration`, `neha_mr_narration`, `nilesh_mr_conversation`, `ritu_mr_insurance`, `ritu_mr_narration`, `rupali_mr_stories`, `soham_mr_narration`, `anand_pa_conversation`, `anand_pa_customer`, `harpreet_pa_narration`, `jaspal_pa_banking`, `gokul_ta_narration`, `aravind_ta_ads`, `aravind_ta_suspense`, `vijay_ta_narration`, `kavitha_te_conversation`, `kavitha_te_narration`, `pooja_te_conversation`, `tarun_te_narration`, `amelia_en_conversational`, `sophia_en_conversational`, `bimal_bn_suspense`, `girish_en_documentary`, `girish_en_devotional`, `payal_en_edtech`, `sarang_en_narration`, `aarti_hi_customer`, `advait_hi_character`, `aryaman_hi_ads`, `chirag_hi_social`, `girish_hi_devotional`, `mukul_hi_ads`, `mukul_hi_suspense`, `suman_hi_companion`, `vaibhav_hi_social`, `vandana_hi_ecomm`, `vipul_hi_social`, `mukul_mr_stories`

### Languages

- Bangla `bn-IN`
- English `en-IN`
- Gujarati `gu-IN`
- Hindi `hi-IN`
- Kannada `kn-IN`
- Malayalam `ml-IN`
- Marathi `mr-IN`
- Odia `od-IN`
- Punjabi `pa-IN`
- Tamil `ta-IN`
- Telugu `te-IN`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"sarvam/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | bulbul:v3, bulbul:v4-flash | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Sarvam as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#sarvam-models). |
| `language` | string | Required |  | A Sarvam language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#sarvam-languages), passed through as given. |
| `speed` | number | Default `1.0` | 0.5 – 2.0 | Speech speed. 1.0 is normal speed. |
| `sample_rate` | integer | Required | 8000, 16000, 22050, 24000 | Of the audio you receive, in Hz. /v1/audio/speech also takes 32000, 44100, 48000. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, aac, mulaw, alaw | The audio format, produced by Sarvam itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.temperature` | number | Default `0.6` | 0.01 – 1.0 | Sampling temperature: lower is steadier, higher is more expressive. |
| `options.dict_id` | string \| null | Default `null` |  | A Sarvam pronunciation dictionary to apply. |
| `options.bitrate` | string | Default `"128k"` | 32k, 64k, 96k, 128k, 192k | Bitrate of `mp3` and `aac` audio. |
| `options.pitch` | number | `bulbul:v4-flash` only. Default `0.0` | -0.5 – 0.5 | Pitch: lower is deeper, higher is sharper. |
| `options.loudness` | number | `bulbul:v4-flash` only. Default `1.0` | 0.1 – 2.5 | Loudness: lower is quieter, higher is louder. |
| `options.enable_preprocessing` | boolean | `bulbul:v4-flash` only. Default `false` |  | Normalize numbers and English words in the text before synthesis. |
| `options.min_buffer_size` | integer \| null | Default `null` | 30 – 200 | Characters Sarvam buffers before it starts synthesizing. Null: the router's choice, the least Sarvam allows. |
| `options.max_chunk_length` | integer \| null | Default `null` | 50 – 500 | The longest text Sarvam synthesizes in one piece; it splits longer sentences. Null: the router's choice, the most Sarvam allows, so each sentence is synthesized whole. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="sarvam/bulbul:v3",
    voice="shubh",
    language="bn-IN",
    speed=1.0,
    options={"temperature": 0.6, "dict_id": None, "min_buffer_size": None, "max_chunk_length": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "sarvam",
  "model": "bulbul:v3",
  "voice": "shubh",
  "language": "bn-IN",
  "speed": 1.0,
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"temperature": 0.6, "dict_id": null, "min_buffer_size": null, "max_chunk_length": null}
}
```

## Raya

[Raya API reference](https://docs.litwizlabs.com/api-reference/text-to-speech/text-to-speech-stream)

Protocol `"provider": "raya"` LiveKit plugin `tcr.TTS(model="raya/…")`

- Models: m1, standard
- Languages: 14
- Speed: 0.5 – 1.5
- Sample rates: 8, 16, 22.05, 24 kHz
- Formats: pcm, wav, mp3, mulaw

### Models and voices

m1 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [Raya’s voice catalog](https://docs.litwizlabs.com/api-reference/voices/list-voices)

standard Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [Raya’s voice catalog](https://docs.litwizlabs.com/api-reference/voices/list-voices)

### Languages

- Hindi `hi`
- Marathi `mr`
- Telugu `te`
- Kannada `kn`
- Bangla `bn`
- Assamese `as`
- Gujarati `gu`
- Nepali `ne`
- Malayalam `ml`
- Tamil `ta`
- English (India) `en-in`
- English (United States) `en-us`
- Englishm1 only `en`
- Punjabim1 only `pa`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"raya/<model>"` and the options in `options`. Raya takes no `options`: send `{}` or leave it out.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | m1, standard | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Raya as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#raya-models). |
| `language` | string | Required |  | A Raya language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#raya-languages), passed through as given. |
| `speed` | number | Default `1.0` | 0.5 – 1.5 | Speech speed. 1.0 is normal speed. |
| `sample_rate` | integer | Required | 8000, 16000, 22050, 24000 | Of the audio you receive, in Hz. By format: mp3 from m1 only. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, mulaw | The audio format, produced by Raya itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. mp3 from m1 only. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="raya/m1",
    voice="<voice id>",
    language="hi",
    speed=1.0,
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "raya",
  "model": "m1",
  "voice": "<voice id>",
  "language": "hi",
  "speed": 1.0,
  "sample_rate": 24000,
  "format": "pcm",
  "options": {}
}
```

## 60db

[60db API reference](https://docs.60db.ai/api-reference/websocket/tts)

Protocol `"provider": "60db"` LiveKit plugin `tcr.TTS(model="60db/…")`

- Models: 60db-fast-v01, 60db-quality-v01
- Languages: 30
- Speed: 0.5 – 2.0
- Sample rates: 8, 16, 24, 48 kHz
- Formats: pcm, wav, mulaw

### Models and voices

60db-fast-v01 60db's voices of this tier, each made for one language, and your workspace's own. [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists them all.

60db-quality-v01 60db's voices of this tier, each made for one language, and your workspace's own. [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists them all.

### Languages

60db takes no language setting: it speaks the language of the text.

- English `en`
- Hindi `hi`
- Assamese `as`
- Bangla `bn`
- Gujarati `gu`
- Kannada `kn`
- Malayalam `ml`
- Marathi `mr`
- Nepali `ne`
- Odia `or`
- Punjabi `pa`
- Tamil `ta`
- Telugu `te`
- German `de`
- Dutch `nl`
- French `fr`
- Spanish `es`
- Italian `it`
- Portuguese `pt`
- Polish `pl`
- Arabic `ar`
- Japanese `ja`
- Korean `ko`
- Turkish `tr`
- Vietnamese `vi`
- Russian `ru`
- Indonesian `id`
- Thai `th`
- Filipino `fil`
- Ukrainian `uk`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"60db/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | 60db-fast-v01, 60db-quality-v01 | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to 60db as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#60db-models). |
| `speed` | number | Optional | 0.5 – 2.0 | Speech speed. 1.0 is normal speed; left out, the provider's default. |
| `sample_rate` | integer | Required | 8000, 16000, 24000, 48000 | Of the audio you receive, in Hz. By format: mulaw at 8000 Hz only. |
| `format` | string | Default `"pcm"` | pcm, wav, mulaw | The audio format, produced by 60db itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. mulaw at 8000 Hz only. |
| `options.wpm` | integer \| null | Default `null` | 60 – 300 | Target pace in words per minute, 60–300. Null: the voice's own pace. |
| `options.stability` | integer \| null | Default `null` | 0 – 100 | 0 (expressive) to 100 (consistent). Null: 60db's default (50). |
| `options.similarity` | integer \| null | Default `null` | 0 – 100 | How closely the voice matches its source, 0 (loose) to 100 (exact). Null: 60db's default (75). |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="60db/60db-fast-v01",
    voice="<voice id>",
    options={"wpm": None, "stability": None, "similarity": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "60db",
  "model": "60db-fast-v01",
  "voice": "<voice id>",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"wpm": null, "stability": null, "similarity": null}
}
```

## ElevenLabs

[ElevenLabs API reference](https://elevenlabs.io/docs/api-reference/text-to-speech/v-1-text-to-speech-voice-id-multi-stream-input)

Protocol `"provider": "elevenlabs"` LiveKit plugin `tcr.TTS(model="elevenlabs/…")`

- Models: eleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_flash_v2, eleven_turbo_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo
- Languages: 94
- Speed: set in voice_settings
- Sample rates: 8, 16, 22.05, 24, 32, 44.1, 48 kHz
- Formats: pcm, wav, mp3, mulaw, alaw

### Models and voices

eleven_flash_v2_5 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_turbo_v2_5 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_multilingual_v2 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_flash_v2 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_turbo_v2 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_v3 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_v3_conversational Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_v4 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

eleven_v4_turbo Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [ElevenLabs’s voice catalog](https://elevenlabs.io/docs/api-reference/voices/search)

### Languages

- English `en`
- Japaneseeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ja`
- Chineseeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `zh`
- Germaneleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `de`
- Hindieleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `hi`
- Frencheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `fr`
- Koreaneleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ko`
- Portugueseeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `pt`
- Italianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `it`
- Spanisheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `es`
- Russianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ru`
- Indonesianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `id`
- Dutcheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `nl`
- Turkisheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `tr`
- Filipinoeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `fil`
- Polisheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `pl`
- Swedisheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `sv`
- Bulgarianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `bg`
- Romanianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ro`
- Arabiceleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ar`
- Czecheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `cs`
- Greekeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `el`
- Finnisheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `fi`
- Croatianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `hr`
- Malayeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ms`
- Slovakeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `sk`
- Danisheleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `da`
- Tamileleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ta`
- Ukrainianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `uk`
- Hungarianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `hu`
- Norwegianeleven_flash_v2_5, eleven_turbo_v2_5, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `no`
- Vietnameseeleven_flash_v2_5, eleven_turbo_v2_5, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `vi`
- Afrikaanseleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `af`
- Armenianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `hy`
- Assameseeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `as`
- Azerbaijanieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `az`
- Belarusianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `be`
- Banglaeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `bn`
- Bosnianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `bs`
- Catalaneleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ca`
- Cebuanoeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ceb`
- Nyanjaeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ny`
- Estonianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `et`
- Galicianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `gl`
- Georgianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ka`
- Gujaratieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `gu`
- Hausaeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ha`
- Hebreweleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `he`
- Icelandiceleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `is`
- Irisheleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ga`
- Javaneseeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `jv`
- Kannadaeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `kn`
- Kazakheleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `kk`
- Kyrgyzeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ky`
- Latvianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `lv`
- Lingalaeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ln`
- Lithuanianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `lt`
- Luxembourgisheleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `lb`
- Macedonianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `mk`
- Malayalameleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ml`
- Marathieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `mr`
- Nepalieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ne`
- Pashtoeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ps`
- Persianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `fa`
- Punjabieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `pa`
- Serbianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `sr`
- Sindhieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `sd`
- Slovenianeleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `sl`
- Somalieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `so`
- Swahilieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `sw`
- Telugueleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `te`
- Thaieleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `th`
- Urdueleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `ur`
- Welsheleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo only `cy`
- Amhariceleven_v4, eleven_v4_turbo only `am`
- Asturianeleven_v4, eleven_v4_turbo only `ast`
- Burmeseeleven_v4, eleven_v4_turbo only `my`
- Cantoneseeleven_v4, eleven_v4_turbo only `yue`
- Fulaeleven_v4, eleven_v4_turbo only `ff`
- Kambaeleven_v4, eleven_v4_turbo only `kam`
- Laoeleven_v4, eleven_v4_turbo only `lo`
- Gandaeleven_v4, eleven_v4_turbo only `lg`
- Malteseeleven_v4, eleven_v4_turbo only `mt`
- Māorieleven_v4, eleven_v4_turbo only `mi`
- Mongolianeleven_v4, eleven_v4_turbo only `mn`
- Occitaneleven_v4, eleven_v4_turbo only `oc`
- Odiaeleven_v4, eleven_v4_turbo only `or`
- Shonaeleven_v4, eleven_v4_turbo only `sn`
- Central Kurdisheleven_v4, eleven_v4_turbo only `ckb`
- Tajikeleven_v4, eleven_v4_turbo only `tg`
- Uzbekeleven_v4, eleven_v4_turbo only `uz`
- Wolofeleven_v4, eleven_v4_turbo only `wo`
- Yorubaeleven_v4, eleven_v4_turbo only `yo`
- Zulueleven_v4, eleven_v4_turbo only `zu`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"elevenlabs/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | eleven_flash_v2_5, eleven_turbo_v2_5, eleven_multilingual_v2, eleven_flash_v2, eleven_turbo_v2, eleven_v3, eleven_v3_conversational, eleven_v4, eleven_v4_turbo | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to ElevenLabs as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#elevenlabs-models). |
| `language` | string \| null | Optional |  | A ElevenLabs language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#elevenlabs-languages), passed through as given. Leave it out and ElevenLabs detects the language. |
| `sample_rate` | integer | Required | 8000, 16000, 22050, 24000, 32000, 44100, 48000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, mulaw, alaw | The audio format, produced by ElevenLabs itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.voice_settings` | object \| null | Default `null` |  | Any of stability, similarity_boost and style (0–1), speed (0.7–1.2) and use_speaker_boost; one left out keeps the voice's stored setting. Null: the voice's stored settings. Dialogue models (eleven_v3, eleven_v4) use stability only. |
| `options.apply_text_normalization` | string | Default `"auto"` | auto, on, off | Spell out numbers, dates and the like before speaking. |
| `options.apply_language_text_normalization` | boolean \| null | Default `null` |  | Language-specific normalization (Japanese); adds latency. |
| `options.enable_ssml_parsing` | boolean | Default `false` |  | Parse SSML tags in the text. |
| `options.enable_logging` | boolean | Default `true` |  | false: ElevenLabs' zero-retention mode (enterprise accounts). |
| `options.pronunciation_dictionary_locators` | array \| null | Default `null` |  | Up to 3 {pronunciation_dictionary_id, version_id}. |
| `options.bitrate` | string \| null | Default `null` | 32k, 48k, 64k, 96k, 128k, 192k | Bitrate of `mp3`: 32k at 22050 Hz, 48k at 24000 Hz, 32k–192k at 44100 Hz (default 128k). |
| `options.sync_alignment` | boolean | Default `true` |  | /v1/stream: send each sentence's word timings (`words` messages). |
| `options.preferred_alignment` | string \| null | Default `null` | normalized, original | /v1/stream: words of the text as sent (`original`) or as ElevenLabs normalized it. Null: `original` for Japanese, Korean and Chinese, else `normalized`. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="elevenlabs/eleven_flash_v2_5",
    voice="<voice id>",
    options={"apply_text_normalization": "auto", "apply_language_text_normalization": None, "enable_ssml_parsing": False, "enable_logging": True, "sync_alignment": True, "preferred_alignment": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "elevenlabs",
  "model": "eleven_flash_v2_5",
  "voice": "<voice id>",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"voice_settings": null, "apply_text_normalization": "auto", "apply_language_text_normalization": null, "enable_ssml_parsing": false, "enable_logging": true, "pronunciation_dictionary_locators": null, "sync_alignment": true, "preferred_alignment": null}
}
```

## OpenAI

[OpenAI API reference](https://developers.openai.com/api/reference/resources/audio/subresources/speech/methods/create)

Protocol `"provider": "openai"` LiveKit plugin `tcr.TTS(model="openai/…")`

- Models: gpt-4o-mini-tts, gpt-4o-mini-tts-2025-12-15, tts-1, tts-1-hd
- Languages: 57
- Speed: 0.25 – 4.0
- Sample rates: 24 kHz
- Formats: pcm, wav, mp3, aac

### Models and voices

`gpt-4o-mini-tts` voices (13): `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, `shimmer`, `verse`, `marin`, `cedar`

`gpt-4o-mini-tts-2025-12-15` voices (13): `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, `shimmer`, `verse`, `marin`, `cedar`

`tts-1` voices (9): `alloy`, `ash`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, `shimmer`

`tts-1-hd` voices (9): `alloy`, `ash`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, `shimmer`

### Languages

OpenAI takes no language setting: it speaks the language of the text.

- Afrikaans `af`
- Arabic `ar`
- Armenian `hy`
- Azerbaijani `az`
- Belarusian `be`
- Bosnian `bs`
- Bulgarian `bg`
- Catalan `ca`
- Chinese `zh`
- Croatian `hr`
- Czech `cs`
- Danish `da`
- Dutch `nl`
- English `en`
- Estonian `et`
- Finnish `fi`
- French `fr`
- Galician `gl`
- German `de`
- Greek `el`
- Hebrew `he`
- Hindi `hi`
- Hungarian `hu`
- Icelandic `is`
- Indonesian `id`
- Italian `it`
- Japanese `ja`
- Kannada `kn`
- Kazakh `kk`
- Korean `ko`
- Latvian `lv`
- Lithuanian `lt`
- Macedonian `mk`
- Malay `ms`
- Marathi `mr`
- Māori `mi`
- Nepali `ne`
- Norwegian `no`
- Persian `fa`
- Polish `pl`
- Portuguese `pt`
- Romanian `ro`
- Russian `ru`
- Serbian `sr`
- Slovak `sk`
- Slovenian `sl`
- Spanish `es`
- Swahili `sw`
- Swedish `sv`
- Filipino `tl`
- Tamil `ta`
- Thai `th`
- Turkish `tr`
- Ukrainian `uk`
- Urdu `ur`
- Vietnamese `vi`
- Welsh `cy`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"openai/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | gpt-4o-mini-tts, gpt-4o-mini-tts-2025-12-15, tts-1, tts-1-hd | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to OpenAI as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#openai-models). |
| `speed` | number | Default `1.0` | 0.25 – 4.0 | Speech speed. 1.0 is normal speed. |
| `sample_rate` | integer | Required | 24000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, aac | The audio format, produced by OpenAI itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.instructions` | string \| null | Default `null` |  | How to speak: tone, accent, emotion, pace. gpt-4o-mini-tts follows them; tts-1 and tts-1-hd ignore them. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="openai/gpt-4o-mini-tts",
    voice="alloy",
    speed=1.0,
    options={"instructions": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "openai",
  "model": "gpt-4o-mini-tts",
  "voice": "alloy",
  "speed": 1.0,
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"instructions": null}
}
```

## Deepgram

[Deepgram API reference](https://developers.deepgram.com/reference/text-to-speech/speak-request)

Protocol `"provider": "deepgram"` LiveKit plugin `tcr.TTS(model="deepgram/…")`

- Models: aura-2, aura-1, flux
- Languages: 7
- Speed: 0.7 – 1.5
- Sample rates: 8, 16, 22.05, 24, 32, 44.1, 48 kHz
- Formats: pcm, wav, mulaw, alaw, mp3

### Models and voices

`aura-2` voices (90): `agathe-fr`, `agustina-es`, `alvaro-es`, `ama-ja`, `amalthea-en`, `andromeda-en`, `antonia-es`, `apollo-en`, `aquila-es`, `arcas-en`, `aries-en`, `asteria-en`, `athena-en`, `atlas-en`, `aurelia-de`, `aurora-en`, `beatrix-nl`, `callista-en`, `carina-es`, `celeste-es`, `cesare-it`, `cinzia-it`, `cora-en`, `cordelia-en`, `cornelia-nl`, `daphne-nl`, `delia-en`, `demetra-it`, `diana-es`, `dionisio-it`, `draco-en`, `ebisu-ja`, `elara-de`, `electra-en`, `elio-it`, `estrella-es`, `fabian-de`, `flavio-it`, `fujin-ja`, `gloria-es`, `harmonia-en`, `hector-fr`, `helena-en`, `hera-en`, `hermes-en`, `hestia-nl`, `hyperion-en`, `iris-en`, `izanami-ja`, `janus-en`, `javier-es`, `julius-de`, `juno-en`, `jupiter-en`, `kara-de`, `lara-de`, `lars-nl`, `leda-nl`, `livia-it`, `luciano-es`, `luna-en`, `maia-it`, `mars-en`, `melia-it`, `minerva-en`, `neptune-en`, `nestor-es`, `odysseus-en`, `olivia-es`, `ophelia-en`, `orion-en`, `orpheus-en`, `pandora-en`, `phoebe-en`, `pluto-en`, `rhea-nl`, `roman-nl`, `sander-nl`, `saturn-en`, `selena-es`, `selene-en`, `silvia-es`, `sirio-es`, `thalia-en`, `theia-en`, `uzume-ja`, `valerio-es`, `vesta-en`, `viktoria-de`, `zeus-en`

`aura-1` voices (12): `angus-en`, `arcas-en`, `asteria-en`, `athena-en`, `helios-en`, `hera-en`, `luna-en`, `orion-en`, `orpheus-en`, `perseus-en`, `stella-en`, `zeus-en`

`flux` voices (36): `alexis-en`, `bree-en`, `brittany-en`, `brooke-en`, `bruce-en`, `cliff-en`, `cole-en`, `colin-en`, `conor-en`, `donovan-en`, `drew-en`, `elise-en`, `gemma-en`, `haley-en`, `hannah-en`, `heather-en`, `jack-en`, `kai-en`, `kelsey-en`, `kit-en`, `maeve-en`, `marcelo-en`, `marcus-en`, `meena-en`, `meghan-en`, `miles-en`, `naveen-en`, `paige-en`, `priya-en`, `rufus-en`, `sean-en`, `sharon-en`, `sienna-en`, `tanner-en`, `wade-en`, `wes-en`

### Languages

Deepgram takes no language setting: it speaks the language of the text.

- English `en`
- Spanishaura-2 only `es`
- Germanaura-2 only `de`
- Frenchaura-2 only `fr`
- Italianaura-2 only `it`
- Japaneseaura-2 only `ja`
- Dutchaura-2 only `nl`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"deepgram/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | aura-2, aura-1, flux | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Deepgram as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#deepgram-models). |
| `speed` | number | Optional | 0.7 – 1.5 | Speech speed, aura-2 only. 1.0 is normal speed; left out, the provider's default. |
| `sample_rate` | integer | Required | 8000, 16000, 22050, 24000, 32000, 44100, 48000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mulaw, alaw, mp3 | The audio format, produced by Deepgram itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.mip_opt_out` | boolean | Default `false` |  | Opt out of Deepgram's Model Improvement Program. |
| `options.bit_rate` | integer \| null | `aura-2` , `aura-1` only. Default `null` | 32000 – 48000 | MP3's bit rate in bits per second: 32000 or 48000. Null: Deepgram's default (48000). |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="deepgram/aura-2",
    voice="agathe-fr",
    options={"mip_opt_out": False},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "deepgram",
  "model": "aura-2",
  "voice": "agathe-fr",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"mip_opt_out": false}
}
```

## xAI

[xAI API reference](https://docs.x.ai/developers/model-capabilities/audio/text-to-speech)

Protocol `"provider": "xai"` LiveKit plugin `tcr.TTS(model="xai/…")`

- Models: xai-tts
- Languages: 21
- Speed: 0.7 – 1.5
- Sample rates: 8, 16, 22.05, 24, 44.1, 48 kHz
- Formats: pcm, wav, mp3, mulaw, alaw

### Models and voices

`xai-tts` voices (28): `altair`, `ara`, `atlas`, `aurora`, `carina`, `castor`, `celeste`, `cosmo`, `eve`, `helios`, `helix`, `iris`, `kepler`, `leo`, `liora`, `lumen`, `luna`, `lux`, `naksh`, `orion`, `perseus`, `rex`, `rigel`, `sal`, `sirius`, `ursa`, `zagan`, `zenith`

### Languages

- Detected `auto`
- English `en`
- Arabic (Egypt) `ar-EG`
- Arabic (Saudi Arabia) `ar-SA`
- Arabic (United Arab Emirates) `ar-AE`
- Bangla `bn`
- Chinese `zh`
- French `fr`
- German `de`
- Hindi `hi`
- Indonesian `id`
- Italian `it`
- Japanese `ja`
- Korean `ko`
- Portuguese (Brazil) `pt-BR`
- Portuguese (Portugal) `pt-PT`
- Russian `ru`
- Spanish (Mexico) `es-MX`
- Spanish (Spain) `es-ES`
- Turkish `tr`
- Vietnamese `vi`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"xai/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | xai-tts | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to xAI as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#xai-models). |
| `language` | string \| null | Optional |  | A xAI language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#xai-languages), passed through as given. Leave it out and xAI detects the language. |
| `speed` | number | Optional | 0.7 – 1.5 | Speech speed. 1.0 is normal speed; left out, the provider's default. |
| `sample_rate` | integer | Required | 8000, 16000, 22050, 24000, 44100, 48000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, mulaw, alaw | The audio format, produced by xAI itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.optimize_streaming_latency` | integer \| null | Default `null` | 0 – 2 | 0: best quality (xAI's default); 1 and 2: a smaller first chunk for lower time to first audio, with a quality tradeoff at chunk boundaries. Null: xAI's default. |
| `options.text_normalization` | boolean \| null | Default `null` |  | Normalize written forms (numbers, abbreviations, symbols) into spoken forms before synthesis. Null: xAI's default (false). |
| `options.bit_rate` | integer \| null | Default `null` | 32000 – 192000 | MP3's bit rate in bits per second: 32000, 64000, 96000, 128000 or 192000. Null: xAI's default (128000). |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="xai/xai-tts",
    voice="altair",
    options={"optimize_streaming_latency": None, "text_normalization": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "xai",
  "model": "xai-tts",
  "voice": "altair",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"optimize_streaming_latency": null, "text_normalization": null}
}
```

## Soniox

[Soniox API reference](https://soniox.com/docs/api-reference/tts/websocket-api)

Protocol `"provider": "soniox"` LiveKit plugin `tcr.TTS(model="soniox/…")`

- Models: tts-rt-v2
- Languages: 63
- Speed: 0.7 – 1.3
- Sample rates: 8, 16, 24, 32, 44.1, 48 kHz
- Formats: pcm, wav, mp3, mulaw, alaw

### Models and voices

`tts-rt-v2` voices (200): `Daniel`, `Nina`, `Emma`, `Adrian`, `Grace`, `Owen`, `Mina`, `Kenji`, `Rafael`, `Mateo`, `Lucia`, `Oliver`, `Arthur`, `Isla`, `Victoria`, `Cooper`, `Mason`, `Ruby`, `Arjun`, `Rohan`, `Priya`, `Bryce`, `Trevor`, `Evan`, `Nathan`, `Karan`, `Wesley`, `Curtis`, `Miles`, `Preston`, `Walter`, `Russell`, `Tunde`, `Nigel`, `Shane`, `Silas`, `Reid`, `Emilio`, `Alistair`, `Dominic`, `Emerson`, `Harlan`, `Bennett`, `Elliot`, `Sebastian`, `Haruto`, `Freddie`, `Logan`, `Poppy`, `Harper`, `Cordelia`, `Reese`, `Hazel`, `Juliet`, `Piper`, `Reyna`, `Kayla`, `Sloane`, `Iris`, `Freya`, `Brooke`, `Bonnie`, `Imogen`, `Arabella`, `Colleen`, `Margo`, `Nora`, `Bianca`, `Sari`, `Kabir`, `Kavya`, `Aarav`, `Dev`, `Nikhil`, `Ashok`, `Ishita`, `Aman`, `Shalini`, `Manav`, `Nisha`, `Karthik`, `Meena`, `Vani`, `Surya`, `Deepa`, `Sundar`, `Gurpreet`, `Madhura`, `Venkat`, `Rajan`, `Lekha`, `Sneha`, `Bhavana`, `Mohan`, `Divya`, `Camila`, `Santiago`, `Damian`, `Facundo`, `Valentina`, `Alonso`, `Renata`, `Mariana`, `Lorenzo`, `Emiliano`, `Paulina`, `Alvaro`, `Rodrigo`, `Guillermo`, `Marta`, `Sergio`, `Hector`, `Javier`, `Carmen`, `Thiago`, `Juliana`, `Larissa`, `Vinicius`, `Bruna`, `Leandro`, `Diogo`, `Rui`, `Nuno`, `Bernardo`, `Matilde`, `Duarte`, `Julien`, `Genevieve`, `Olivier`, `Antoine`, `Elodie`, `Camille`, `Manon`, `Mathieu`, `Celine`, `Baptiste`, `Noemie`, `Jonas`, `Konrad`, `Matthias`, `Florian`, `Annika`, `Tobias`, `Lena`, `Reinhard`, `Stefan`, `Marlene`, `Marco`, `Giulia`, `Riccardo`, `Valeria`, `Massimo`, `Alessandro`, `Davide`, `Giulio`, `Taras`, `Andrei`, `Yana`, `Bohdan`, `Vadim`, `Kirill`, `Marek`, `Szymon`, `Faisal`, `Layla`, `Hind`, `Rania`, `Yousef`, `Karim`, `Wei`, `Meilin`, `Haoran`, `Zihan`, `Aoi`, `Yuki`, `Sota`, `Riku`, `Hikari`, `Nanami`, `Yuto`, `Sakura`, `Rina`, `Jihoon`, `Minjun`, `Seojun`, `Daeho`, `Jiwoo`, `Hyunwoo`, `Junseo`, `Aiman`, `Nurul`, `Linh`, `Bayu`, `Rizky`, `Wahyu`, `Gilang`, `Maricel`, `Budi`, `Mai`, `Huong`

### Languages

- Afrikaans `af`
- Arabic `ar`
- Azerbaijani `az`
- Belarusian `be`
- Bulgarian `bg`
- Bangla `bn`
- Bosnian `bs`
- Catalan `ca`
- Czech `cs`
- Welsh `cy`
- Danish `da`
- German `de`
- Greek `el`
- English `en`
- Spanish `es`
- Estonian `et`
- Basque `eu`
- Persian `fa`
- Finnish `fi`
- French `fr`
- Galician `gl`
- Gujarati `gu`
- Hebrew `he`
- Hindi `hi`
- Croatian `hr`
- Hungarian `hu`
- Indonesian `id`
- Icelandic `is`
- Italian `it`
- Japanese `ja`
- Kazakh `kk`
- Kannada `kn`
- Korean `ko`
- Lithuanian `lt`
- Latvian `lv`
- Macedonian `mk`
- Malayalam `ml`
- Marathi `mr`
- Malay `ms`
- Dutch `nl`
- Norwegian `no`
- Punjabi `pa`
- Polish `pl`
- Portuguese `pt`
- Romanian `ro`
- Russian `ru`
- Slovak `sk`
- Slovenian `sl`
- Albanian `sq`
- Serbian `sr`
- Sundanese `su`
- Swedish `sv`
- Swahili `sw`
- Tamil `ta`
- Telugu `te`
- Thai `th`
- Filipino `tl`
- Turkish `tr`
- Ukrainian `uk`
- Urdu `ur`
- Uzbek `uz`
- Vietnamese `vi`
- Chinese `zh`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"soniox/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | tts-rt-v2 | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Soniox as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#soniox-models). |
| `language` | string | Required |  | A Soniox language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#soniox-languages), passed through as given. |
| `speed` | number | Default `1.0` | 0.7 – 1.3 | Speech speed. 1.0 is normal speed. |
| `sample_rate` | integer | Required | 8000, 16000, 24000, 32000, 44100, 48000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, mulaw, alaw | The audio format, produced by Soniox itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.bitrate` | integer \| null | Default `null` | 32000 – 320000 | MP3's bit rate in bits per second: 32000, 64000, 96000, 128000, 192000, 256000 or 320000. Null: Soniox's default (128000). |
| `options.reduce_silence` | boolean \| null | Default `null` |  | Shorten the pauses between words. Null: Soniox's default (false). |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="soniox/tts-rt-v2",
    voice="Daniel",
    language="af",
    speed=1.0,
    options={"reduce_silence": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "soniox",
  "model": "tts-rt-v2",
  "voice": "Daniel",
  "language": "af",
  "speed": 1.0,
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"reduce_silence": null}
}
```

## Smallest AI

[Smallest AI API reference](https://docs.smallest.ai/api-reference/models/text-to-speech/synthesize-speech-sse)

Protocol `"provider": "smallestai"` LiveKit plugin `tcr.TTS(model="smallestai/…")`

- Models: lightning_v3.1, lightning_v3.1_pro
- Languages: 33
- Speed: 0.5 – 2.0
- Sample rates: 8, 16, 24, 44.1 kHz
- Formats: pcm, wav, mp3, mulaw, alaw

### Models and voices

`lightning_v3.1` voices (234): `lakshya`, `bellatrix`, `srishti`, `chinmayi`, `rupali`, `kiran`, `anuja`, `harsh`, `diego`, `nirav`, `khushi`, `alec`, `rajan`, `samarth`, `gabriela`, `reva`, `shreyas`, `kanik`, `balwinder`, `amaira`, `aadya`, `kaustubh`, `sayali`, `chloe`, `sudarshan`, `ishan`, `vedant`, `virat`, `soumya`, `gurpreet`, `yuvan`, `navdeep`, `sridhar`, `sanjay`, `devansh`, `avery`, `myra`, `imogen`, `niharika`, `karan`, `malcolm`, `albus`, `nirupma`, `debashis`, `nilesh`, `yash`, `prachi`, `priyanka`, `maithili`, `chirag`, `luther`, `erica`, `zorin`, `felix`, `dhruv`, `noah`, `wasim`, `tanvi`, `alistair`, `ryan`, `rishika`, `avni`, `parth`, `kavya`, `atharv`, `isla`, `manjunath`, `arnab`, `liam`, `aditi`, `flynn`, `quinn`, `poppy`, `gargi`, `veer`, `ram`, `christine`, `john`, `sanket`, `gauri`, `neel`, `william`, `mia`, `sakshi`, `sunidhi`, `siddharth`, `elizabeth`, `ganya`, `aneer`, `zoya`, `krish`, `saanvi`, `sienna`, `simran`, `chandana`, `aanya`, `rehan`, `harleen`, `srikanth`, `nikita`, `abir`, `julia`, `kevin`, `ilsa`, `ronald`, `chinmay`, `andrea`, `radhika`, `maya`, `anika`, `kiara`, `shruthi`, `pritam`, `kartik`, `vikram`, `meera`, `blofeld`, `kyle`, `nyah`, `mughda`, `harjot`, `ranbir`, `robert`, `sophia`, `sandra`, `vivaan`, `daniel`, `arjun`, `advika`, `aisha`, `edward`, `vanessa`, `lucas`, `anitha`, `raju`, `brooke`, `yuvika`, `ishani`, `hitesh`, `vaibhav`, `gaurav`, `rachel`, `nicole`, `dina`, `sana`, `ethan`, `hannah`, `lauren`, `magnus`, `olivia`, `kunal`, `jose`, `daniella`, `mariana`, `luis`, `lucia`, `miguel`, `javier`, `aarush`, `aarushi`, `shivangi`, `tara`, `shrihari`, `cooper`, `divya`, `brian`, `ella`, `dhruvit`, `alex`, `carlos`, `camilla`, `mohit`, `deepashri`, `jeevan`, `padmaja`, `rajeshwari`, `shibi`, `mihir`, `harper`, `navya`, `sameera`, `emiliano`, `fernando`, `souvik`, `girish`, `prashanth`, `nagaraj`, `vinay`, `freya`, `freddie`, `theo`, `rosie`, `alejandro`, `sofía`, `carmen`, `camila`, `tyler`, `natasha`, `alonso`, `david`, `marcos`, `isabella`, `emilio`, `rodrigo`, `irisha`, `siya`, `jessica`, `jordan`, `sandhya`, `johnny`, `vaisakh`, `pranav`, `balaji`, `harish`, `arun`, `venkat`, `aadhav`, `ashwin`, `nithya`, `surya`, `reyan`, `jaspal`, `nandini`, `mahesh`, `teja`, `lokesh`, `lavanya`, `alice`, `vaishnavi`, `naina`, `nerea`, `paulina`, `alba`, `harshita`

`lightning_v3.1_pro` voices (269): `ben`, `kristian`, `joanna`, `tabitha`, `irene`, `ximena`, `gael`, `candela`, `carla`, `pablo`, `kimberly`, `marco`, `valeria`, `chelsea`, `dante`, `layla`, `adam`, `dylan`, `hazel`, `bryce`, `vivian`, `nora`, `silas`, `daisy`, `roman`, `eli`, `sasha`, `mila`, `miles`, `cole`, `aria`, `jasper`, `june`, `beau`, `wes`, `kai`, `manasi`, `mrunal`, `mandar`, `ketaki`, `sravani`, `tejaswini`, `tamilselvi`, `sreenath`, `spoorthi`, `mathan`, `tamizh`, `barath`, `malar`, `jasleen`, `ankita`, `vishnu`, `naveen`, `dinesh`, `sahana`, `aravindan`, `sasmita`, `subrat`, `unni`, `prabhu`, `kavin`, `ezhil`, `rashmi`, `kishore`, `varsha`, `nila`, `smruti`, `rafael`, `carolina`, `natalia`, `sakthi`, `sofia`, `oscar`, `parvathy`, `murugan`, `regina`, `isabela`, `alejandra`, `julieta`, `rakshith`, `rajdeep`, `lakshmi`, `manmeet`, `adrian`, `hugo`, `ivan`, `charan`, `rakesh`, `gagandeep`, `lorenzo`, `cesar`, `swathi`, `maximiliano`, `grant`, `dean`, `sasank`, `manohar`, `arturo`, `tucker`, `mit`, `bhaskar`, `piper`, `gopal`, `tanmoy`, `yogesh`, `gowtham`, `tejinder`, `arghya`, `shankar`, `basava`, `jignesh`, `debasish`, `sambit`, `pratik`, `indranil`, `krupa`, `keval`, `riddhi`, `francisco`, `petra`, `max`, `markus`, `dimitris`, `katerina`, `elise`, `nikolai`, `manon`, `silvia`, `concetta`, `luca`, `thiago`, `irina`, `andrei`, `vasilis`, `maksim`, `mika`, `matti`, `ewa`, `helmi`, `venla`, `timo`, `espen`, `solveig`, `tomasz`, `aino`, `marit`, `jakub`, `astrid`, `ebba`, `saga`, `alva`, `sanne`, `erik`, `daan`, `anton`, `lars`, `nils`, `femke`, `bram`, `fenna`, `stijn`, `nolan`, `spencer`, `kelsey`, `callum`, `bethany`, `claudia`, `olga`, `gustavo`, `leticia`, `ishita`, `misha`, `suri`, `pari`, `reeva`, `aashi`, `tanya`, `shaan`, `ansh`, `kian`, `atharva`, `ishaan`, `aryan`, `aayan`, `rajib`, `subhro`, `bruno`, `davide`, `zariya`, `vyom`, `reyansh`, `zoravar`, `elowen`, `caspian`, `autumn`, `leah`, `leo`, `amrit`, `brooks`, `asher`, `maverick`, `willow`, `hunter`, `wesley`, `mateo`, `mishka`, `ekaterina`, `benedict`, `austin`, `jenna`, `rupert`, `winston`, `ottilie`, `seraphina`, `kate`, `arabella`, `kaitlyn`, `henry`, `molly`, `tushar`, `juliana`, `juliette`, `nicolas`, `martina`, `finn`, `amelie`, `ahan`, `anastasia`, `catarina`, `maxime`, `gabriel`, `arianna`, `sukhdeep`, `louis`, `blake`, `amelia`, `ruby`, `lea`, `hanna`, `finley`, `leonardo`, `athina`, `dimitra`, `raphael`, `lucie`, `meher`, `inaaya`, `cressida`, `aarini`, `colton`, `cormac`, `everett`, `aviraj`, `savannah`, `skylar`, `saira`, `kareena`, `rhea`, `reagan`, `kennedy`, `sierra`, `luke`, `fiona`, `jack`, `zoe`, `ellie`, `sophie`, `sam`, `owen`

### Languages

- Detected `auto`
- English `en`
- Hindi `hi`
- Marathi `mr`
- Kannada `kn`
- Tamil `ta`
- Bangla `bn`
- Gujarati `gu`
- German `de`
- French `fr`
- Spanish `es`
- Italian `it`
- Polish `pl`
- Dutch `nl`
- Russian `ru`
- Arabic `ar`
- Hebrewlightning_v3.1 only `he`
- Swedish `sv`
- Malayalam `ml`
- Telugu `te`
- Portuguese `pt`
- Punjabi `pa`
- Odia `or`
- Greeklightning_v3.1_pro only `el`
- Finnishlightning_v3.1_pro only `fi`
- Norwegianlightning_v3.1_pro only `no`
- Chineselightning_v3.1_pro only `zh`
- Indonesianlightning_v3.1_pro only `id`
- Japaneselightning_v3.1_pro only `ja`
- Koreanlightning_v3.1_pro only `ko`
- Malaylightning_v3.1_pro only `ms`
- Turkishlightning_v3.1_pro only `tr`
- Vietnameselightning_v3.1_pro only `vi`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"smallestai/<model>"` and the options in `options`. Smallest AI takes no `options`: send `{}` or leave it out.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | lightning_v3.1, lightning_v3.1_pro | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Smallest AI as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#smallestai-models). |
| `language` | string | Default `"en"` |  | A Smallest AI language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#smallestai-languages), passed through as given. |
| `speed` | number | Default `1.0` | 0.5 – 2.0 | Speech speed. 1.0 is normal speed. |
| `sample_rate` | integer | Required | 8000, 16000, 24000, 44100 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, mulaw, alaw | The audio format, produced by Smallest AI itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="smallestai/lightning_v3.1",
    voice="lakshya",
    language="en",
    speed=1.0,
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "smallestai",
  "model": "lightning_v3.1",
  "voice": "lakshya",
  "language": "en",
  "speed": 1.0,
  "sample_rate": 24000,
  "format": "pcm",
  "options": {}
}
```

## Cartesia

[Cartesia API reference](https://docs.cartesia.ai/api-reference/tts/websocket)

Protocol `"provider": "cartesia"` LiveKit plugin `tcr.TTS(model="cartesia/…")`

- Models: sonic-3.6, sonic-3.5, sonic-3
- Languages: 44
- Speed: 0.6 – 1.5
- Sample rates: 8, 16, 22.05, 24, 44.1, 48 kHz
- Formats: pcm, wav, mp3, mulaw, alaw

### Models and voices

sonic-3.6 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [Cartesia’s voice catalog](https://docs.cartesia.ai/api-reference/voices/list)

sonic-3.5 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [Cartesia’s voice catalog](https://docs.cartesia.ai/api-reference/voices/list)

sonic-3 Voices are per account: [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists yours, as does [Cartesia’s voice catalog](https://docs.cartesia.ai/api-reference/voices/list)

### Languages

- English `en`
- French `fr`
- German `de`
- Spanish `es`
- Portuguese `pt`
- Chinese `zh`
- Japanese `ja`
- Hindi `hi`
- Italian `it`
- Korean `ko`
- Dutch `nl`
- Polish `pl`
- Russian `ru`
- Swedish `sv`
- Turkish `tr`
- Filipino `tl`
- Bulgarian `bg`
- Romanian `ro`
- Arabic `ar`
- Czech `cs`
- Greek `el`
- Finnish `fi`
- Croatian `hr`
- Malay `ms`
- Slovak `sk`
- Danish `da`
- Tamil `ta`
- Ukrainian `uk`
- Hungarian `hu`
- Norwegian `no`
- Vietnamese `vi`
- Bangla `bn`
- Thai `th`
- Hebrew `he`
- Georgian `ka`
- Indonesian `id`
- Telugu `te`
- Gujarati `gu`
- Kannada `kn`
- Malayalam `ml`
- Marathi `mr`
- Punjabi `pa`
- Odiasonic-3.6 only `or`
- Urdusonic-3.6 only `ur`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"cartesia/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | sonic-3.6, sonic-3.5, sonic-3 | Which model synthesizes the segment. |
| `voice` | string | Required |  | A voice of the chosen model, passed to Cartesia as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#cartesia-models). |
| `language` | string | Default `"en"` |  | A Cartesia language code from [languages](https://docs.ttscacherouter.dev/reference/models.md#cartesia-languages), passed through as given. |
| `speed` | number | Optional | 0.6 – 1.5 | Speech speed. 1.0 is normal speed; left out, the provider's default. |
| `sample_rate` | integer | Required | 8000, 16000, 22050, 24000, 44100, 48000 | Of the audio you receive, in Hz. |
| `format` | string | Default `"pcm"` | pcm, wav, mp3, mulaw, alaw | The audio format, produced by Cartesia itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. |
| `options.volume` | number \| null | Default `null` | 0.5 – 2.0 | Loudness relative to the voice's own. Null: Cartesia's default (1.0). |
| `options.emotion` | string \| null | Default `null` |  | Guide the delivery (English): neutral, calm, angry, content, sad, scared, and the others Cartesia lists. Null: Cartesia reads the emotion from the text. |
| `options.pronunciation_dict_id` | string \| null | Default `null` |  | A Cartesia pronunciation dictionary's id. Cached takes keep the dictionary as it was when they were synthesized, until they expire. |
| `options.bit_rate` | integer \| null | Default `128000` | 32000 – 192000 | MP3's bit rate in bits per second: 32000, 64000, 96000, 128000 or 192000. |
| `options.word_timestamps` | boolean | Default `true` |  | /v1/stream: send each sentence's word timings (`words` messages). Not with mp3. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="cartesia/sonic-3.6",
    voice="<voice id>",
    language="en",
    options={"volume": None, "emotion": None, "pronunciation_dict_id": None, "word_timestamps": True},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "cartesia",
  "model": "sonic-3.6",
  "voice": "<voice id>",
  "language": "en",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"volume": null, "emotion": null, "pronunciation_dict_id": null, "word_timestamps": true}
}
```

## Gemini

[Gemini API reference](https://ai.google.dev/gemini-api/docs/speech-generation)

Protocol `"provider": "gemini"` LiveKit plugin `tcr.TTS(model="gemini/…")`

- Models: gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts
- Languages: 149
- Speed: ask in instructions
- Sample rates: 8, 24 kHz
- Formats: pcm, wav, mulaw, alaw

### Models and voices

gemini-3.8-flash-tts The 30 voices of the models below, and Gemini's voice library: about 2,100 voices, with ids like en-us-tutor-1. [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists them all.

gemini-3.8-flash-lite-tts The 30 voices of the models below, and Gemini's voice library: about 2,100 voices, with ids like en-us-tutor-1. [GET /v1/voices](https://docs.ttscacherouter.dev/reference/voices.md) lists them all.

`gemini-3.1-flash-tts-preview` voices (30): `Zephyr`, `Puck`, `Charon`, `Kore`, `Fenrir`, `Leda`, `Orus`, `Aoede`, `Callirrhoe`, `Autonoe`, `Enceladus`, `Iapetus`, `Umbriel`, `Algieba`, `Despina`, `Erinome`, `Algenib`, `Rasalgethi`, `Laomedeia`, `Achernar`, `Alnilam`, `Schedar`, `Gacrux`, `Pulcherrima`, `Achird`, `Zubenelgenubi`, `Vindemiatrix`, `Sadachbia`, `Sadaltager`, `Sulafat`

`gemini-2.5-flash-preview-tts` voices (30): `Zephyr`, `Puck`, `Charon`, `Kore`, `Fenrir`, `Leda`, `Orus`, `Aoede`, `Callirrhoe`, `Autonoe`, `Enceladus`, `Iapetus`, `Umbriel`, `Algieba`, `Despina`, `Erinome`, `Algenib`, `Rasalgethi`, `Laomedeia`, `Achernar`, `Alnilam`, `Schedar`, `Gacrux`, `Pulcherrima`, `Achird`, `Zubenelgenubi`, `Vindemiatrix`, `Sadachbia`, `Sadaltager`, `Sulafat`

`gemini-2.5-pro-preview-tts` voices (30): `Zephyr`, `Puck`, `Charon`, `Kore`, `Fenrir`, `Leda`, `Orus`, `Aoede`, `Callirrhoe`, `Autonoe`, `Enceladus`, `Iapetus`, `Umbriel`, `Algieba`, `Despina`, `Erinome`, `Algenib`, `Rasalgethi`, `Laomedeia`, `Achernar`, `Alnilam`, `Schedar`, `Gacrux`, `Pulcherrima`, `Achird`, `Zubenelgenubi`, `Vindemiatrix`, `Sadachbia`, `Sadaltager`, `Sulafat`

### Languages

Gemini takes no language setting: it speaks the language of the text.

- Acehnesegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ace-Arab`
- Afrikaans `af`
- Akangemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ak`
- Amharic `am`
- Armenian `hy`
- Assamesegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `as`
- Awadhigemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `awa`
- Balinesegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ban`
- Bangla `bn`
- Banjar (Arabic)gemini-3.8-flash-tts only `bjn-Arab`
- Banjar (Latin)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `bjn-Latn`
- Bashkirgemini-3.8-flash-tts only `ba`
- Basque `eu`
- Belarusian `be`
- Bembagemini-3.8-flash-tts only `bem`
- Bhojpurigemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `bho`
- Bosniangemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `bs`
- Buginesegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `bug`
- Bulgarian `bg`
- Burmesegemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `my`
- Cantonesegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `yue`
- Catalan `ca`
- Cebuano `ceb`
- Central Kurdishgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ckb`
- hnegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `hne`
- Chinese (Simplified)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `zh-Hans`
- Chinese (Traditional)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `zh-Hant`
- Crimean Tatargemini-3.8-flash-tts only `crh`
- Croatian `hr`
- Czech `cs`
- Danish `da`
- Dutch `nl`
- Dyulagemini-3.8-flash-tts only `dyu`
- Dzongkhagemini-3.8-flash-tts only `dz`
- Egyptian Arabicgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `arz`
- English `en`
- Estonian `et`
- Filipino `fil`
- Finnishgemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `fi`
- French `fr`
- Galician `gl`
- Gandagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `lg`
- Georgian `ka`
- German `de`
- Greek `el`
- Guaranigemini-3.8-flash-tts only `gn`
- Gujarati `gu`
- Haitian Creole `ht`
- Mongoliangemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `khk`
- Hausagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ha`
- Hebrew `he`
- Hindi `hi`
- Hungarian `hu`
- Icelandic `is`
- Igbogemini-3.8-flash-tts only `ig`
- Ilokogemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ilo`
- Indonesian `id`
- Persiangemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `pes`
- Italian `it`
- Japanese `ja`
- Javanese `jv`
- Kabylegemini-3.8-flash-tts only `kab`
- Kambagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `kam`
- Kannada `kn`
- Kashmiri (Arabic)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ks-Arab`
- Kashmiri (Devanagari)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ks-Deva`
- Kazakhgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `kk`
- Khmergemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `km`
- Kikuyugemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ki`
- Kinyarwandagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `rw`
- Kongogemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `kg`
- Korean `ko`
- Kyrgyzgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ky`
- Lao `lo`
- Latgaliangemini-3.8-flash-tts only `ltg`
- Lingalagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ln`
- Lithuaniangemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `lt`
- Luxembourgishgemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `lb`
- Macedonian `mk`
- Magahigemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `mag`
- Maithili `mai`
- Malayalam `ml`
- Maltesegemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `mt`
- Manipurigemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `mni`
- Marathi `mr`
- Minangkabau (Arabic)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `min-Arab`
- Minangkabau (Latin)gemini-3.8-flash-tts only `min-Latn`
- Mizogemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `lus`
- Nepaligemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `npi`
- fuvgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `fuv`
- Azerbaijanigemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `azj`
- Northern Sothogemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `nso`
- Uzbekgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `uzn`
- Norwegian Bokmål `nb`
- Norwegian Nynorsk `nn`
- Nyanjagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ny`
- Occitangemini-3.8-flash-tts only `oc`
- Odiagemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `ory`
- Pangasinangemini-3.8-flash-tts only `pag`
- Persian (Afghanistan)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `prs`
- Polish `pl`
- Portuguese `pt`
- Punjabi `pa`
- Romanian `ro`
- Russian `ru`
- Santaligemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `sat`
- Serbian `sr`
- Sindhigemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `sd`
- Sinhala `si`
- Slovak `sk`
- Sloveniangemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `sl`
- Somaligemini-3.8-flash-tts only `so`
- azbgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `azb`
- pbtgemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `pbt`
- Southern Sothogemini-3.8-flash-tts only `st`
- Spanish `es`
- Arabic (Arabic)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `arb-Arab`
- Arabic (Latin)gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `arb-Latn`
- Latviangemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `lvs`
- Malaygemini-3.8-flash-tts, gemini-3.8-flash-lite-tts only `zsm`
- Swahiligemini-3.8-flash-tts only `swh`
- Swatigemini-3.8-flash-tts only `ss`
- Swedishgemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `sv`
- Tajikgemini-3.8-flash-tts only `tg`
- Tamil `ta`
- Telugu `te`
- Thaigemini-3.8-flash-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `th`
- Tigrinyagemini-3.8-flash-tts only `ti`
- Albaniangemini-3.8-flash-tts only `als`
- Turkish `tr`
- Uyghurgemini-3.8-flash-tts only `ug`
- Vietnamese `vi`
- Arabicgemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `ar`
- Konkanigemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `kok`
- Latingemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `la`
- Latviangemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `lv`
- Malagasygemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `mg`
- Ukrainiangemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `uk`
- Malaygemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `ms`
- Mongoliangemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `mn`
- Albaniangemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `sq`
- Nepaligemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `ne`
- Azerbaijanigemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `az`
- Odiagemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `or`
- Pashtogemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `ps`
- Persiangemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `fa`
- Chinesegemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `cmn`
- Swahiligemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `sw`
- Urdugemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts only `ur`

### Settings

Fields of the [start message](https://docs.ttscacherouter.dev/clients/stream.md#start) (top-level fields on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md)). The LiveKit plugin’s `TTS` and the Pipecat service’s `Settings` take them in the same names, with `model` as `"gemini/<model>"` and the options in `options`.

| Field | Type | Required or default | Values | Description |
| --- | --- | --- | --- | --- |
| `model` | string | Required | gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts, gemini-3.1-flash-tts-preview, gemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts | Which model synthesizes the segment. |
| `voice` | string \| null | Required, unless `options.speakers` |  | A voice of the chosen model, passed to Gemini as given. See [models and voices](https://docs.ttscacherouter.dev/reference/models.md#gemini-models). With `options.speakers`, left out or null. |
| `sample_rate` | integer | Required | 8000, 24000 | Of the audio you receive, in Hz. By format: pcm and wav at 24000 Hz from every model; mulaw and alaw at 8000 Hz, from gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts only. |
| `format` | string | Default `"pcm"` | pcm, wav, mulaw, alaw | The audio format, produced by Gemini itself. `wav` is `response_format` on [/v1/audio/speech](https://docs.ttscacherouter.dev/clients/speech.md) only. pcm and wav at 24000 Hz from every model; mulaw and alaw at 8000 Hz, from gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts only. |
| `options.instructions` | string \| null | Default `null` |  | How to speak: style, tone, accent, pace. Null: for gemini-2.5 and gemini-3.1, LiveKit's plugin's default ("Say the text with a proper tone, don't omit or add any words"), which keeps them reading the text; for gemini-3.8, none. |
| `options.speakers` | object \| null | `gemini-3.8-flash-tts` , `gemini-3.8-flash-lite-tts` only. Default `null` |  | Two speakers' names, each with a voice (a multi-speaker voice config); replaces voice. Requires speaker. |
| `options.speaker` | string \| null | `gemini-3.8-flash-tts` , `gemini-3.8-flash-lite-tts` only. Default `null` |  | Which of speakers voices this request. |

**LiveKit plugin**

```python
from livekit.plugins import tts_cache_router as tcr

tts = tcr.TTS(
    model="gemini/gemini-3.8-flash-tts",
    voice="Zephyr",
    options={"instructions": None, "speaker": None},
    sample_rate=24000,
)
```

**start message**

```json
{
  "type": "start",
  "segment_id": "c0ffee",
  "provider": "gemini",
  "model": "gemini-3.8-flash-tts",
  "voice": "Zephyr",
  "sample_rate": 24000,
  "format": "pcm",
  "options": {"instructions": null, "speakers": null, "speaker": null}
}
```
