Extension · Elementor · King Addons

Alt Text Generator: OpenAI alt text in the Media Library

This extension is the Media Library specialist. Bulk-from-dashboard alt text also exists under AI SEO Tools. Here the hooks live on attachments: a generate button (default on) and auto-on-upload (default off).

Get King Addons

Install the plugin from WordPress.org, enable this extension in the dashboard, then follow the steps on this page.

Get King Addons

What it actually does

If both the button and auto-generation are disabled in AI options, the class returns early and registers nothing.

Queue options: king_addons_alt_text_pending_queue and king_addons_alt_text_processing. Cron hook king_addons_process_alt_text_queue. Batch size 1, retry limit 3, 5 second delay between batches — the code comments say this is to respect rate limits.

The model request sends the image URL to OpenAI and writes the returned text into the attachment alt field.

Where to find it in WordPress

King Addons → AI Settings (API key). Enable the Alt Text Generator extension. In Media Library, use the generate control on an image. Auto-on-upload is enable_ai_alt_text_auto_generation in king_addons_ai_options (default false).

How to set it up

  1. Store an OpenAI key. AI Settings. The UI reports needs_setup without it.
  2. Leave the button enabled. Default is on. Turn on auto-generation only if you want every upload queued.
  3. Open an image in Media Library. Run generate on one file, or let auto-upload enqueue new files.
  4. Let cron drain the queue. Do not expect 200 images in one HTTP request.

Controls that change behavior

ControlWhat the plugin does
enable_ai_alt_text_buttonShows the Media Library generate action (default true).
enable_ai_alt_text_auto_generationQueues new uploads (default false).
Queue / cronOne attachment per tick, retries, delay between batches.
Free vs Pro. Requires OpenAI. Feature flags live in AI options, not Elementor Pro.

When this is the right tool

Notes from the implementation

Bulk library-wide runs are easier in AI SEO Tools. Product: kingaddons.com.

FAQ

Nothing happens on upload.

Auto-generation defaults to off. Enable it in AI options or use the button.

Is this duplicate of AI SEO Tools?

Same OpenAI key, different UI: Media Library vs dashboard bulk module.

Other King Addons extensions

Get King Addons

AI Alt Text Generator ships in King Addons for Elementor. Install the plugin from WordPress.org, then come back to this guide when you configure it.

Get King Addons