Documentation Index Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Voice format: Telnyx.KokoroTTS.<voice>
Lightweight, lowest-latency model. 5 languages: en, es, fr, it, pt.
Voice Samples
Voice Language Gender Sample Telnyx.KokoroTTS.af_hearten-US Female Telnyx.KokoroTTS.am_adamen-US Male Telnyx.KokoroTTS.bf_emmaen-UK Female
WebSocket
Query Parameters
wss://api.telnyx.com/v2/text-to-speech/speech?voice=Telnyx.KokoroTTS.af_heart
Parameter Type Default Description audio_formatstring mp3mp3, linear16.sample_rateinteger 2400024000.
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_typestring binary_outputbinary_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.