anyone tryied TTS MODEL = "models/gemini-2.5-flash...
# ask-ai
c
anyone tryied TTS MODEL = "models/gemini-2.5-flash-native-audio-preview-09-2025" ?
t
Thanks for reaching out, Filippo. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to share that the TTS model "models/gemini-2.5-flash-native-audio-preview-09-2025" is fully supported and works great within a RealtimeModel configuration. It comes with some wonderful features like proactivity and affective dialog to enhance your experience. Here's a simple example to help you get started:
Copy code
session = AgentSession(
    llm=google.beta.realtime.RealtimeModel(
        model="gemini-2.5-flash-native-audio-preview-09-2025",
        proactivity=True,
        enable_affective_dialog=True
    ),
    vad=silero.VAD.load()
)
If you have any questions or want to explore its capabilities further, please don’t hesitate to ask—I’m here to help! Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/gemini_t... | realtime/gemini_live_vision.py
c
on llm only TTS
t
Thank you for your question! Could you please help me understand a bit better what you mean by "on llm only TTS"? Are you wondering if the model supports just text-to-speech functionality, or is it about a particular setup or feature? I’m here to help you with whatever you need!
c
no need of replace my llm node, just want to try a TTS with google live
t
Great news! You can definitely use Google TTS without having to replace your existing LLM node. Here are two friendly options for you to consider: • Google Cloud TTS: This one supports streaming synthesis, which is perfect for real-time applications. Here’s a simple example:
Copy code
from livekit.agents import Agent
from livekit.plugins.google import TTS as GoogleCloudTTS
from livekit.plugins.openai import LLM as OpenAILLM

agent = Agent(
    llm=OpenAILLM(),  # Keep your existing LLM
    tts=GoogleCloudTTS(
        language="en-US",
        voice_name="en-US-Chirp3-HD-Charon",
        use_streaming=True
    )
)
• Gemini TTS: This option offers really high-quality synthesis, though it doesn’t support streaming. Here’s how you can set it up:
Copy code
from livekit.agents import Agent
from livekit.plugins.google.beta import TTS as GeminiTTS

agent = Agent(
    llm=OpenAILLM(),  # Keep your existing LLM
    tts=GeminiTTS(
        model="gemini-2.5-flash-preview-tts",
        voice_name="Kore",
        instructions="Say the text with a proper tone"
    )
)
If you’d like, I’m here to help you get this set up or to chat about any specific needs you might have. Just let me know! Sources: livekit-plugins/livekit-plugins-google/README.md | examples/src/comprehensive_test.ts | Google Cloud TTS integration guide | LiveKit Docs | Gemini TTS plugin guide | LiveKit Docs | docs/index.yaml