creamy-tiger-14805
10/16/2025, 12:36 PMtall-airline-16756
10/16/2025, 12:36 PMtall-airline-16756
10/16/2025, 12:38 PMAgentSession to take care of the speech synthesis part.
Here’s a friendly example in Python to guide you:
from livekit.agents import AgentSession
from livekit.plugins import google, elevenlabs
# Configure Gemini Live API for text-only responses
gemini_model = google.beta.RealtimeModel(
model="gemini-2.0-flash-live-001",
modalities=["TEXT"], # Text-only output
voice=None, # Disable Gemini's built-in TTS
)
# Configure ElevenLabs TTS
elevenlabs_tts = elevenlabs.TTS(
model="eleven_flash_v2_5",
voice_id="EXAVITQu4vr4xnSDxMaL", # Default voice
)
# Combine in AgentSession
session = AgentSession(
model=gemini_model,
tts=elevenlabs_tts,
)
With ElevenLabs, you also have the flexibility to customize voices, stability, and latency settings to fit your needs. If you’d like, I’m here to help walk you through those options or assist with any part of the setup. Just let me know!
Sources: ElevenLabs TTS plugin guide | LiveKit Docs | livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.p... | Gemini Live API plugin | LiveKit Docs | ElevenLabs TTS | LiveKit Docs | pipeline-tts/tts_comparison/README.mdcreamy-tiger-14805
10/16/2025, 12:40 PMtall-airline-16756
10/16/2025, 12:41 PMwhisper-large-v3, supporting multiple languages to make your experience smooth.
• Text-to-Speech (TTS): Experience high-speed TTS in English and Arabic using playai-tts, perfect for diverse needs.
• Large Language Models (LLM): Benefit from fast inference with open models like gpt-oss-120b.
To get started with Groq integration, you can easily install the plugin by running:
pip install livekit-plugins-groq
Just make sure you have a Groq Cloud account and set your GROQ_API_KEY as an environment variable. If you’d like, I’m here to guide you through the setup process—just let me know!
Sources: Groq STT plugin guide | LiveKit Docs | Groq and LiveKit | LiveKit Docs | livekit-plugins/livekit-plugins-groq/livekit/plugins/groq/py.typedcreamy-tiger-14805
10/16/2025, 12:42 PMGPT OSS 20B 128k as my llm only?tall-airline-16756
10/16/2025, 12:43 PMGPT OSS 20B as your LLM in LiveKit! Just follow these simple steps:
1. First, install the Groq plugin:
pip install livekit-plugins-groq
1. Next, set your Groq API key:
export GROQ_API_KEY=your_api_key_here
1. Then, initialize the LLM in your agent code like this:
from livekit.plugins import groq
llm = groq.LLM(model="openai/gpt-oss-20b")
If you prefer, you can also use Baseten:
from livekit.plugins import baseten
llm = baseten.LLM(model="openai/gpt-oss-20b")
Just a quick note: while GPT OSS 20B is supported, the 128k context length isn’t fully confirmed yet. If having that 128k context length is super important for your project, you might want to try a model like Perplexity's sonar-large-128k, which explicitly supports it. Please feel free to reach out if you'd like help testing context length or if you want to explore switching to a high-context model—I’m here to assist you every step of the way!
Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/llm.py | OpenAI LLM models | LiveKit Docs | Build voice, video, and physical AI | LiveKit | Baseten LLM plugin guide | LiveKit Docscreamy-tiger-14805
10/16/2025, 12:44 PMtall-airline-16756
10/16/2025, 12:45 PM