> ## Documentation Index
> Fetch the complete documentation index at: https://assemblyai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# End-to-end examples

> Copy-paste pipelines that combine multiple AssemblyAI products in a single script.

## Overview

Each example below is a self-contained script that wires together several AssemblyAI products into a working pipeline. Run one, see the polished output, and customize from there.

> [!NOTE]
>
> Every example uses placeholder API keys (`YOUR_API_KEY`). Replace them with your actual key from the [AssemblyAI dashboard](https://www.assemblyai.com/dashboard).

***

## Pre-recorded pipelines

These pipelines transcribe an existing audio file, then enrich the transcript with Speech Understanding features and LLM Gateway analysis.

| Pipeline | Products used | Best for |
| - | - | - |
| [Meeting notetaker](https://assemblyai.com/docs/getting-started/end-to-end-examples/meeting-notetaker.md) | STT + speaker diarization + Speaker Identification + language detection + LLM Gateway | Team meetings, standups, all-hands |
| [Sales call intelligence](https://assemblyai.com/docs/getting-started/end-to-end-examples/sales-call-intelligence.md) | STT + speaker diarization + Speaker Identification + sentiment analysis + LLM Gateway | Revenue teams, coaching, QA |
| [Medical scribe](https://assemblyai.com/docs/getting-started/end-to-end-examples/medical-scribe.md) | STT + speaker diarization + Speaker Identification + Medical Mode + entity detection + LLM Gateway | Clinical documentation, SOAP notes |
| [Content repurposing](https://assemblyai.com/docs/getting-started/end-to-end-examples/content-repurposing.md) | STT + key phrases + LLM Gateway | Podcasts, webinars, marketing |

***

## Streaming pipelines

These pipelines use the [Real-time STT API](https://assemblyai.com/docs/streaming/getting-started/transcribe-streaming-audio.md) to transcribe audio in real time from a microphone, with optional LLM Gateway integration for live analysis.

| Pipeline | Products used | Best for |
| - | - | - |
| [Real-time meeting assistant](https://assemblyai.com/docs/getting-started/end-to-end-examples/real-time-meeting-assistant.md) | Real-time STT + Universal-3.5 Pro + LLM Gateway | Live captions, real-time summaries |
| [Real-time live captioner](https://assemblyai.com/docs/getting-started/end-to-end-examples/real-time-live-captioner.md) | Real-time STT + keyterms prompting | Accessibility, live events |
| [Real-time voice AI on ESP32](https://assemblyai.com/docs/getting-started/end-to-end-examples/realtime-esp32.md) | Voice Agent API, or Real-time STT + LLM Gateway + Text-to-Speech | Hardware, AI toys, desk companions |

***

## Customize and extend

Each pipeline above is a starting point. Here are common ways to build on them:

* **Swap LLM models** — Change the `model` parameter in LLM Gateway requests to use any of the [25+ supported models](https://assemblyai.com/docs/llm-gateway/available-models) (Claude, GPT, Gemini, and more).
* **Add structured output** — Use [Structured Outputs](https://assemblyai.com/docs/llm-gateway/structured-outputs.md) to constrain LLM responses to a JSON schema for easier downstream processing.
* **Add PII redaction** — Enable [PII Redaction](https://assemblyai.com/docs/pre-recorded-audio/redact-pii-from-transcripts.md) to automatically mask sensitive information before it reaches the LLM.
* **Use Speaker Identification** — Replace generic speaker labels with real names using [Speaker Identification](https://assemblyai.com/docs/speech-understanding/speaker-identification.md).
* **Add Translation** — Translate transcripts into 86 languages using [Translation](https://assemblyai.com/docs/speech-understanding/translation.md).
* **Use webhooks** — Replace polling with [webhooks](https://assemblyai.com/docs/pre-recorded-audio/webhooks.md) for production workloads so your server gets notified when transcription completes.

## Next steps

* [Pre-recorded STT quickstart](https://assemblyai.com/docs/pre-recorded-audio/getting-started/transcribe-an-audio-file.md) — Step-by-step guide for your first transcription
* [Real-time STT quickstart](https://assemblyai.com/docs/streaming/getting-started/transcribe-streaming-audio.md) — Set up real-time transcription
* [LLM Gateway overview](https://assemblyai.com/docs/llm-gateway/quickstart.md) — Explore all available models and features
