Telnyx.KokoroTTS.<voice>
Lightweight, lowest-latency model. 5 languages: en, es, fr, it, pt.
Voice Samples
| Voice | Language | Gender | Sample |
|---|---|---|---|
Telnyx.KokoroTTS.af_heart | en-US | Female | |
Telnyx.KokoroTTS.am_adam | en-US | Male | |
Telnyx.KokoroTTS.bf_emma | en-UK | Female |
WebSocket
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
audio_format | string | mp3 | mp3, linear16. |
sample_rate | integer | 24000 | 24000. |
Voice Settings
None. All synthesis parameters are fixed. The init frame only needs{"text": " "}.
REST API
Fields
No model-specific fields. Audio format is always MP3.| Field | Type | Default | Description |
|---|---|---|---|
output_type | string | binary_output | binary_output, base64_output, or audio_id. |
Response
Default (binary_output): chunked audio bytes with Content-Type: audio/mpeg.
With output_type: "base64_output": JSON with base64-encoded audio.
With output_type: "audio_id": JSON with an audio_url for deferred retrieval.