AI Text to Image

Repositories ::: repository_txttoimg
Maintained by Yedidia Klein
A repository that adds the ability to get AI generated images using the file picker in Moodle, via Moodle AI providers API.
Latest release:
338 sites
87 downloads
27 fans
Current versions available: 2

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).

Screenshots

Screenshot #0

Contributors

Yedidia Klein (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
  • Plugins bot
    Mon, 7 Nov 2022, 12:01 AM
    Approval issue created: CONTRIB-9130
  • basel fares
    Tue, 27 Dec 2022, 3:53 PM
    i get this error The source URL does not match the source key.
  • Dr. Nellie Deutsch
    Mon, 23 Jan 2023, 6:25 AM
    You need to get another source if necessary. Make sure you save the source if you have a few Moodle sites.
  • Dr. Nellie Deutsch
    Mon, 23 Jan 2023, 6:26 AM
    Thank you for creating this amazing repository, Yedidia.
  • Dr. Nellie Deutsch
    Wed, 8 Feb 2023, 9:50 PM
    I started getting Dutch or German words instead of English for well done when I asked for a Gif.
  • Yedidia Klein
    Mon, 10 Apr 2023, 3:53 PM
    The course image bug is fixed on latest version
  • Merlin Chan
    Wed, 24 Apr 2024, 2:20 PM
    We wonder if this plugin can support Azure OpenAI API ? Our school use the Azure openAI API to control the usage.
Please login to post comments