Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This project adds AI-powered image description and classification to Drupal media. When you upload an image, it can automatically generate alt text, a free-text description, and relevant tags drawn from a taxonomy vocabulary. This enhances media discoverability and reduces manual content maintenance.

What it does

Adds AI-powered image description and classification capabilities to Drupal media.

With this recipe, your Drupal site gains automatic image understanding: when you upload a media image, the system can generate:

  • Alt text via the “Generate Alt Text” action

  • Image description (free-text)

  • Image tags drawn from a taxonomy vocabulary

All of this is wired into the media/image bundle, so it works out-of-the-box once the recipe is applied.

Why it matters

Drupal currently lacks built-in AI-based image classification, which limits media discoverability, search, and automation. This recipe helps close that gap by:

  • Enabling richer metadata on images without manual editing

  • Supporting future AI features (e.g. RAG-based image retrieval)

  • Reducing the burden of content maintenance

It’s a foundational building block for more advanced media/AI workflows.

How it works (internals)

When applied, the recipe configures:

  • A new taxonomy vocabulary dedicated to image classification

  • A description field added to the media/image bundle

  • A taxonomy reference field for classification tags

  • Field widget actions on media/image to invoke alt-text generation

  • Automators so that descriptions and tags are populated after saving

On upload or editing, once you generate alt text and save, the description and tags are automatically filled. 

Requirements & compatibility

How to get started

  1. Install this recipe into your recipes/ directory using Composer 

  2. Configure an AI provider that supports Chat with Image Vision

  3. Run drush recipe ../recipes/ai_recipe_image_classification

  4. Upload or edit a media image, click “Generate Alt Text,” and save

After saving the description and tags are filled out automatically.

Supporting organization


1xINTERNET is a full-service digital agency focusing on robust and innovative digital solutions based on Drupal. As a Gold Certified Drupal Partner, a founding member of the Drupal AI Initiative, and active community contributor, 1xINTERNET supports clients throughout their digital transformation journey.

Activity

Total releases
3
First release
Oct 2025
Latest release
5 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.1.0 Stable Feb 12, 2026
1.x-dev Dev Oct 8, 2025
1.0.0 Stable Oct 8, 2025