For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DocumentationAPI ReferenceSelf HostModel CardsClient LibrariesIntegrationsDeveloper ToolsChangelog
DocumentationAPI ReferenceSelf HostModel CardsClient LibrariesIntegrationsDeveloper ToolsChangelog
  • Getting Started
    • Introduction
    • Models
    • Authentication
  • Text to Speech (Lightning)
    • Quickstart
    • Overview
    • Sync & Async
    • Streaming
    • Pronunciation Dictionaries
    • Voices & Languages
    • HTTP vs Streaming vs WebSockets
  • Speech to Text (Pulse)
    • Quickstart
    • Overview
  • Cookbooks
    • Speech to Text
    • Text to Speech
  • Voice Cloning
    • Instant Clone (UI)
    • Instant Clone (API)
    • Instant Clone (Python SDK)
    • Delete Cloned Voice
  • Best Practices
    • Voice Cloning Best Practices
    • TTS Best Practices
  • Troubleshooting
    • Error reference
Cookbooks

Text to Speech Examples

||View as Markdown|

Explore complete, runnable examples from our cookbook repository.

Quickstart

Generate speech in 5 lines of code — the simplest way to start.

Streaming (SSE & WebSocket)

Real-time audio streaming with latency metrics and chunk-by-chunk playback.

Voice Explorer

List, filter, and preview 80+ voices by language, gender, and accent.

Pronunciation Dictionaries

Custom pronunciations for brand names, acronyms, and technical terms.

Podcast Generator

Give it a topic, get a two-host AI podcast with LLM-generated script.

Audiobook Generator

Convert any text file into a narrated, chaptered audiobook.

Voice Gallery App

Web app to browse and preview all voices — deploy to Vercel.

Language Translation App

Translate text between 40+ languages with TTS and STT.

Browse all examples on our GitHub repository.

Was this page helpful?
Previous

Speech to Text Examples

Next

Instant Voice Clone (Web UI)

Built with
LogoLogo
Voice AgentsModels
Voice AgentsModels