描述
Plugin that uses the OpenAI GPT-4o API 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
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
屏幕截图
安装
- Upload the plugin directory to your
/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to
Settings -> Media
to configure the plugin settings. - Enter your OpenAI API key (you can find it in your OpenAI account settings).
- 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.
评价
贡献者及开发者
更新日志
For the plugin’s changelog, please see the Releases page on GitHub.