> ## Documentation Index
> Fetch the complete documentation index at: https://smallestai-ff1e543d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Text to Speech Examples

> Production-ready code examples for Lightning TTS - from basic synthesis to streaming, voice cloning, and full applications.

Explore complete, runnable examples from our cookbook repository.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/quickstart">
    Generate speech in 5 lines of code — the simplest way to start.
  </Card>

  <Card title="Streaming (SSE & WebSocket)" icon="broadcast-tower" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/streaming">
    Real-time audio streaming with latency metrics and chunk-by-chunk playback.
  </Card>

  <Card title="Voice Explorer" icon="users" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/voices">
    List, filter, and preview 80+ voices by language, gender, and accent.
  </Card>

  <Card title="Pronunciation Dictionaries" icon="spell-check" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/pronunciation-dicts">
    Custom pronunciations for brand names, acronyms, and technical terms.
  </Card>

  <Card title="Podcast Generator" icon="podcast" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/podcast-generator">
    Give it a topic, get a two-host AI podcast with LLM-generated script.
  </Card>

  <Card title="Audiobook Generator" icon="book-open" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/audiobook-generator">
    Convert any text file into a narrated, chaptered audiobook.
  </Card>

  <Card title="Voice Gallery App" icon="grid-2" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/voice-gallery-app">
    Web app to browse and preview all voices — deploy to Vercel.
  </Card>

  <Card title="Language Translation App" icon="language" href="https://github.com/smallest-inc/cookbook/tree/main/text-to-speech/language-translation-app">
    Translate text between 40+ languages with TTS and STT.
  </Card>
</CardGroup>

Browse all examples on our [GitHub repository](https://github.com/smallest-inc/cookbook/tree/main/text-to-speech).
