Master the terms behind Gemini's real-time, bidirectional Live API.
0 / 5 completed
1 / 5
At standup, a dev wants bidirectional voice conversation with Gemini in real time. Which API fits?
The Gemini Live API supports low-latency, bidirectional streaming of audio, video, and text over a persistent connection. It is built for real-time, voice-first interactions rather than single request/response calls. This is distinct from the standard generateContent endpoint.
2 / 5
During a design review, the team needs to interrupt the model mid-response when the user starts speaking. Which Live API feature supports this?
The Live API includes voice activity detection that detects when the user starts speaking and lets the session interrupt (barge in on) the model's ongoing response. This mirrors natural conversational turn-taking. Without it, the model would talk over the user.
3 / 5
In a code review, a dev opens a persistent connection to the Live API. What transport does it use?
The Live API is accessed through a WebSocket session that stays open for the duration of the interaction, streaming audio/video chunks both ways. This persistent channel is what enables real-time turn-taking. Standard REST calls are unsuitable for this streaming use case.
4 / 5
An incident report shows the model kept responding in text when the app expected spoken audio. What config was likely missing?
The Live API requires specifying the desired response modality (e.g., audio vs text) in the session config. Omitting or misconfiguring it causes the model to default to the wrong output type. Setting modality correctly is a common first troubleshooting step.
5 / 5
During a PR review, a teammate wants the model to call a function mid-conversation without breaking the audio stream. What does the Live API support?
The Live API supports function calling inside an ongoing streaming session, so the model can invoke tools while the audio conversation continues. Results are fed back without tearing down the connection. This enables voice agents that can take real actions.