Linux 软件免费装
Banner图

Image Generator – AI Auto Featured Images, Thumbnails & Post Images

开发者 beautifulplugins
kawsarahmedr
更新时间 2026年10月25日 11:36
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

featured image ai block editor image generator ai image

下载

1.6.0 1.8.0 1.4.9 1.5.1 1.4.5 1.4.0 1.5.4 1.7.1 1.4.6 1.7.0 1.4.7 1.5.2 1.5.3 1.2.0 1.4.1 1.4.2 1.4.8 1.5.0 1.0.0 1.1.0 1.3.0 1.4.3 1.4.4 1.8.1 1.8.2 1.8.3

详情介绍:

Image Generator is the all-in-one AI image generator and automatic featured image plugin for WordPress. Create eye-catching featured images, post thumbnails, hero banners, and social media images in two clicks — directly inside the Gutenberg block editor, or automatically every time you publish a post or page. Stop switching between design tools, AI apps and stock photo sites. Stop publishing posts with broken thumbnail spots. With Image Generator you can: Where Your Images Come From
  1. Your own image templates — designs you build in the Template Studio (or start from 10 ready-made ones). The post title and other details are filled in and the image is drawn on your server with PHP's GD library. No API key, no cost, nothing leaves your site (unless a layer uses a stock photo or AI image).
  2. AI images — unique images from OpenAI GPT Image, written from your prompt or from the post's title and excerpt. Needs your own OpenAI API key.
  3. Free stock photos — Unsplash, Pexels and Pixabay. Needs a free API key from the library you use.
  4. Templates over photos — any template's background or image layer can show a stock photo or an AI image picked for each post.
Images inside your templates can come from your Media Library, the post's featured image, the first image in the post, your site logo or site icon, the author's avatar (uploaded to the Media Library), a stock photo for the post or an AI image for the post. Whether you run a blog, news site, magazine, portfolio, affiliate site, online store, or membership platform, this plugin gives every post a polished, SEO-friendly featured image — without the manual work. 🚀 Upgrade to Pro | 📄 Plugin Documentation | 💻 Support Watch video tutorial on how to use the Image Generator plugin [youtube https://www.youtube.com/watch?v=GmFg7iXddP8] Perfect For

安装:

Automatic Installation
  1. Go to Plugins → Add New in your WordPress admin.
  2. Search for "Image Generator" by BeautifulPlugins.
  3. Click Install Now, then Activate.
Manual Installation
  1. Download the plugin ZIP file.
  2. Upload the artificial-image-generator folder to /wp-content/plugins/.
  3. Activate Image Generator through the Plugins menu in WordPress.
Setup
  1. Go to Image Generator → Image Templates → Add New, pick one of the ready-made designs (or start blank) and adjust it in the Template Studio.
  2. (Optional) Open Image Generator → Settings and add your OpenAI API key to enable AI images.
  3. (Optional) Under Settings → Stock Photos, add a free key from Unsplash, Pexels or Pixabay and click Test Connection.
  4. (Optional, more secure) Define the keys in wp-config.php instead: define( 'AIMG_API_KEY', 'sk-your-key-here' ); (and AIMG_UNSPLASH_KEY, AIMG_PEXELS_KEY or AIMG_PIXABAY_KEY)
  5. Done. Generate from the block editor or the Media Library, or just publish a post and let the plugin handle it.

屏幕截图:

  • AI Featured Image panel in the post sidebar — regenerate the featured image in one click, or choose a template, stock photo or prompt.
  • Templates tab — preview any of your templates with the post title before you add it.
  • Custom Prompt tab — write a prompt (or build one from the post) and pick the shape, style, quality and number of variations for an AI image.
  • Free stock photos from Pixabay, searched with keywords from the post title, with the photographer credit.
  • Pexels tab — filter stock photos by orientation and color and scroll for more.
  • Media Library — Generate Image opens the same modal, so it works with any editor or page builder.
  • A stock photo imported into the Media Library with alt text, title and the photographer credit in the caption.
  • Image Templates — your templates as a grid with previews; duplicate, set as default, export or delete.
  • Start from a design — ready-made templates, including stock photo designs (the review, sale, course, recipe and price tag designs come with Pro).
  • Template Studio — edit layers on a canvas; text fits its box and uses tags like {title} and {category}.
  • Template Studio — a background that shows a stock photo picked for each post, with your design on top.
  • Template Studio — layer types: background, image, overlay, text, shape, pattern and frame (Rating, Progress bar and Badge come with Pro).
  • Settings — automatic featured images with a template, AI or a stock photo, and the AI prompt and style.
  • Settings — AI service: API key, model, image shape and quality, who can use AI and an hourly limit.
  • Settings — stock photo API keys with Test Connection, and the library, orientation, size and credit options.

升级注意事项:

1.8.0 Adds free stock photos from Unsplash, Pexels and Pixabay and photo templates. Older templates are converted to the Template Studio format in the background only when they look exactly the same. Removes aimg_generate_preview().

常见问题:

Do I need an API key to use this plugin?

No — only for AI prompt-based generation and stock photos. Template-based image creation, including the automatic featured image on publish, runs entirely on your own server using PHP's built-in GD library. No external services, no API calls, no recurring costs — unless you give a template a stock photo or AI image layer. Stock photos need a free API key from Unsplash, Pexels or Pixabay; you only need one.

How do I get free stock photo API keys?

Create a free key at Unsplash, Pexels or Pixabay, then paste it under Image Generator → Settings → Stock Photos and click Test Connection. You can also define AIMG_UNSPLASH_KEY, AIMG_PEXELS_KEY or AIMG_PIXABAY_KEY in wp-config.php. New Unsplash keys are limited to 50 searches an hour until Unsplash approves them for production.

Can I design my own image templates?

Yes. Go to Image Generator → Image Templates → Add New to open the Template Studio. Start from one of 10 ready-made designs or a blank canvas, add backgrounds, images, overlays, shapes, patterns, frames and text, and use tags like {title}, {category} or {custom_field:key} so each post gets its own text. Templates are drawn on your server, so they cost nothing to use. You can export a template as JSON and import it on another site.

Which images can I use inside a template?

Background and image layers can show an image from your Media Library, the post's featured image, the first image in the post, the site logo, the site icon, the author's avatar (uploaded to the Media Library), a stock photo picked for the post (Unsplash, Pexels or Pixabay, searched with the post title or your own search text) or an AI image made for the post (from your own prompt). Stock and AI images are fetched once per post, in the background, and reused when you regenerate.

Do I need to credit stock photographers?

Unsplash, Pexels and Pixabay photos are free to use, and the libraries ask you to credit photographers where you can. The plugin adds a credit with links to the image caption (you can turn this off under Settings → Stock Photos) and always saves it with the image.

Which AI image generation service is supported?

Out of the box, the plugin calls OpenAI's Images API using GPT Image 2.5 Flare by default — you can switch to GPT Image 2.5 Sunburst or GPT Image 2 under Image Generator → Settings. Models OpenAI has retired (GPT Image 1, DALL·E 2 and DALL·E 3) are no longer offered; sites that used them switch to GPT Image 2.5 Flare automatically. Developers can swap the endpoint, model, or request body via the aimg_generate_endpoint and aimg_generate_request_body filters — so you can point it at compatible services (Stability AI, self-hosted SDXL via a compatible proxy, etc.).

How much does AI image generation cost?

You pay OpenAI directly for usage, based on the model, image size and quality; see OpenAI's pricing page for current rates. Larger shapes, higher quality and more variations cost more. The plugin itself is free; you only pay your AI provider for the images it creates. To keep costs predictable, limit AI to certain roles, set an hourly limit per user, and use templates for everyday posts. Automatic AI images are only created when a post is published or scheduled, not for drafts.

Where is my OpenAI API key stored?

By default, it's stored in the aimg_settings option in the WordPress database. For maximum security, define AIMG_API_KEY in wp-config.php instead — the settings UI will detect the constant and disable the input field, so the key never sits in the database.

Will this plugin generate featured images for existing posts?

Automatic generation only fires when a post is saved without a featured image. For existing content, open the post in the block editor and use the AI Featured Image panel to generate one on demand. Bulk generation across the entire site is on the roadmap.

Does it work with the Gutenberg block editor?

Yes. The block editor integration is the plugin's flagship feature. You'll find the ✨ button on Image and Media & Text block toolbars and a dedicated AI Featured Image panel in the document sidebar.

Does it work with the Classic Editor, Elementor, Divi, Beaver Builder, or Bricks?

The editor buttons are built for Gutenberg, but the same modal is available in Media → Library → Generate Image, so you can create template, AI and stock images there and use them in any builder. Automatic featured image generation works with every editor, because it runs whenever WordPress saves a post — so Classic Editor, Elementor, Divi, Beaver Builder, Bricks, and any other builder all benefit from auto-generated thumbnails.

Does it work with WooCommerce products?

On demand, yes. Open a product, download, course, or any custom post type that supports featured images, and use the AI Featured Image panel or the Media Library modal to generate and assign an image. Automatic generation on save currently covers posts and pages only; extending it to every public post type is next on the roadmap.

Does it work with SEO plugins like Yoast SEO, Rank Math, and All in One SEO?

Yes. Generated images are stored as standard Media Library attachments with proper alt text, so SEO plugins can read them, expose them in Open Graph and Twitter Card tags, and include them in sitemaps.

Will it slow down my site?

No. Template rendering uses PHP's GD library (already loaded) and only runs when a post is saved without a featured image — or when you explicitly trigger it from the editor. Automatic AI images and stock photos are fetched in a single background task per post (Action Scheduler when available, otherwise WP-Cron), so saving a post never waits for an outside service. There's no frontend overhead.

I moved a site that ran on a Windows server. Why do some older generated images point to the old folder?

On Windows, versions before 1.4.9 saved the full file path of generated images (for example C:/sites/example/wp-content/uploads/2026/04/image.png) instead of the path inside the uploads folder. They keep working on the same server. After a move, back up your database and remove the old uploads prefix, for example with WP-CLI: wp search-replace 'C:/sites/example/wp-content/uploads/' '' wp_postmeta --dry-run (run it again without --dry-run once the result looks right). Images generated with 1.4.9 or later are not affected.

Is it compatible with multisite?

Yes. Each site on the network can configure its own templates and API keys.

Is the plugin GDPR-friendly?

Template-based generation runs entirely on your server, nothing leaves your site (except for templates with a stock photo or AI image layer). Stock photo searches send only search terms (what you type, or keywords from the post title) to the library you use. AI generation sends only a prompt to OpenAI: the text you type, or — for automatic AI images and the Write a prompt from this post button — a prompt built from your prompt template, which by default contains the post's title and excerpt. No visitor data is ever sent. If your posts contain personal information, edit the prompt template so it doesn't include it.

Can I translate the plugin?

Yes. The plugin is fully translation-ready with a bundled .pot file. Both PHP and JavaScript strings are translatable.

Any tips for the best results?

  • Build 3–5 well-designed templates so the random fallback always looks on-brand.
  • Use Custom Prompt mode for hero images and standout posts; use Templates for everyday post thumbnails.
  • For photo-style thumbnails that still look like your brand, use a template with a stock photo background.
  • Keep prompts specific — "a sunlit forest path in autumn, photorealistic, soft lighting" beats "forest".
  • Define AIMG_API_KEY in wp-config.php rather than storing it in the database.
  • Pair this plugin with an image optimization plugin (Smush, ShortPixel, Imagify) so generated images load fast.
  • Set a recognizable brand color in your templates so visitors associate the look with your site.

How can I report a bug or request a feature?

Use the plugin support forum on WordPress.org. We read every post.

更新日志:

1.8.2 ( 18th October 2026 ) 1.8.0 ( 11th October 2026 ) 1.7.1 ( 9th October 2026 ) 1.7.0 ( 7th October 2026 ) 1.6.0 ( 6th October 2026 ) 1.5.4 ( 6th October 2026 ) 1.5.3 ( 5th October 2026 ) 1.5.0 ( 6th September 2026 ) 1.4.8 ( 21st August 2026 ) 1.4.5 ( 20th July 2026 ) 1.4.3 ( 16th July 2026 ) 1.4.1 ( 14th July 2026 ) 1.4.0 ( 14th June 2026 ) 1.3.0 ( 9th May 2026 ) 1.1.0 ( 3rd March 2026 ) 1.0.0 ( 22nd December 2025 )