Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

This module uses AI to automatically generate alternative text and captions for images within your content. It can process all images on a page at once or individually, and can use the surrounding text to provide more contextually relevant descriptions for better accessibility.

AIDmi - AI, Describe My Image!

CKEditor 5 AI Plugin for Image Alt Text and Captions

AIDmi integrates generative Artificial Intelligence (AI) directly into CKEditor 5 to automatically create context-aware image alt text, accessibility attributes, and visible captions. Designed for effortless Section 508 and WCAG compliance, this module is part of the official Drupal AI module ecosystem.

See AIDmi in action on YouTube! (Update coming soon for 1.1)

Why AIDmi for CKEditor & AI Image Alt Text?

Manually writing meaningful alternative text (image alt) across content-heavy sites is time-consuming. AIDmi bridges the gap between your editorial text editor and modern LLMs by placing an AI image alt text generator directly inside your CKEditor workflow.

Core Features

  • Bulk CKEditor Content Sweeps: Click the "AI, describe my image!" button on the main CKEditor toolbar to automatically scan all inline images and nested Media entities in the body field. It processes all items at once and loads them into a review queue before saving.
  • Context-Aware AI Alt Text Generation: Rather than evaluating isolated graphics, the module feeds surrounding article text to the AI model. This produces precise, context-rich image alt text and descriptions tailored to the specific narrative.
  • On-the-Fly Individual Image Edits: Use the dedicated AI action icon located directly beside the native CKEditor Alternative Text (image alt) sidebar input to generate or refresh descriptions per asset.
  • Section 508 & WCAG Visible Captions: Automatically craft visible descriptive captions. When enabled, AIDmi formats assets using clean semantic markup with <figure> and <figcaption> tags.

Integration with the Drupal AI Ecosystem

AIDmi integrates seamlessly with the Drupal AI module. By utilizing Drupal's unified AI provider plugin architecture, you can plug into OpenAI, Anthropic, Ollama, AWS Bedrock, or any supported provider to drive your image analysis and alt text workflows.

Installation & Configuration

Navigate to: Configuration > Web services > AIDmi Settings

1. Global Framework Integration

  • Drupal AI Provider & Model: Select your preferred LLM provider configured through the core Drupal AI framework.
  • Test Connection: Perform an immediate connectivity check before saving credentials.

2. Feature Customization

  • AI Prompt Instructions: Adjust the system prompt passed to the AI to fine-tune how concise or descriptive the generated image alt text should be.
  • Send Surrounding Text to AI (Context Toggle): Enable to pass body text to the model for semantic alignment, or disable to analyze the raw image asset alone.
  • Generate Image Captions: Toggle whether visible <figcaption> text should accompany the alt attribute.

Permissions

Grant the Generate AIDmi Accessibility permission to roles that require access to the AI generation tools within CKEditor.

Setup CKEditor 5 Integration

  1. Navigate to: Configuration > Content authoring > Text formats and editors (/admin/config/content/formats).
  2. Click Configure next to your target CKEditor 5 format (e.g., Full HTML or Basic HTML).
  3. Locate the "AI, describe my image!" toolbar button in the available items tray and drag it into the active CKEditor 5 toolbar row.
  4. Save the configuration.

Related Modules

Drupal 10–11

Ask your assistant about AIDmi - AI, describe my image! - CKEditor image plugin for 508 alt text and caption

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
35
Tracked since
Sep 2024
Latest release
3 months ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 10–11 Jun 24, 2026
1.1.0-rc1 Pre-release 10–11 Jun 16, 2026
1.1.0-beta1 Pre-release 10–11 Jun 9, 2026
1.1.0-alpha3 Pre-release 10–11 Jun 8, 2026
1.1.0-alpha2 Pre-release 10–11 Jun 5, 2026
1.1.0-alpha1 Pre-release 10–11 Jun 3, 2026
1.1.x-dev Dev 10–11 May 28, 2026
1.0.2 Stable 10–11 Oct 3, 2024
1.0.1 Stable 10–11 Oct 2, 2024
1.0.0 Stable 10–11 Oct 1, 2024