Skip to main content

ElevenLabs STT

Reference for ElevenLabs STT in LiveKit Inference.

Overview

LiveKit Inference offers transcription powered by ElevenLabs. Pricing information is available on the pricing page.

Model nameModel IDLanguages
Scribe V2 Realtime
elevenlabs/scribe_v2_realtime
enen-USen-GBen-AUen-CAen-INen-NZeses-ESes-MXes-ARes-COes-CLes-PEes-VEes-ECes-GTes-CUes-BOes-DOes-HNes-PYes-SVes-NIes-CRes-PAes-UYes-PRfrfr-FRfr-CAfr-BEfr-CHdede-DEde-ATde-CHitit-ITit-CHptpt-BRpt-PTplpl-PLruru-RUjaja-JPzhzh-CNzh-TWzh-HKkoko-KRarar-SAar-EGar-AEar-IQar-DZar-MAar-KWar-JOar-LBar-OMar-QAar-BHar-TNar-YEar-SYar-SDar-LYar-MRar-SOar-DJar-KMar-ERar-TDhihi-INtrtr-TRnlnl-NLnl-BEsvsv-SEidid-IDcscs-CZroro-ROhuhu-HUfifi-FIdada-DKnono-NOthth-THvivi-VNukuk-UAelel-GRhehe-ILmsms-MYsksk-SKhrhr-HRbgbg-BGsrsr-RSslsl-SIetet-EElvlv-LVltlt-LTisis-ISgaga-IEmtmt-MTcycy-GB

Usage

To use ElevenLabs, pass a descriptor with the model and language to the stt argument in your AgentSession:

from livekit.agents import AgentSession
session = AgentSession(
stt="elevenlabs/scribe_v2_realtime:en",
# ... tts, stt, vad, turn_detection, etc.
)
import { AgentSession } from '@livekit/agents';
session = new AgentSession({
stt: "elevenlabs/scribe_v2_realtime:en",
// ... tts, stt, vad, turn_detection, etc.
});

Multilingual transcription

ElevenLabs Scribe 2 Realtime supports multilingual transcription for over 90 languages with automatic language detection.

Parameters

To customize additional parameters, including the language to use, use the STT class from the inference module:

from livekit.agents import AgentSession, inference
session = AgentSession(
stt=inference.STT(
model="elevenlabs/scribe_v2_realtime",
language="en"
),
# ... tts, stt, vad, turn_detection, etc.
)
modelstringRequired

The model to use for the STT.

languagestringOptional

Language code for the transcription.

extra_kwargsdictOptional

Additional parameters to pass to the ElevenLabs STT API. For available parameters, see provider's documentation.

Additional resources

The following links provide more information about Deepgram in LiveKit Inference.