Skip to main content
Voice format: Telnyx.NaturalHD.<voice> Pre-built voices backed by Rime Arcana. 9 languages: en, fr, de, es, ar, hi, ja, he, pt.

Voice Samples

VoiceLanguageGenderSample
Telnyx.NaturalHD.astraen-USFemale
Telnyx.NaturalHD.albionen-USMale
Telnyx.NaturalHD.amarantefr-FRFemale
Telnyx.NaturalHD.lunaen-USFemale

WebSocket

Query Parameters

wss://api.telnyx.com/v2/text-to-speech/speech?voice=Telnyx.NaturalHD.astra&audio_format=mp3
ParameterTypeDefaultDescription
audio_formatstringmp3mp3, linear16.
sample_rateinteger240008000, 16000, 22050, 24000, 44100, 48000, 96000.

Voice Settings

Send in the init frame ({"text": " "}):
FieldTypeDefaultDescription
voice_speedfloat1.0Speech rate multiplier.
{
  "text": " ",
  "voice_settings": {
    "voice_speed": 0.9
  }
}

REST API

Fields

FieldTypeDefaultDescription
voice_speedfloat1.0Speech rate multiplier.
output_typestringbinary_outputbinary_output, base64_output, or audio_id.

Response

Default (binary_output): chunked audio bytes with Content-Type: audio/mpeg (or audio/wav, audio/pcm). With output_type: "base64_output": JSON with base64-encoded audio. With output_type: "audio_id": JSON with an audio_url for deferred retrieval.