Introduction 

What does it do? 

The AI Tools extension provides automatic generation of ALT and title texts for images using the OpenAI ChatGPT API. This helps improve website accessibility by ensuring all images have meaningful alternative texts.

How It Works 

Unlike most TYPO3 extensions that generate ALT and title texts for sys_file_reference records, this extension sets the metadata directly on the sys_file record.

This approach has several advantages:

  • One-time generation – Each image only needs to be processed once, regardless of how many times it's used across your website
  • Consistent texts – The same image always has the same ALT and title text, ensuring consistency
  • Lower API costs – No redundant API calls for the same image used in multiple places
  • Automatic inheritance – All sys_file_reference records automatically inherit the texts from the parent sys_file
  • Centralized management – Edit the text once, and it updates everywhere the image is used

Key Features 

  • AI-powered text generation: Uses OpenAI's GPT-4 Vision API to analyze images and generate appropriate ALT and title texts
  • Multi-language support: Generate texts in multiple languages based on your site configuration
  • Backend module: Dedicated backend module in the File section for managing image metadata
  • Bulk processing: Process multiple images at once with progress tracking
  • Per-language control: Enable or disable AI text generation for specific languages via site configuration
  • Auto-generation: Optionally auto-generate texts when file references are saved
  • Customizable prompts: Configure the AI prompt template to match your requirements

Screenshots 

Batch Processing 

You can process all files in the fileadmin in a batch:

Batch processing of images

Process multiple images at once with progress tracking.

Manual Editing 

You can always manually change the texts and also use the backend module without an OpenAI account or ChatGPT key:

Manual editing of texts

Edit ALT and title texts manually in the backend module.

Language Switching 

All translations at one place:

Switching between languages

Switch between languages using the dropdown selector.

Disable Languages 

Languages can be excluded from the AI translation in the site configuration:

Disabling languages for AI translation

Configure which languages should use AI text generation.

Auto-Generation 

The sysFile texts are generated during save (can be disabled in the Extension Manager) but can be overridden individually for every sysFileReference:

Auto-generation of texts

Automatic text generation on save with individual override options.

Requirements 

  • TYPO3 12.4 LTS
  • PHP 8.1 or higher
  • OpenAI API key with access to GPT-4 Vision models
  • nnhelpers extension (for database utilities)

Support This Project 

If you find this extension useful, please consider supporting its development:

Your support helps us maintain and improve this extension.

Privacy Notice