Transcribe a live phone call with Python - Flask tutorial @AssemblyAI
Transcribe a live phone call with Python - Flask tutorial  @AssemblyAI
Uploaded February 2024 | Updated September 2026, 3 weeks ago
Real-time call transcription is great for increasing accessibility and is widely applicable across different industries like customer support and call center analysis.

In this video, we'll build a Flask application in Python to transcribe phone calls in real time with AssemblyAI, Twilio, and ngrok.

Relevant links:
1. Get an AssemblyAI API Key: assemblyai.com/dashboard/signup?utm_source=youtube&utm_medium=referral&utm_campaign=yt_ry_5
2. Sign up for Twilio: login.twilio.com/signup
3. Sign up for Ngrok: dashboard.ngrok.com/signup
4. GitHub repo: github.com/AssemblyAI-Examples/python-realtime-twilio-transcription
5. Blog post: assemblyai.com/blog/transcribe-phone-call-real-time-python

▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬

🖥️ Website: assemblyai.com/discover/?utm_source=youtube&utm_medium=referral&utm_campaign=yt_ry_5
🐦 Twitter: twitter.com/AssemblyAI
👽 Reddit: reddit.com/r/assemblyai
▶️ Subscribe: youtube.com/c/AssemblyAI?sub_confirmation=1
🔥 We're hiring! Check our open roles: assemblyai.com/careers

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

00:00 Demo
00:25 How it works
01:34 Getting started
01:45 Step 1: Set up credentials and environment
04:16 Step 2: Create the Flask application
06:26 Step 3: Define the root endpoint
09:04 Step 4: Get a Twilio number and open an ngrok tunnel
11:18 Step 5: Set up a WebSocket to receive speech
15:15 Step 6: Define a real-time transcriber
21:34 Step 7: Add real-time transcription to the WebSocket
25:55 Step 8: Automatically set the Twilio WebHook and ngrok tunnel
31:20 Graph ML - applications and results


#MachineLearning #DeepLearning
Transcribe a live phone call with Python - Flask tutorialCoding an AI Voice Bot from Scratch: Real-Time Conversation with PythonVector Databases: The Future of AI SearchWhat is Conversation Intelligence? AI Speech Analysis for Sales, Support & Product TeamsBuild AI App Prototypes Visually with No-Code (Open-source)aai fern docs demo 2How to Evaluate APIs for Speaker DiarizationCreate Your Own AI: Transformer Agents TutorialAssemblyAI Universal 3.5 Pro Is Now in Vapi (Setup + Live Demo)How to Build a Real Time Agent Assist Voice Agent for Call CentersBuild An AI Chat Bot In Java | Real-Time PromptingBuild a Voice Agent in an Hour with Claude Code | AssemblyAI Workshop
AssemblyAI |

Transcribe a live phone call with Python - Flask tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER