Overview
Google Generative AI provides access to Google’s powerful Gemini family of models through the Google AI Studio API. These models offer advanced language understanding, multi-modal capabilities, and high-quality text generation.Configuration
To use Google Generative AI, configure it in the Plugin settings page under theAI Gateway section:
Then set the default language model (or configure it per-plugin):
Supported Models
Language Models:- gemini-2.5-pro
- gemini-2.5-flash (recommended)
- gemini-2.5-flash-lite
- gemini-2.0-flash
- gemini-1.5-pro
- gemini-1.5-flash
- gemini-1.5-flash-8b
- gemma-3-27b-it
- gemini-embedding-001
- text-embedding-004
Getting an API Key
To obtain a Google Generative AI API key:- Visit Google AI Studio
- Sign in with your Google account
- Click on “Get API Key” in the left sidebar
- Create a new API key or use an existing one
- Copy the API key and add it to your configuration
Notes
- Google Generative AI does not currently support re-ranking models