Skip to content
codegrainPublic

About

Automatically generate AI-powered Alt text for Craft CMS

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

Altomatic icon

Altomatic for Craft CMS

AI-powered Alt text generation for Craft CMS 5 using OpenAI, Google Vision, AWS Rekognition, or Azure Vision. Automatically generates accessible Alt text and saves it to the native Asset → Alternative Text field.

Key Features

  • Generate Alt text for all images or selected assets
  • Works with OpenAI, Google Vision, AWS Rekognition, and Azure Vision
  • View stats and recent activity in the dashboard
  • Processes images in the background using queues
  • Control which users can generate Alt text

Installation

composer require codegrain/altomatic

Enable in Control Panel → Settings → Plugins.

Quick Setup

  1. Go to Altomatic → Settings
  2. Choose provider and enter API credentials
  3. Configure environment variables (recommended):
# OpenAI (default)
ALTOMATIC_OPENAI_API_KEY="your-key"

# Google Vision
ALTOMATIC_GOOGLE_API_KEY="your-key"

# AWS Rekognition  
ALTOMATIC_AWS_KEY="your-key"
ALTOMATIC_AWS_SECRET="your-secret"
ALTOMATIC_AWS_REGION="us-east-1"

# Azure Vision
ALTOMATIC_AZURE_ENDPOINT="https://your-endpoint.cognitiveservices.azure.com/"
ALTOMATIC_AZURE_KEY="your-key"

Usage

  • Select images in Assets index and use "Generate Alt" action
  • Use "Generate Alt for All" button in Assets toolbar for all images
  • Check stats and activity in Altomatic Dashboard

Requirements

  • PHP 8.2+
  • Craft CMS 5.0+
  • Guzzle 7.8+

Current version: 1.0.3 | Changelog | License

About

Automatically generate AI-powered Alt text for Craft CMS

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages