Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Part of the AI ecosystem · 343 projects

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.

Ask your assistant about Ai Recipe Image Classification

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

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
4
Tracked since
Oct 2025
Latest release
4 weeks ago
Releases (12 mo)
2
Maintenance
Active

Release Timeline

Releases

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