AI Image Alt Text Generator with OpenAI Vision Models

外掛說明

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

螢幕擷圖

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

安裝方式

  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.

常見問題集

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.

使用者評論

2024 年 9 月 30 日 2 則留言
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.
2024 年 4 月 4 日
Installed it and put in my OpenAI API key and it worked perfectly.
2024 年 3 月 25 日 1 則留言
Amazing! Great work Rafal! Super easy to use with GPT. I look forward to the bulk image update! Thanks
2024 年 2 月 26 日 2 則留言
Please consider adding: 1. a bulk update function 2. Ability to add to caption and title as well. Thank you.
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈AI Image Alt Text Generator with OpenAI Vision Models〉的開發相關工作。

參與者

〈AI Image Alt Text Generator with OpenAI Vision Models〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈AI Image Alt Text Generator with OpenAI Vision Models〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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