Moodle Plugins directory: AI Text to Image | Moodle.org
AI Text to Image
This repository plugin connects directly to Moodle’s core AI subsystem (supporting image generation providers such as OpenAI, Google Gemini, and others) and brings AI-generated images right into the native Moodle File Picker.
Fixes a Major Core Limitation
Out of the box, Moodle's native AI subsystem only allows users to generate images within rich text (TinyMCE) editor areas. This plugin bridges that gap. By embedding AI generation directly into the File Picker, it allows users to integrate AI-generated images into any part of the system that handles standard file uploads.
Common Use Cases:
-
File Modules: Add AI-generated graphics or diagrams directly as standalone file resources in courses.
-
Course Formats: Easily populate section images or course banners in formats that rely on visual file configurations.
-
Course Assets: Use them in labels, page icons, block assets, and much more.
Prerequisites
To use this plugin, you must have an active image-generation capable AI Provider (e.g., OpenAI, Gemini API Provider) configured and enabled within your Moodle site administration settings (Site administration > Plugins > AI providers).
Comments