Google Gemini
Generate AI responses and images with Google Gemini. Chat, content generation, analysis, reasoning, and AI image generation. BYOK — bring your own Google AI API key.
setup_integration or the Dashboard Vault — they're encrypted
with AES-256-GCM and never exposed.
Required Credentials
Get your API key at ai.google.dev →
Endpoints (3)
Generate content with Gemini. Send a text prompt and receive an AI response. Default model: gemini-2.0-flash.
| Field | Type | Required | Description |
|---|---|---|---|
model |
string | ✓ Yes | Gemini model: "gemini-2.0-flash" (fast), "gemini-2.5-pro" (capable), "gemini-2.5-flash" (balanced). |
contents |
array | ✓ Yes | Conversation contents. Example: [{"parts": [{"text": "Explain quantum computing"}]}]. |
Generate images from text prompts using Gemini image models. Returns inline image data. Replaces the deprecated Imagen 3 integration. Models: "gemini-2.5-flash-image" (fast, recommended), "gemini-3-pro-image-preview" (high quality). Send your prompt in contents and set generationConfig.responseModalities to ["IMAGE"].
| Field | Type | Required | Description |
|---|---|---|---|
model |
string | No | Image-capable Gemini model. Default: "gemini-2.5-flash-image". Alternative: "gemini-3-pro-image-preview" (higher quality, slower). Do NOT use imagen-3.0 models (shut down). |
contents |
array | ✓ Yes | Prompt as contents array. Example: [{"parts": [{"text": "A professional blog header showing a modern Dutch office with warm lighting"}]}]. |
generationConfig |
object | No | Generation settings. MUST include responseModalities: ["IMAGE"] for image output. Optional: aspectRatio ("1:1","3:4","4:3","9:16","16:9"), numberOfImages (1-4). |
List available Gemini models with their capabilities, input/output token limits, and supported methods.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| generate-content | gemini_generate_content |
| generate-image | gemini_generate_image |
| list-models | gemini_list_models |
Website