Real-time Text-to-Speech API

1,300+ voices across Telnyx-hosted, provider, and custom models through one API. Switch voices without rebuilding your application.

Text-to-speech demo

Test Text-to-Speech API voices

Enter text, choose a voice, adjust speed, and hear Telnyx text-to-speech output across models in the same workflow.

Loading...
Features

Production-ready text-to-speech APIs

One TTS API for voice synthesis, streaming, custom voices, and speech controls across all providers.

  • 1,300+ voices with model switching

    Access voices across Telnyx, provider, and custom models. Switch through configuration instead of rebuilding around a new provider.

  • Streaming and in-call playback

    Stream audio chunks for real-time responses, generate through REST, or play TTS directly in Voice API and TeXML call flows.

  • OpenAI SDK compatibility

    Use the REST TTS API with OpenAI-compatible client patterns when that is the fastest path for your team.

  • Custom voice creation and dubbing

    Design synthetic voices, clone from reference audio, or support dubbing workflows in production.

  • Pronunciation control

    Use pronunciation dictionaries and voice settings to tune how product names, customer names, and domain terms are spoken.

TTS providers

Text-to-Speech providers available through Telnyx

Compare Telnyx native voices, xAI Grok TTS, AWS Polly, Azure Speech, ElevenLabs, MiniMax, MurfAI, Rime, Resemble AI, Inworld, and Qwen3TTS through one Text-to-Speech API.

Why Telnyx

Why use Telnyx for Text-to-Speech API?

Most TTS providers stop at audio generation. Telnyx connects text-to-speech to calls, AI agents, and IVRs while keeping model choice behind one API.

  • One API for every voice and provider

    Use one API key, one bill, and one support motion for Telnyx voices, provider models, and custom voices. Switch models through configuration instead of rebuilding your application around each vendor.

  • Speech inside calls, agents, and IVRs

    Telnyx connects TTS to Voice API, TeXML, and Voice AI workflows, so generated speech is part of the call flow instead of a separate audio service.

  • Run voices on Telnyx infrastructure

    For select Telnyx-run models, speech generation stays on Telnyx infrastructure instead of calling a separate TTS vendor first.

Text-to-Speech customer stories

How teams use Telnyx Voice AI and Text-to-Speech

Read examples from teams using Telnyx for voice AI agents, live calls, contact centers, and global voice apps. These stories show the same requirements that matter for Text-to-Speech API deployments: voice quality, latency, one API, and fewer provider integrations.

How it works

Call the TTS API and receive audio

Send text with a voice ID, then receive generated speech over REST, WebSocket streaming, or a live call flow.

Generate speech from text with the TTS API

curl --request POST \
  --url https://api.telnyx.com/v2/text-to-speech \
  --header "Authorization: Bearer $TELNYX_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "text": "Your order is ready for pickup.",
    "voice": "Telnyx.NaturalHD.astra"
  }'
Pricing

How much does the Telnyx TTS API cost?

Telnyx TTS starts at $3 per 1 million characters. Pricing varies by model, with volume discounts available for larger deployments.

Starting at

$3.00

Starting cost per 1 million characters
Products

TTS on infrastructure built for real-time AI

Build Text-to-Speech with one API

Start with the voice that fits your first use case, then keep room to switch as quality, speed, language, and cost requirements change.

FAQ

A text-to-speech API gateway gives developers one API surface for multiple TTS engines, voices, and delivery paths. Telnyx acts as that gateway for Telnyx voices, supported provider models, custom voices, REST generation, WebSocket streaming, and in-call playback.