Magic Featured Image Generator (AI Generated)
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)
