Skip to content

A resource of code examples, guides, and tutorials for using the AssemblyAI API.

License

Notifications You must be signed in to change notification settings

AssemblyAI/cookbook

Repository files navigation

AssemblyAI Cookbook 🧑‍🍳

The AssemblyAI Cookbook is a resource of code examples, guides, and tutorials for using the AssemblyAI API. Want to learn more about AssemblyAI? Check out this product overview video!

You will need an AssemblyAI account and API key to use these code examples. Click here to create and account for free.

Most code examples are written in Python or Javascript, but the concepts contained in these examples can be applied to any language. You can learn more about our various models in features in our official documentation.

Core Transcription 🎙️

Transcribe an Audio File
Transcribe from an AWS S3 Bucket
Transcribe a batch of files using AssemblyAI
Use our SDK transcribe a batch of files
Transcribe multiple files simultaneously using our Python SDK
Transcribe multiple files simultaneously using our Node.js SDK
Transcribe YouTube videos
Transcribe Google Drive links
🆕Transcribe GitHub Files
Detect Low Confidence Words in a Transcript
Translate Transcripts
Generate Subtitles for Videos
🆕Generate Speaker Labels with Make.com
Translate Subtitles
Specify a Language
Use Automatic Language Detection
🆕Automatic Language Detection as separate step from Transcription
Create Subtitles with Speaker Labels
🆕Split audio file to shorter files
Delete a Transcript
Build a UI for Transcription with Gradio
Troubleshoot common errors when starting to use our API
🆕Automatically Retry Server Errors
🆕Delete transcripts after 24 hours of creation
🆕Create a speaker timeline with Speaker Labels
🆕Route to Default Language if Language Detection Confidence is Low - Python
🆕Route to Default Language if Language Detection Confidence is Low - JS
🆕Route to Nano Speech Model if Language Detection Confidence is Low

Audio Intelligence 🤖

Create Summarized Chapters from Podcasts
Identify Hate Speech in Audio and Video Files
Identify Highlights in Audio and Video Files
Identify Speakers in Audio Recordings
Summarize Virtual Meetings
🆕Create a redacted transcript with Entity Detection

Streaming STT 🕒

Transcribe files in real-time with Node.js
Use Streaming STT with Python
Real-Time React Example
Use LeMUR with Streaming STT
Terminate Streaming STT session after a fixed duration of inactivity
Use Partial Transcripts
🆕Use Twilio with JavaScript SDK

LeMUR 🐾

Process Audio Files with LLMs Using LeMUR
Use LeMUR Specialized Endpoints
Leverage LeMUR for Customer Call Sentiment Analysis
Extract Dialogue Data with LeMUR and JSON
Implement a Sales Playbook Using LeMUR
🆕Boost Transcription Accuracy with LeMUR
Extract Citations from a Transcript with Semantic Search
Extract Quotes from a Transcript with LeMUR's Custom Text Input Parameter
Calculating LeMUR Costs by Counting Input Tokens
Processing Speaker Labels with LeMUR's Custom Text Input Parameter
Creating Chapter Summaries with LeMUR's Custom Text Input Parameter
How to Pass Context from Previous LeMUR Requests
Use LeMUR for Speaker Identification
🆕Ask questions about a transcript using LeMUR's Task Endpoint
🆕Create Custom Summaries using LeMUR's Task Endpoint
🆕Receive AI coaching from LeMUR's Task Endpoint
🆕Generate Action Items using LeMUR's Task Endpoint

SDKs and Other Resources 📚

Beyond the code examples here, you can learn about the AssemblyAI API from the following resources:


If you have any questions, please feel free to reach out to our Support team - [email protected]!

About

A resource of code examples, guides, and tutorials for using the AssemblyAI API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages