The AI Image repository allows you to generate an image from a text prompt, or to edit an existing image using a text prompt. As a repository plugin it is accessed from the repositories via the HTML editor "insert image" dialog. Or via the Moodle file manager.
| HTML Editor | File Manager |
![]() | ![]() |
From the list of repositories choose "AI Image."

To Generate an Image
- Enter an image description in the "Enter a prompt" field. The prompt should describe the picture in as much detail as possible.
- Choose an image type from the list of options in the dropdown field.
- Select "Make Image"
- Wait while the image is generated. There will be a small spinner beneach the make image button.
- Finally when the image is created, tap/click it.
- Alter the name and other metadata and press "Select this File" to add it to the files area/editor
| 1.2.3 Enter details and press make image | 4. Wait while the image is generated |
![]() | ![]() |
| 5. When the image is ready, tap/click it | 6. Edit metadata and press "Select this File" |
![]() | |
To Modify an Existing Image
You can use text prompts to request AI edit an existing image using the AI Image repository.
Requirements for image editing
- At the time of writing to edit existing images you must be using Gemini provider or Poodll.
- There must be images in the files area to edit.
- There must be fewer than the maximum number of files in the files area.
This is a known limitation of the plugin in the Moodle repository system. If the files area contains the maximum number of files allowed already, there will be no "+" icon on the repository, so repositories will not be available. In this case, if possible, increase the allowable number of files in the activity that hosts the file manager / editor.
The process for modifying an existing image
- Select an existing image
- Enter a description of the changes you wish to make in the "Enter a prompt" field.
- Select "Make Image"
- Wait while the image is generated. There will be a small spinner beneath the make image button.
- Finally when the image is created, tap/click it.
- Alter the name and other metadata and press "Select this File" to add it to the files area/editor
- Choose to overwrite or save with a different name
| 1.2.3 Select image, enter instructions and "Make Image" | 4. Wait while the image is generated |
![]() | ![]() |
| 5. When the image is ready, tap/click it | 6. Edit metadata and press "Select this File" |
![]() | ![]() |
| 7. Choose to overwrite (or save with new name) | |
![]() |









