Alt Text Generator Module – Installation & User Guide
Description
Alt Text Generator extension for Adobe Commerce automatically generates alt text for
product images using AI. This helps improve accessibility, SEO, and user experience by
providing meaningful descriptions for product images. The extension supports 10
languages and integrates with external AI services for high-quality alt text generation.
Installation
Manual Installation
1. Download the module files
2. Extract and copy the module files to `app/code/Bryam/AltTextGenerator/` directory
3. Run the following commands in your Magento root directory:
Please run these commands to enable the module:
bin/magento module:enable Bryam_AltTextGenerator
bin/magento setup:upgrade
bin/magento cache:flush
Composer Installation (Recommended)
If you obtained the module from Adobe Commerce Marketplace, you can install it as a
composer package:
composer require bryam/alttextgenerator
bin/magento module:enable Bryam_AltTextGenerator
bin/magento setup:upgrade
bin/magento cache:flush
Setup and Configuration
1. Access Configuration Panel
- From your Magento admin, go to Stores > Configuration > Extensions > AltText
Generator Configuration
2. API Setup
- Set "Enable AltText Generation" to "Yes"
- Enter your API key from the alt text generation service
- Select your preferred language for alt text generation (supports 10 languages)
- View your remaining API credits in the "Credits Remaining" field
3. Generation Settings
- Generate on Image Upload: Automatically generate alt text when images are
uploaded
- Generate on Product Save: Automatically generate alt text when products are saved
Language Support
The extension supports the following languages:
- English, Spanish, French, German, Italian
- Portuguese, Dutch, Russian, Japanese, Chinese
How It Works
Automatic Generation
The extension automatically generates alt text for product images in the following
scenarios:
1. New Product Creation: When creating a new product with images
2. Product Update*: When updating existing products with new images
3. Image Upload: When uploading images to the media gallery
Manual Generation
For existing products without alt text:
1. Edit a product in the admin panel
2. Go to the "Images" section
3. Save the product - the extension will automatically generate alt text for images
without labels
API Integration
The extension integrates with external AI services to generate high-quality alt text
descriptions. The API supports:
- Image analysis via URL or base64 encoded data
- Multi-language support
- Credit-based usage tracking
System Requirements
- Adobe Commerce 2.4.x or Magento Open Source 2.4.x
- PHP 7.4 or higher
- Valid API key for alt text generation service
Uninstalling
To completely remove the extension and all its data:
bin/magento module:disable Bryam_AltTextGenerator
bin/magento setup:upgrade
bin/magento cache:clean
Then manually delete the module files from `app/code/Bryam/AltTextGenerator/`