rhythmic-account-68046
09/17/2025, 12:40 PMtall-airline-16756
09/17/2025, 12:40 PMtall-airline-16756
09/17/2025, 12:41 PMELEVEN_API_KEY environment variable.
• The audio is sent in WAV format to the ElevenLabs API endpoint, using their scribe_v1 model.
• Keep in mind, transcription works on complete audio buffers — streaming input isn’t supported yet.
• This plugin is available in the Python SDK and can be easily installed via PyPI using pip install "livekit-agents[elevenlabs]~1.2".
If you’d like to dive deeper, feel free to explore the plugin repository or check out the Node.js version. I’m here if you have any questions along the way!
Sources: ElevenLabs TTS integration guide | LiveKit Docs | Agents Core Architecture | livekit/livekit_composite | DeepWiki | livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/py.ty...rhythmic-account-68046
09/17/2025, 12:43 PMtall-airline-16756
09/17/2025, 12:44 PMlanguage_code parameter, Hebrew ("he") isn’t officially documented as supported for the ElevenLabs STT model.
Here’s a Python snippet to show how you might set the language code, but please keep in mind that Hebrew may not work reliably:
from livekit.plugins import elevenlabs
import os
# Ensure your ElevenLabs API key is set
os.environ["ELEVEN_API_KEY"] = "your_api_key_here"
# Initialize the STT with attempted Hebrew language code
stt_plugin = elevenlabs.STT(language_code="he")
# Note: Hebrew language support for STT is not confirmed.
# This may default to English or fail depending on ElevenLabs API behavior.
If Hebrew transcription is important for your project, I’d recommend trying the Cartesia STT plugin, which explicitly supports Hebrew. Also, checking the latest ElevenLabs API documentation might give you the most up-to-date info on supported languages. I hope this helps, and please feel free to ask if you have any more questions!
Sources: pipeline-tts/elevenlabs_tts.py | ElevenLabs TTS integration guide | LiveKit Docs | livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/stt.py