Capabilities/aiplacement/editor:generate image
From MoodleDocs
This capability allows a user to create AI generated images from a button in the text editor.
This capability is allowed for the default roles of Manager, Teacher, Non-editing teacher and Student.