Skip to content

AssemblyAI DocsVoice AI Infrastructure

Production-ready speech-to-text, audio intelligence, and LLM Gateway. Build with pre-recorded or streaming audio using REST APIs and WebSockets.

Quick Start

python
import assemblyai as aai

aai.settings.api_key = "YOUR_API_KEY"

transcriber = aai.Transcriber()
transcript = transcriber.transcribe("https://example.com/audio.mp3")

print(transcript.text)
typescript
import { AssemblyAI } from 'assemblyai'

const client = new AssemblyAI({ apiKey: 'YOUR_API_KEY' })

const transcript = await client.transcripts.transcribe({
  audio: 'https://example.com/audio.mp3'
})

console.log(transcript.text)
bash
curl -X POST https://api.assemblyai.com/v2/transcript \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"audio_url": "https://example.com/audio.mp3"}'

Available Models

ModelUse CaseLatencyLanguages
Universal-3 Pro (Async)Highest accuracy, pre-recorded15-30% of audio duration6 languages
Universal-2Broad language support15-30% of audio duration99+ languages
Universal-3 Pro StreamingReal-time, voice agentsUnder 300ms6 languages
Universal StreamingReal-time, multilingualUnder 500ms60+ languages
Whisper Streaming99+ language streamingVaries99+ languages
  • Meeting Notetaker: Transcribe + diarize + LLM Gateway for structured notes
  • Contact Center Analytics: Sentiment, key phrases, speaker roles, coaching
  • Medical Scribe: Medical Mode + SOAP note generation via LLM Gateway
  • Voice Agent: Real-time STT + TTS with interruption handling
  • Live Captioner: Streaming STT with keyterms for domain accuracy