DocumentationAPI ReferenceSelf HostModel CardsClient LibrariesDeveloper ToolsChangelog
DocumentationAPI ReferenceSelf HostModel CardsClient LibrariesDeveloper 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)
    • How to Voice Clone
    • Delete Cloned Voice
  • Integrations
    • Vercel AI SDK
    • OpenClaw
    • LiveKit
    • Pipecat
    • Plivo
    • Vonage
    • n8n
  • Best Practices
    • Voice Cloning Best Practices
    • TTS Best Practices
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?
Edit this page
Previous

Speech to Text Examples

Next

Instant Voice Clone (Web UI)

Built with
LogoLogo
Voice AgentsModels
Voice AgentsModels