AI Featured Image Generator is a powerful WordPress plugin that adds a “Generate Featured Image” button to your post editor. When clicked, it uses AI image generation APIs from OpenAI (or Gemini for pro users) to create unique featured images based on your post title, selected style, and optional custom prompt. Pro users can also generate images directly inside the Gutenberg editor using the AI Image Generator block, perfect for adding inline images throughout your content.
Free Features
OpenAI Integration: Generate stunning images using OpenAI’s powerful image generation API
Multiple AI Models: Choose between GPT Image 1 (Standard), GPT Image 1.5 (Enhanced), and GPT Image 1 Mini (Faster & Cheaper)
Custom Prompt Input: Fine-tune image generation with custom prompts
Output Format Selection: WebP, PNG, or JPEG with WebP as default for optimal compression
Image Quality Control: Adjust quality from 1-100 for both global settings and individual posts/pages
Multisite Support: Fully compatible with WordPress multisite installations
Text Control: Option to allow or disallow text, captions, or words in generated images
SEO-Friendly Filenames: Generated images now use your post/page title for better media organization and SEO
Gutenberg Block Editor: Generate inline images directly inside the Gutenberg editor using the AI Image Generator block – perfect for adding images anywhere in your content
Google Gemini AI Support: Access cutting-edge Google AI image generation
Additional AI Models: Nano Banana [Gemini 2.5 Flash Image] (faster, cheaper) and Nano Banana Pro [Gemini 3 Pro Image Preview] (premium quality)
Custom Post Types Support: Enable AI image generation for any custom post type, not just posts and pages
Higher Resolutions: 1K/2K/4K resolution options with Gemini 3 Pro
Smart Dynamic Settings: UI automatically shows only relevant settings for your selected provider
Provider-Aware Meta Box: Quality slider and other controls automatically show/hide based on selected provider
Inline Images Settings: Dedicated settings tab for configuring default styles, aspect ratios, and output formats for inline images
If you would like to access advanced features such as Google Gemini AI integration and inline image generation in the block editor, you can upgrade to Pro here.
Requirements
WordPress 5.8 or higher
PHP 7.4 or higher
OpenAI API key (Pro users can also use Google Gemini API key)
External Services
This plugin connects to external AI services to generate AI-powered images for your WordPress posts and pages. The free version uses OpenAI for featured image generation, while Pro users can also choose Google Gemini as their provider and generate both featured images and inline images using the Gutenberg block editor.
OpenAI Service (Free & Pro)
When using OpenAI as your provider:
– Your post title and content are sent to OpenAI’s API when you generate a featured image
– When generating inline images (Pro), your custom prompt is sent to the API
– Any custom prompt you provide is sent to the API
– Your OpenAI API key is used for authentication with each request
– Image generation requests are sent to OpenAI’s servers when you click the “Generate Featured Image” button or generate inline images using the Gutenberg block
When using Google Gemini as your provider:
– Your post title and content are sent to Google’s Gemini API when you generate a featured image
– When generating inline images, your custom prompt is sent to the API
– Any custom prompt you provide is sent to the API
– Your Google Gemini API key is used for authentication with each request
– Image generation requests are sent to Google’s servers when you click the “Generate Featured Image” button or generate inline images using the Gutenberg block
Data Usage:
– Your post content and prompts are processed by the selected AI provider’s models to generate images
– Generated images are stored in your WordPress media library
– No personal data is stored by the providers beyond what’s necessary for API processing
– You are responsible for ensuring your content complies with the selected provider’s usage policies
Built a WordPress plugin that generates AI-powered featured and inline images directly inside the editor using OpenAI and Google Gemini with full customization