Description
Auto-generate a click‑worthy featured image right from the post editor sidebar, this plugin allows WordPress users to automatically generate AI-generate featured images for their posts based on the title and excerpt. Utilizing flux-1-schnell AI models, such as Flux via Workers AI (Cloudflare), This plugin connects to Cloudflare Workers AI to create an image. The plugin also includes settings for custom API keys and offers flexibility for image generation.
Key Features
- Generate featured images using Cloudflare Workers AI
- One-click “Generate Featured Image” button in the post sidebar
- Generate a preview image (without saving to media library yet)
- Inspect a larger preview
- Set the generated image as the Featured Image in one click
- Adjust default width, height, and format
- Restrict the panel to specific post types
External Services
This plugin communicates with the Cloudflare Workers AI API (https://api.cloudflare.com/client/v4/accounts/%account_id%/ai/run/%model_path%) to generate image previews and final featured images. Using the service requires a Cloudflare Account ID and API token that you configure in the plugin settings.
What is sent and when
- When you click “Generate Featured Image,” we send your Cloudflare Account ID, API token, model slug, desired width/height, image format, and a prompt composed from the current post title and excerpt/summary. These values are required by Cloudflare Workers AI to render an image.
- When you click “Set as Featured Image,” the plugin uploads the returned base64 image to your Media Library. No data is sent automatically on post save.
Service provider and policies
Cloudflare, Inc. provides the Workers AI API. By entering your credentials you agree to their policies:
– Terms of Service
– Privacy Policy
Requirements
- Cloudflare Account with Workers AI enabled
- API Token (User token) with AI:Create permission
- Your Account ID and selected model slug (e.g. @cf/black-forest-labs/flux-1-schnell)
Screenshots
Installation
- Install and activate the plugin.
- Go to Settings Magic Featured Image Generator (AI Generated).
- Enter your Cloudflare Account ID and API Token, choose a model, image size, and default format.
- Optionally choose which post types should show the generator panel.
- In the post editor, open the “Magic Featured Image Generator (AI Generated)” panel and click “Generate Featured Image”.
- If you like the result, click “Set as Featured Image”.
FAQ
-
Is this plugin free?
-
Yes! You can use the plugin for free with your own Cloudflare Workers AI account.
-
Do I need a Cloudflare Account?
-
Yes, you must have an Cloudflare account, If you do not have an account, you must generate one.
-
How to get Account ID
-
Here is step to get your Cloudflare Account ID.
-
How to create User API Token
-
Here is step to create User API Token or simply visit this Link
-
Which AI model does it use?
-
By default, it uses the
@cf/black-forest-labs/flux-1-schnellmodel, but you can change it in the plugin settings. Here is some other Models -
Does this overwrite my existing Featured Image?
-
No, not unless you click “Set as Featured Image.” You can preview first and decide.
-
Is anything generated automatically on save?
-
No. All generation is manual from the editor panel.
-
Where do the images get stored?
-
Only after you click “Set as Featured Image” do we upload to the Media Library.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Magic Featured Image Generator (AI Generated)” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Magic Featured Image Generator (AI Generated)” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- Tested successfully with WordPress 6.9
1.0.0
- Initial release: manual generation, preview modal, set as featured image, settings for Cloudflare model/size/format and enabled post types.



