What is this feature for?
You can generate images directly in Dokeos, without using another tool or looking for an image elsewhere: covers for your courses and learning paths, the portal background, and images for your modules created with the Authoring tool.
Available to trainers and administrators, when the AI option is enabled on the portal.
Where can I generate an image?
The "Generate with AI" button (sparkles icon) is offered in the following places:
Courses and learning paths: in the "Choose your cover" window, Generate with AI tab (see below).
Authoring tool, module cover: at the top of the module, next to the "Add a cover" button.
Authoring tool, Image block: in an empty Image block, next to the "Choose an image" button.
Administration, cover images: "Generate with AI" button at the top of the page. Generated images are marked there with a "Generated by AI" badge.
Portal customization: "Generate with AI" button on the portal background (when you use an image).
Generation works the same way everywhere (description, style, colors, regeneration) and is detailed below.
Generate a course or learning path cover image
The image you choose to keep as the cover is automatically added to the portal image library: it becomes visible to everyone. Administrators find it in the Cover images tab of the administration, and trainers find it in the Covers tab when choosing the image of a course or learning path.
On the edit page of a course or learning path (or when creating it), click the cover image. The "Choose your cover" window opens. It contains two tabs:
Covers: the existing portal image library;
Generate with AI: the new feature.
Click the Generate with AI tab (1).
Generate an image, step by step
1. Describe the image
In the Describe the image field (1), explain in one or two sentences what you want to see. Example: "An image of road signage on a highway".
If you lack inspiration, click Improve (2): the AI rephrases and enriches your description to get a better result.
Good to know: generation works best for illustrations without text. Text embedded in generated images is often unreadable. Add your titles and captions directly in your course instead.
2. Choose a style
Select the look you want (3):
2D render
Photo
3D render
Line drawing
3. Choose the colors
Select the color mood (4):
Vivid
Pastel
Muted
Black and white
4. Start the generation
Click Generate (5).
Generation usually takes 5 to 20 seconds. You can leave the window open: the image appears in the area on the right as soon as it is ready.
Not happy with the result?
Once the image is generated (1), you can:
click Regenerate (2) to get a new version from the same description;
click Edit prompt (3) to adjust your description and specify what you want;
change the style and color options, then click Generate again.
For a course or learning path cover, a blue frame on the image shows the area that will be used: adjust it if needed. In the Authoring tool, the image is not cropped in this window: cropping is done afterwards in the Authoring tool.
Use the image
When you are happy with the result, click Insert image.
For a course or learning path, it becomes the cover and is added to the portal image library. In the Authoring tool, it is inserted in the module, where you clicked "Generate with AI" (cover or Image block).
Keep in mind: only the image you insert is kept. Images that are generated and then abandoned are not saved.
Frequently asked questions
I can't see the "Generate with AI" button. Why?
Image generation is reserved for trainers and administrators, and only appears if the AI option is enabled on your portal. Contact your Dokeos project manager or support if the button is missing although you think you are entitled to it.
Can I generate images for something other than covers?
Yes: in the Authoring tool (module cover and Image blocks), in the cover images administration and on the portal background.
Can other trainers and administrators see my image?
For a course or learning path cover, yes: once inserted, it joins the portal image library and becomes visible to everyone (Cover images tab for administrators, Covers tab for trainers).
Why is the text in my image unreadable?
AI-generated images handle text poorly. Describe an illustration without text and add your titles directly in the course.
How long does generation take?
Usually between 5 and 20 seconds.




