A collection of media-related AI extensions for Directus.
Overview
The Media AI Bundle is a collection of media-related AI extensions for Directus, designed to enhance the file library in your next project. It includes features such as describing images, extracting text from images, and more.
Features
- Operations: Allows you to describe the contents of an image in text form, useful for creating alt-texts or captions. It supports two APIs - AltText.ai and Amazon Rekognition, each with different formats for the returned description.
- Setup: Provides step-by-step instructions for installing the Media AI Bundle, including code snippets for installation and setting up API keys for the desired services.
- Roadmap: Outlines future plans for the extension, including adding support for video, other APIs like Azure Vision AI, additional operations or extensions, and more configuration options.
Installation
- Run the following command to install the Media AI Bundle:
pnpm install directus-extension-media-ai-bundle - Alternatively, you can download the release and place it in your extensions/ folder.
- Next, you need to provide API keys for the services you want to use. For AltText.ai, set the
ALTTEXT_AI_API_KEY variable with your API key. For Amazon Rekognition, set the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION variables with your respective credentials.
Summary
The Media AI Bundle is a collection of AI extensions for Directus that can enhance your media file library. It offers features like image description generation, text extraction from images, and more. Follow the installation guide to add the bundle to your Directus project and utilize the available AI APIs.