AI Image Alt Text Generator with OpenAI Vision Models

Beskrivning

Plugin that uses the OpenAI API (supporting GPT-4o and GPT-4.1 model families) to automatically generate alt text for images, either during the upload process or on-demand with a button. It enhances website accessibility and SEO by providing descriptive and relevant image descriptions.

Features:
– Bulk alt text generation for multiple images at once in media library and gallery block
– Manual generation via a button in the image block and media library
– Configurable automatic alt text generation during the upload process
– Support for multiple OpenAI vision models (GPT-4o, GPT-4o-mini, GPT-4.1, GPT-4.1-mini, GPT-4.1-nano)

External Service Usage

This plugin relies on OpenAI’s API, an external third-party service, to generate alt text for images. The plugin sends your images to OpenAI’s API and receives generated alt text in return.

Before using this plugin, please review OpenAI’s terms of use and privacy policy:
– OpenAI API Terms of Use: https://openai.com/policies/terms-of-use
– OpenAI Privacy Policy: https://openai.com/policies/privacy-policy

By using this plugin, you agree to OpenAI’s terms and acknowledge that you have understood OpenAI’s privacy policy.

For Developers

You can read about the available hooks here: https://github.com/android-com-pl/wp-ai-alt-generator?tab=readme-ov-file#for-developers

Skärmdumpar

  • Bulk alt text generation.
  • Generating alt text for an image in the media library.
  • Generating alt text automatically on upload.

Installation

  1. Upload the plugin directory to your /wp-content/plugins/ directory.
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Go to Settings -> Media to configure the plugin settings.
  4. Enter your OpenAI API key (you can find it in your OpenAI account settings).
  5. Alternatively, you can set your API key by defining the ACPL_ALT_GENERATOR_OPENAI_API_KEY constant in your wp-config.php file: define('ACPL_ALT_GENERATOR_OPENAI_API_KEY', 'your-api-key-here');. When the constant is defined, the API key field in the plugin settings will be disabled.

Vanliga frågor

Is there a cost associated with using this plugin?

The plugin uses the OpenAI API, which will incur costs. Please check the OpenAI pricing page for details.

Recensioner

26 juni 2025
This plugin has a good UI with all the features and options that you need, but nothing more. It doesn’t want to sell you some ”Premium” features, but lets you enter your own API key. Highly recommended!
30 september 2024 2 svar
Great and easy to use plugin. Thanks for this.I just wished for one little improvement.The additional prompt, which I can write while in bulk edit, can that be saved? So I do not need to enter it again?Or maybe let us define a user prompt in the Settings -> Media, where we provide our API key. That would be awesome.
4 april 2024
Installed it and put in my OpenAI API key and it worked perfectly.
25 mars 2024 1 svar
Amazing! Great work Rafal! Super easy to use with GPT. I look forward to the bulk image update! Thanks
Läs alla 5 betyg

Bidragsgivare och utvecklare

”AI Image Alt Text Generator with OpenAI Vision Models” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”AI Image Alt Text Generator with OpenAI Vision Models” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”AI Image Alt Text Generator with OpenAI Vision Models” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

For the plugin’s changelog, please see the Releases page on GitHub.