Auto Chapters
Supported regions
US & EU
Generate chapter summaries from your audio transcripts using LLM Gateway. This approach gives you full control over how chapters are created and summarized.
The auto_chapters parameter on the transcription API is deprecated. Use LLM Gateway as shown below for more flexible and powerful chapter summaries.
Quickstart
Python
JavaScript
Example output
Customize your chapters
You can adjust the chapter generation by modifying the step variable to control how many paragraphs are grouped into each chapter, and by customizing the prompt.
Structured chapter output
For a more structured output, use Structured Outputs or specify a JSON format in your prompt:
API reference
Step 1: Transcribe audio
Step 2: Get paragraphs
Once the transcript is complete, fetch the paragraphs:
Step 3: Generate chapter summaries with LLM Gateway
Next steps
- LLM Gateway Overview - Learn more about available models and features
- Apply LLM Gateway to pre-recorded audio - General guide for using LLM Gateway with transcripts
- Structured Outputs - Constrain responses to a specific JSON schema