Skip to main content
Stream audio for real-time transcription as the user speaks. Ideal for voice assistants and live captioning.

Overview

Streaming STT processes audio in chunks, providing partial transcriptions that update as more audio arrives. This creates a responsive experience where users see their words appear in real-time.

Basic Usage

With Voice Session

The easiest way to use streaming STT is through the Voice Agent, which handles VAD and audio capture automatically:
See Voice Agent for the complete voice pipeline.

Real-Time Transcription Widget

Tips for Streaming STT

Accumulate audio in buffers of 100-500ms for optimal accuracy vs latency tradeoff.
Use VAD (Voice Activity Detection) to detect end of speech and finalize transcriptions.
Handle network interruptions and audio glitches gracefully. Consider retrying failed chunks.
Show a visual indicator (waveform, pulsing dot) to confirm audio is being captured.

See Also

transcribe()

Batch transcription

Voice Agent

Complete voice pipeline