AI Live
This template features a live connection to Gemini. The AI management is handled by GeminiManager.js, which creates a live session and handles events. It requires an API key to work.
Set Up Your API Key
To get started, you'll need a Gemini API key. You can create one for free at Google AI Studio.
How to Use Your Key
To use the demo, you can add your API key to the input box below.
During local development, one can add API key as a URL param:
?key=YOUR_API_KEY_HERE
For deployment, please set up a proper server and avoid exposing API keys externally.
main.js
GeminiManager.js