Description
I made this WordPress Plugin just for fun.
If you are too lazy to look for a featured image for your post, this one might be the solution for you.
Lazy Blogger’s AI Image Generator is a WordPress plugin that automatically creates featured images for your posts using OpenAI’s DALL-E API. Good for lazy bloggers who want to save time on image selection.
Key Features:
* Generates images automatically when a post is published
* Uses post title, category, and tags to create image prompt
* Or you can let AI read your post content to generate image prompt
* Additional style prompt for fine-tuning generated images
Requirements
- WordPress 6.1.1 or higher
- PHP 8.1 or higher
- OpenAI API key
Settings
- API Key: Enter your OpenAI API Key.
- Size: Choose the size of the generated images (1024×1024, 1024×1792, or 1792×1024).
- Include Title/Category/Tag: Check these boxes to include the title, category, and tags in the API prompt.
- Create prompt from the post content: Enable this if you want AI to generate an image prompt from the post content.
- Additional Style Prompt: Use this to include style information in the prompt.
- Enable Logging: Enable this to save logs for troubleshooting.
Note
This plugin requires an OpenAI API key to function. Make sure you have an active OpenAI account and API key before using this plugin.
External Libraries
This plugin uses the following external library:
- mehrab-wj/tiktoken-php – MIT License
This library is used under the terms of its respective license.
Privacy Policy
This plugin uses the OpenAI API to generate images. Your post title, category, tags, and potentially post content may be sent to OpenAI for image generation. Please refer to OpenAI’s privacy policy for information on how they handle user data.
This plugin does not store or share any user data.
Recommendations
This plugin generates large-sized image files in .png format. For optimal performance, we recommend using ShortPixel Image Optimizer to compress and convert these images. ShortPixel can automatically convert images to .jpg, .webp, .avif formats and compress them, reducing file size by up to 90%. You get 100 free credits every month.
Note: We may receive a commission if you sign up and purchase credit through this link.
Installation
- Ensure your server meets the requirements, especially PHP 8.1 or higher.
- Upload the plugin zip file to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the TUBM Plugins->Lazy Blogger’s AI Image Generator screen to configure the plugin
- Enter your OpenAI API Key in the settings
Reviews
Contributors & Developers
“Lazy Blogger's AI Image Generator” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Lazy Blogger's AI Image Generator” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3.1
- Confirmed working on WordPress 6.7.1
1.3
- Added function calling to generate prompts from post content
1.2
- Switched Medel to Dalle-3 & GPT-4o mini
1.1
- Bug fixes and performance improvements
1.0
- Initial release