Gemini API provider

Maintained by Andrea Bertelli
A Moodle AI provider plugin that integrates Google's Gemini AI models into Moodle's AI subsystem. Supports text generation, image generation, and text summarization with configurable rate limiting and privacy-first design.
Price option: Free

Supports Moodle 4.5-5.1 See all versions
Latest release: 4 months ago
Installations: 590
Downloads (last 90 days): 393

Frankenstyle name: aiprovider_gemini
AI providers

Description

A Moodle AI provider that integrates Google’s Gemini and Imagen models to deliver high'quality text generation, text summarisation, and image creation directly within Moodle’s core AI framework, featuring per'action configuration for default models and endpoints (e.g., gemini-2.5-flash for text and imagen-4.0-generate-001 for images), optional system instructions for consistent behavior, and built'in site'wide and per'user rate limiting to control usage and costs; designed with privacy in mind, it avoids storing personal data and uses hashed identifiers derived from the site and user to prevent sending PII, while requests include only necessary fields such as prompt text, selected model, and relevant parameters; administrators can centrally manage API keys (Google AI Studio), limits, and defaults, teachers can leverage AI in supported contexts for drafting content, summarising readings, and generating illustrative media, and students benefit from structured, AI'assisted learning experiences where permitted; requires Moodle 4.5+ and PHP 8.0+, fetches available models from Google when an API key is present, and aligns with Moodle’s plugin documentation guidance, offering a straightforward setup, clear governance controls, and a robust, privacy'aware path to modern generative AI in education.

Contributors

Awards

Privacy friendly