Cookbooks
Discover what you can build with the AssemblyAI API with real-world code examples.
For examples using the API without SDKs see API guides.
Popular
By product
All
Redact PII Entities in a Transcript with Entity Detection
Use Automatic Language Detection as a Separate Step From Transcription
Route to Default Language if Language Confidence is Low
Route to Nano Speech Model if Detected Language Confidence is Low
Build a UI for Transcription with Gradio and Python
Calculate the Talk / Listen Ratio of Speakers
Translate AssemblyAI Transcripts Into Other Languages Using Commercial Models
Correct Audio Duration Discrepancies with Multi-Tool Validation and Transcoding
Audio File Downsampling Recommendations and Best Practices
Plot A Speaker Timeline with Matplotlib
Create Custom Length Subtitles
Create Subtitles with Speaker Labels
Detect Low Confidence Words in a Transcript
Do More With Our SDKs
Generate Subtitles for Videos
Troubleshoot Common Errors
Select The EU Region for EU Data Residency
Get YouTube Video Transcripts with yt-dlp
Implement Retry Server Error Logic
Implement Retry Upload Error Logic
Identify Duplicate Dual Channel Files
Iterate over Speaker Labels with Make.com
Schedule a DELETE request with AssemblyAI and EasyCron
Use Speaker Diarization with Async Chunking
Setup A Speaker Identification System using Pinecone & Nvidia TitaNet
Transcribe Multiple Files Simultaneously Using the JavaScript SDK
Transcribe from an S3 Bucket
Translate an AssemblyAI Subtitle Transcript
Transcribe GitHub Files
Transcribe a Google Drive File
Generate Custom Speaker Labels with Pyannote
Transcribe Multiple Files Simultaneously Using the Python SDK
Migration guide: AWS Transcribe to AssemblyAI
Migration guide: Deepgram to AssemblyAI
Migration guide: Google Speech-to-Text to AssemblyAI
Migration guide: OpenAI to AssemblyAI
Boost Transcription Accuracy with LLM Gateway (LLM Gateway Custom Vocab)
Create Chapter Summaries with LLM Gateways Custom Text Input Parameter
Custom Topic Tags
Estimate Input Token Costs for LLM Gateway
Extract Dialogue Data with LLM Gateway and JSON
Extract Quotes with Timestamps Using LLM Gateway + Semantic Search
Extract Transcript Quotes with LLM Gateways Custom Text Input Parameter
Pass Context from Previous LLM Gateway Requests
Implement a Sales Playbook Using LLM Gateway
Setup an AI Coach with LLM Gateway
Generate Action Items with LLM Gateway
Generate A Custom Summary Using LLM Gateway
Prompt A Structured Q&A Response Using LLM Gateway
Analyze The Sentiment Of A Customer Call using LLM Gateway
Segment A Phone Call using LLM Gateway
Process Speaker Labels with LLM Gateways Custom Text Input Parameter
Generate SOAP Notes using LLM Gateway
Generate Transcript Citations using LLM Gateway
Identify Speaker Names From the Transcript Using LLM Gateway
Apply Noise Reduction to Audio for Streaming Speech-to-Text
Translate Streaming STT Transcripts with LLM Gateway
Terminate Streaming Session After Inactivity
Transcribe System Audio in Real-Time (macOS)
Use LLM Gateway with Streaming Speech-to-Text (STT)
Redact PII from Text Using LLM Gateway
Transform Chinese transcripts into Simplified or Traditional Text
Migrate from Streaming v2 to Streaming v3
Transcribe Audio Files with Streaming Speech-to-Text
API Guides
Transcribing an audio file
Speech-to-TextGenerating subtitles for videos
Speech-to-TextUsing real-time streaming
StreamingSummarizing virtual meetings
Audio IntelligenceIdentifying hate speech in audio or video files
Audio IntelligenceIdentifying highlights in audio and video files
Audio IntelligenceIdentifying speakers in audio recordings
Audio IntelligenceCreating summarized chapters from podcasts
Audio IntelligenceGenerate meeting action items with LLM Gateway
LLM GatewaySeparating automatic language detection from transcription
Speech-to-TextProcess speaker labels with LLM Gateway
LLM Gateway