```{"level": "INFO", "name": "providers.realtime.g...
# ask-ai
a
Copy code
{"level": "INFO", "name": "providers.realtime.google_realtime", "message": "Creating Google Realtime: {'model': 'gemini-2.5-flash-native-audio-preview-09-2025', 'modalities': ['TEXT'], 'input_audio_transcription': AudioTranscriptionConfig()}", "timestamp": "2025-12-13T06:03:52.682225
+00:00"}
no -audio conent
t
Thanks for reaching out, Parth. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I see the log shows
modalities: ['TEXT']
, which explains why there's no audio output. To get audio responses: • Configure the Realtime model to include AUDIO, e.g.
modalities=["TEXT","AUDIO"]
. • Keep the model
gemini-2.5-flash-native-audio-preview-09-2025
(it supports native audio), but ensure your initialization includes the AUDIO modality and that any other code/path doesn't overwrite modalities. Could you share the code snippet you use to create the Realtime model (or confirm where modalities are set)? I’ll point out the exact change to enable audio. Sources: Gemini Live API plugin | LiveKit docs
a
i want to add azure tts and stt llm as gemini 2.5 flash model
t
Thanks — you're looking to use Azure TTS and STT together with Gemini 2.5 Flash. I can help set that up. Quick clarifying questions so I give the exact config and code: 1. Do you want to use Azure OpenAI (Azure OpenAI Speech) or Azure Speech (Microsoft Speech service) for TTS/STT? 2. Are you implementing this in Python or Node.js? 3. Do you want real-time audio (RealtimeModel / live audio) or an offline pipeline (record → STT → LLM → TTS)? Answer those and I’ll provide the exact AgentSession/RealtimeModel configuration and sample code to enable Azure STT/TTS with Gemini 2.5 Flash. Sources: Azure AI Services and LiveKit | LiveKit Docs | Google Gemini LLM | LiveKit Docs | Azure OpenAI Realtime API and LiveKit | LiveKit docs | Azure Speech STT plugin guide | LiveKit Docs | Azure Speech TTS plugin guide | LiveKit Docs