WP Manifestindependent plugin directory
manifest / ai / ai-alt-text

AI Alt Text

Generates alt texts for images using OpenAI. Supports Polylang: can configure creation of new language versions or processing only existing ones. Has built-in rate limit handling with automatic retries.

by Nazar356 · github.com/rzn357/ai-alt-text

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/rzn357/ai-alt-text/archive/refs/heads/main.zip

A WordPress plugin that automatically generates image alt text using the OpenAI API. It analyzes images in your WordPress media library and generates descriptive, SEO-friendly alt text via OpenAI's vision model. Generation can be triggered automatically on upload or run in bulk for all images missing alt text.

Features

  • OpenAI-powered generation — sends image URLs to OpenAI and writes the returned description as the attachment alt text.
  • Polylang integration — when Polylang is active, alt text is generated for every active language. You can choose to create missing translation records or process only existing ones.
  • Yoast SEO integration — updates the Yoast SEO focus-image alt field alongside the standard WordPress alt text field.
  • Background batch processing — a WP-Cron job runs every 90 seconds to process images in small batches, avoiding server timeouts.
  • Rate-limit handling — automatically retries requests that hit OpenAI API rate limits.
  • Admin settings page — configure the OpenAI API key, model, prompt, language behavior, and batch size from Settings → AI Alt Text.
  • Progress indicator — a live progress bar shows batch generation status in the WordPress admin.