Skip to main content

AI

This template features AI functionality powered by Google's Gemini model and requires an API key to work, with AI queries managed by GeminiQueryManager.js.

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

GeminiQueryManager.js