Live API Web Console is a React starter that demonstrates how to use Gemini’s Live API over WebSockets to build real-time, multimodal experiences. The app includes modules for streaming audio playback, recording user media from the microphone, webcam, or even screen capture, and it surfaces a unified event log so you can debug the session as it flows. Configuration lives in a simple .env file and the project boots with standard web tooling, letting you experiment quickly with models, system prompts, and tool declarations. It ships with demo branches that show grounded search, function calling, and visualization—one example has the model calling a function that renders Vega/Altair graphs directly in the UI. Under the hood there’s an event-emitting WebSocket client, an audio in/out processing layer, and a minimal scaffolded view so you can focus on your app logic rather than wiring.
Features
- React starter for Gemini Live API over WebSockets
- Built-in modules for mic, webcam, and screen capture plus audio streaming
- Unified log panel to inspect events, tool calls, and messages
- Example demos for grounding, function calls, and data visualization
- Simple configuration via environment variables and ready-to-run scripts
- Event-driven client and audio pipeline you can reuse in your own UI