Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.6 Update released for Drupal core (2.1.6)! Release: Webform 6.3.1 Minor update available for module webform (6.3.1). Release: Webform 6.2.12 Minor update available for module webform (6.2.12). Release: Entity Usage 5.0.1 Minor update available for module entity_usage (5.0.1). Release: Editoria11y Accessibility Checker 3.0.9 Minor update available for module editoria11y (3.0.9). Release: Editoria11y Accessibility Checker 2.2.23 Minor update available for module editoria11y (2.2.23). Release: Project Browser 2.0.3 Minor update available for module project_browser (2.0.3). Release: Project Browser 2.1.5 Minor update available for module project_browser (2.1.5). Module Revived: Focal Point 2.1.3 Module focal_point updated after 22 months of inactivity (2.1.3). Usage Milestone: Drupal Mega Menu Module we_megamenu crossed 1,000 active installs.

AI Image

No security coverage

Part of the AI ecosystem · 310 projects

View on drupal.org

AI Image adds an image-generation button to Drupal’s CKEditor 5. It uses the
Drupal AI framework, so it does
not call model APIs or store provider credentials itself.

Use any configured Drupal AI provider that supports the
text_to_image operation. AI Image sends the prompt through Drupal
AI, saves the returned image as a permanent file, and inserts it into the
editor with accessible alt text.

Requirements

  • Drupal 10.5+ or 11.2+
  • CKEditor 5
  • AI 1.4+
  • A configured AI provider that supports text_to_image

Provider credentials are configured by the provider module, commonly with
the Key module.

Installation and configuration

  1. Install and configure Drupal AI and a compatible text-to-image provider.
  2. Configure a default text_to_image model in Drupal AI, or select a model for each text format.
  3. Enable AI Image for the text format’s CKEditor 5 configuration and add the AI Image toolbar button.
  4. Grant Generate AI images only to trusted content editors.

The module includes configurable per-user generation limits to help control
provider costs, a progress indicator, and browser-side cancellation.

Important: AI Image 2.x is a rewrite

AI Image 2.x is not backward compatible with the legacy 1.x module. It does
not migrate legacy configuration, direct OpenAI or Stable Diffusion connections,
routes, or JavaScript APIs.

Do not enable legacy and 2.x code together: they use the same machine name.
The legacy code line is unsupported.

Release status

2.0.0-alpha1 is the first testing release of the rewritten module. It has
been verified end-to-end with Drupal AI and OpenAI image generation. Please
report issues through the project issue queue.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Sep 2026
Latest release
3 hours ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.0-alpha2 Pre-release 10–11 Sep 23, 2026
2.0.x-dev Dev 10–11 Sep 23, 2026
2.0.0-alpha1 Pre-release 10–11 Sep 23, 2026