Exploring the Magic Mirror: an interactive experience powered by the Gemini models- Google Developers Blog
May 28, 2025Paul Ruiz

Summary
This post details the 'Magic Mirror' project, an interactive experience powered by the Gemini models and the JavaScript GenAI SDK. It highlights the use of the Gemini API's Live API for real-time, bidirectional audio streaming and conversational interactions, including interruption handling. It also showcases the application of Function Calling for integrating external tools like image generation, grounding with Google Search for factual information retrieval, system instructions for shaping AI tone, speech configuration for voice customization, and modality control for output flexibility (text, audio, etc.). The post provides links to the project's code on GitHub and a tutorial on Hackster.io.
More from the Predictive APIs and Machine Learning Integration trail
- Expanding Choice in Gemini Enterprise Agent Platform: Introducing Grounding with Parallel Web Search- Google Developers Blog
- Evolving Spec-Driven Development: Conductor Now Supports Antigravity- Google Developers Blog
- Building scalable AI agents with modular prompt transpilation- Google Developers Blog
- LiteRT.js, Google's high performance Web AI Inference- Google Developers Blog
- Gemma 4 12B: The Developer Guide- Google Developers Blog