This module integrates Google's Gemini API with Drupal, allowing you to leverage advanced AI capabilities like text generation, image creation, and speech processing. It supports various operations including chat, embeddings, text-to-image, text-to-speech, and speech-to-text, all configurable and trackable through the AI module.
Integrate Google's Gemini API with Drupal through the AI module. This provider brings the full power of Google's Gemini models to your Drupal site - from chat and embeddings to image generation, speech synthesis, and more.
Supported Operations
- Chat — Text generation and conversation with streaming support. Compatible with the Gemini chat models available to your API key.
- Embeddings — Generate vector embeddings from text and images for semantic search and RAG pipelines.
- Text-to-Image — Generate images from text prompts using Gemini's native image generation with configurable aspect ratios.
- Text-to-Speech — Convert text to natural-sounding audio with multiple voice presets (Kore, Puck, Charon, Fenrir, Aoede, and more).
- Speech-to-Text — Transcribe audio files to text with language detection support.
- Structured Output — Get responses in structured JSON format using schema definitions.
- Tools / Function Calling — Let Gemini models call your custom functions for agentic workflows.
Key Features
- Capability declaration for seamless integration with the AI module's provider system
- Token usage tracking for chat
- Streamed chat responses for real-time output
- Configurable generation parameters (temperature, top-p, top-k, max tokens, stop sequences)
Ask your assistant about Gemini Provider
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.0 | Stable | 10–11 | Sep 29, 2026 | ||
| 1.1.0-beta1 | Pre-release | 10–11 | Sep 22, 2026 | ||
| 1.0.1 | Stable | 10–11 | Mar 22, 2026 | ||
| 1.0.1-rc1 | Pre-release | 10–11 | Mar 4, 2026 | ||
| 1.0.0-rc1 | Pre-release | 10–11 | Mar 4, 2026 | ||
| 1.0.1-beta1 | Pre-release | 10–11 | Aug 27, 2025 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Feb 13, 2025 | ||
| 1.0.0-alpha4 | Pre-release | 10–11 | Sep 19, 2024 | ||
| 1.x-dev | Dev | 10–11 | Aug 30, 2024 | ||
| 1.0.0-alpha3 | Pre-release | 10–11 | Aug 7, 2024 |