This module makes AI-generated image descriptions and tags searchable by creating a Search API index using your Drupal database. It allows you to easily find images based on their AI-generated content and existing image properties.
Takes the AI Image Classification recipe and makes its results searchable by building a Search API index, backed by your Drupal database.
What it does
The AI Image Classification recipe enriches image media with AI-generated metadata - an image description, alt text, and taxonomy tags. On its own, that metadata sits on the media entities but is not easy to search.
This recipe adds the missing piece: it applies the image classification recipe and then creates a Search API server and index that expose those AI-generated fields (plus the image's own properties) as a searchable index. Indexing happens automatically as content is created and updated.
Designed to pair with an agent. This recipe is primarily a building block for an AI Agent recipe that depends on it - the agent searches this index to find relevant images. That said, the index is a standard Search API index, so it is fully usable on its own (for Views, custom search pages, or any other Search API consumer) without any agent.What gets installed
- The AI Image Classification recipe (applied as a dependency).
search_apiandsearch_api_db— Search API and its database backend.automated_cron— so content still gets indexed even when no system cron job is configured (indexing runs during cron).
Using it on its own
- Apply the recipe.
- Make sure your images have been classified (the classification recipe generates descriptions and tags).
- Let cron run, or index manually with
drush search-api:index image_database_index. - Build a View on the Image Database Index, or query the index from your own code, to search and filter images by their AI description, tags, alt text, and more.
Requirements
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.
More in the AI ecosystem
Most installed first