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
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
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 Node 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 LeMUR (LeMUR Custom Vocab)
Create Chapter Summaries with LeMURs Custom Text Input Parameter
Custom Topic Tags
Estimate Input Token Costs for LeMUR
Extract Dialogue Data with LeMUR and JSON
Extract Quotes with Timestamps Using LeMUR + Semantic Search
Extract Transcript Quotes with LeMURs Custom Text Input Parameter
Pass Context from Previous LeMUR Requests
Implement a Sales Playbook Using LeMUR
Setup an AI Coach with LeMUR
Generate Action Items with LeMUR
Generate A Custom Summary Using LeMUR
Prompt A Structured Q&A Response Using LeMUR
Analyze The Sentiment Of A Customer Call using LeMUR
Segment A Phone Call using LeMUR
Process Speaker Labels with LeMURs Custom Text Input Parameter
Generate SOAP Notes using LeMUR
Generate Transcript Citations using LeMUR
Identify Speaker Names From the Transcript Using LeMUR
Apply Noise Reduction to Audio for Streaming Speech-to-Text
Capture Complete Sentences as Partial Transcriptions with Streaming Speech-To-Text
Translate Streaming STT Transcripts with LeMUR
Terminate Streaming Session After Inactivity
Transcribe System Audio in Real-Time (macOS)
Use LeMUR with Streaming Speech-to-Text (STT)
Redact PII from Text Using LeMUR
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 LeMUR
LeMURSeparating automatic language detection from transcription
Speech-to-TextProcess speaker labels with LeMUR
LeMUR