Skip to main content

Zoom Scribe STT plugin guide

How to use the Zoom Scribe STT plugin for LiveKit Agents.

On this page

Available inPython

Overview

This plugin allows you to use Zoom Scribe  as an STT provider for your voice agents. It supports both Scribe modes:

  • Live (default): streaming over WebSocket. Scribe detects the end of each turn and returns its final transcript.
  • Fast: one HTTP request per utterance, segmented by a VAD.

Installation

Install the plugin:

uv add "livekit-agents[zoom-ai]~=1.8"

Authentication

The Zoom Scribe plugin requires a Zoom AI Services API key. Create one in Zoom Platform Studio  under Credentials → API Keys, with the Scribe permissions.

Set ZOOM_AI_API_KEY in your .env file:

ZOOM_AI_API_KEY=<your-zoom-ai-api-key>

Usage

Use Zoom Scribe STT in an AgentSession or as a standalone transcription service. For example, you can use this STT in the Voice AI quickstart.

With Scribe Live, let the STT drive turn detection:

from livekit.agents import AgentSession
from livekit.plugins import zoom_ai
session = AgentSession(
stt=zoom_ai.STT(language="en-US"),
turn_handling={"turn_detection": "stt"},
# ... llm, tts, etc.
)

Scribe Fast isn't streaming, so pair it with a VAD:

from livekit.agents import AgentSession
from livekit.plugins import silero, zoom_ai
session = AgentSession(
stt=zoom_ai.STT(mode="fast"),
vad=silero.VAD.load(),
# ... llm, tts, etc.
)

Parameters

This section describes some of the available parameters. See the plugin reference for a complete list. For what each Scribe feature does, and its availability, see the Scribe docs .

modestringDefault: live

Selects the Scribe mode. Live mode streams audio over WebSocket. Fast mode sends one request per utterance.

Valid values are "live" and "fast".

languagestringDefault: en-US

Sets the recognition language. If Scribe doesn't list a regional variant, the plugin uses the locale of its base language. For example, en-GB becomes en-US. To learn more, see supported languages .

modelstringDefault: None

Sets the Scribe recognition model. If not set, Scribe uses its default model.

language_detectionstringDefault: None

Sets the Scribe language detection mode. Live mode supports "continuous". The detected language is in the SpeechData.language field. To get the language of each final transcript with the zoom-scribe-multilingual model in Live mode, set this parameter.

silence_duration_msintegerDefault: 350

Sets the milliseconds of silence that end a turn. Live mode only. To learn more, see Turn detection.

diarizationbooleanDefault: false

Set to True to enable speaker diarization.

word_time_offsetsbooleanDefault: false

Returns word timings in the SpeechData.words field. Fast mode only.

channel_separationbooleanDefault: false

Recognizes each channel of stereo audio separately. The channel of each segment is in metadata["channel_segments"]. Fast mode only.

vocabularylist[string]Default: None

Lists words and phrases for Scribe to recognize, such as names and product terms.

text_polishingbooleanDefault: false

Uses Scribe's polished text as the transcript. The recognized text is in metadata["transcript"]. Supported for en-US only.

extra_kwargsdictDefault: None

Adds other Scribe request fields. To learn more, see Additional Scribe fields.

Turn detection

In Live mode, Scribe's own voice activity detection ends each turn after silence_duration_ms of silence (350 ms by default, tuned for voice agents). For transcription without an agent, a longer value such as 600 keeps sentences with pauses together and can improve accuracy. To learn more, see Turn detection.

Speaker diarization

You can enable speaker diarization  so the STT labels each final transcript with its speaker. When enabled, the STT reports capabilities.diarization=True, and each final transcript carries its speaker in one of two ways:

  • One speaker: the SpeechData.speaker_id field holds Scribe's speaker label.
  • Several speakers: speaker_id is empty, and metadata["speaker_segments"] lists each speaker's span.

In Fast mode, Scribe labels speakers per request, so the same person can get a different label in each utterance.

session = AgentSession(
stt=zoom_ai.STT(diarization=True),
turn_handling={"turn_detection": "stt"},
# ... llm, tts, etc.
)

In Live mode, you can use MultiSpeakerAdapter to detect the primary speaker and format the transcripts by speaker. To learn more, see Primary speaker detection.

Additional Scribe fields

The plugin options map to the Scribe API fields of the same name. For a Scribe feature without an option, pass its fields in extra_kwargs, in the same shape as the Scribe request. The plugin merges these fields into the request, and they override the matching options:

stt = zoom_ai.STT(
language_detection="continuous",
extra_kwargs={"config": {"language_detection": {"candidate_languages": ["en-US", "fr-FR"]}}},
)

Additional resources

The following resources provide more information about using Zoom Scribe with LiveKit Agents.