AIDmi - AI, describe my image! logo
CKEditor5 toolbar showing AI, describe my image! button for content.
AIDmi example of use in ckeditor for AI alternate and context text generation with context of content
Example of graph in ckeditor content with AI created caption below
Example of graph description by AI changing based on context
A screenshot showing an AI interface for editing image alt text and captions for a presentation slide featuring DrupalCon 2026 speaker Dries Buytaert.
A comparison of two software interfaces labeled No Context and In Context, showing AI-generated alt text and captions for a resort pool image.

AIDmi - AI, describe my image!

CKEditor image plugin for Alt/Caption text generation

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

AIDmi leverages Artificial Intelligence to generate comprehensive, context-aware image accessibility text directly inside your content creation workflow. Designed to make Section 508 compliance effortless, the module automatically crafts both concise alternative text and visible descriptions.

Core Features

  • Bulk Content Sweeps: Click the "AI, describe my image!" button in the main text editor toolbar to automatically evaluate all images embedded in the body area, including inline images and nested Media objects. It loops through every item at once and loads them into a unified review queue.
  • Context-Aware AI Generation: When processing a full page, the module passes the surrounding article text along with your images to the AI. This allows the AI to understand the page layout and generate descriptions that accurately match the theme and context of your specific content. (Can be disabled in settings.)
  • On-the-Fly Individual Edits: Click the integrated AI action icon positioned directly next to the Alternative Text sidebar form on any image asset. This instantly triggers a focused AI evaluation for just that single image.
  • Section 508 Visible Captions: Fully supports visible captions. If text is entered into the caption field, the system seamlessly updates the layout to structure the asset as a proper HTML figure with a matching visible <figcaption> node. (Can be disabled in settings.)

Leveraging Drupal AI Connectors

To extend the module's capabilities, future-proof your implementation, or utilize alternative LLM providers, you can leverage the official Drupal AI module ecosystem. By utilizing Drupal's standardized AI plug-in architecture and sub-modules, you can connect your editorial workflows to an expansive matrix of model providers, allowing you to swap, test, and scale your AI accessibility engine as technology evolves.

Installation & Configuration

Go to: Configuration > Web services > AIDmi Settings

1. Global Framework Integration

  • Drupal AI Provider & Model: The module now integrates directly with the main Drupal AI module ecosystem.
  • Test Connection: Use this option to perform a live integration check immediately before saving.

2. Feature Customization

  • AI Prompt Instructions: Customize the direct foundational role guidelines and task prompts sent to the active LLM engine during processing cycles. The packaged default is optimized for parsing explicit 508 alternative text summaries.
  • Send Surrounding Text to AI (Context Toggle): When enabled, the text editor page content to the provider. This allows the model to interpret how the graphic relates to the overall narrative for more accurate description strings. Disabling this forwards the raw image asset alone.
  • Generate Image Captions: Toggle whether the AI should output visible contextual image data in addition to core alternative attributes.

Permissions

Drupal permissions are needed to use this module by any non administrative users. "Generate AIDmi Accessibility"

Setup Editor Integration

  1. Navigate to: Configuration > Content authoring > Text formats and editors
    /admin/config/content/formats
  2. Click Configure next to your chosen CKEditor5 text format (e.g., Full HTML or Basic HTML).
  3. Drag the "AI, describe my image!" icon from the available buttons panel down into the active toolbar layout row.
  4. Save the configuration form.

Project information

Releases