
內容簡介
Image Generator 是一款自動為 WordPress 文章、頁面及自訂文章類型產生精選圖片與縮圖的外掛,省去手動設定的麻煩,提升網站視覺吸引力與 SEO 表現。
【主要功能】
• 發佈時自動產生精選圖片與縮圖
• 支援文章、頁面及自訂文章類型
• 提供可自訂的縮圖產生設定
• 與主流佈景主題及頁面編輯器相容
• 提升 SEO 表現與社群分享效果
• 無需手動操作,全自動化處理
外掛標籤
開發者團隊
② 後台搜尋「Image Generator – AI Featured Image, Thumbnail and Automatic Image Creator for WordPress」→ 直接安裝(推薦)
原文外掛簡介
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 wasting hours on stock photo sites. Stop publishing posts with broken thumbnail spots. With Image Generator you can:
Generate AI images from a custom prompt using OpenAI DALL·E 3 (your own API key) — right inside the block editor.
Auto-generate featured images from reusable image templates whenever a post, page, or custom post type is saved without one.
Insert AI-generated images straight into Image and Media & Text blocks while you write.
Set a Featured Image with a single click from the new AI Featured Image sidebar panel.
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.
Two Powerful Ways to Create Images
Inside the block editor (on demand) — generate an image while you’re writing and drop it straight into an Image block, a Media & Text block, or set it as the post’s Featured Image.
Automatic on publish (hands-off) — when a post or page has no featured image, the plugin picks one of your saved templates and renders a custom thumbnail using the post title, your brand colors, fonts, and overlay images.
Every generated image — whether AI-created or template-rendered — is saved to the WordPress Media Library with proper alt text, so it works with any theme, page builder, CDN, image-optimization plugin, lazy loader, or SEO plugin.
Why Featured Images Matter for SEO and Engagement
Higher search rankings — Google rewards visually rich content with better placement in search results and Google Discover.
Better click-through rates — posts with attractive thumbnails get noticeably more clicks from search results, archive pages, and category listings.
More social shares — Facebook, Twitter/X, LinkedIn, and Pinterest all use the featured image when someone shares your URL. No featured image = no preview = fewer clicks.
Pinterest traffic — pin-worthy custom images can drive long-tail referral traffic for years.
Brand consistency — reusable templates keep every post on-brand without hiring a designer.
Improved Core Web Vitals — properly attached, optimized featured images load predictably and avoid layout shift.
Perfect For
Bloggers who publish daily and never want to think about featured images again.
News sites and magazines that need every article to have a thumbnail.
WooCommerce stores that need product placeholder images.
Affiliate marketers who want unique hero images for every roundup post.
Agencies and freelancers managing multiple client sites.
Membership and learning platforms that publish lots of lessons.
Anyone who has ever shipped a post with a missing or generic thumbnail.
Key Features
✅ AI Image Generation with DALL·E
Plug in your OpenAI API key (or define the AIMG_API_KEY constant in wp-config.php) and generate unique images from natural-language prompts — “a sunlit forest path in autumn, photorealistic, soft lighting” — without leaving WordPress.
✅ Block Editor (Gutenberg) Integration
Adds an “AI Generate” sparkle button to the toolbar of core Image and Media & Text blocks, plus a dedicated AI Featured Image panel in the document sidebar. No setup, no shortcodes — it just shows up.
✅ Two Generation Modes in One Modal
A single, unified modal lets editors switch between Templates (fast, on-brand, free) and Custom Prompt (AI-generated, unique). Pick the right tool for each post.
✅ Unlimited Reusable Image Templates
Build as many image templates as you want with custom background colors, text colors, dimensions, fonts, and PNG overlays. Each template is rendered server-side using PHP’s GD library — no external dependency.
✅ Automatic Featured Image on Save
When a post, page, or custom post type is saved without a featured image, the plugin renders one from a random template using the post title. Hands-off, instant, every time.
✅ Custom Post Type & WooCommerce Support
Works with posts, pages, WooCommerce products, and any public custom post type that supports featured images — including LearnDash lessons, BuddyBoss content, Easy Digital Downloads products, and more.
✅ Native WordPress Media Library
Every image — AI or template — is sideloaded into the Media Library with attachment ID and alt text. So image optimization plugins (Smush, ShortPixel, Imagify, EWWW), CDNs (Cloudflare, BunnyCDN, KeyCDN), and SEO plugins (Yoast, Rank Math, AIOSEO) all see it as a regular attachment.
✅ REST API for Headless & Custom Workflows
Public endpoints (/wp-json/aimg/v1/generate, /wp-json/aimg/v1/templates) with capability checks (edit_posts, upload_files) and nonce protection — perfect for headless WordPress, decoupled frontends, and bulk automation scripts.
✅ Developer-Friendly Filters
Swap the AI endpoint, change the model, customize the request body, and hook into the generation pipeline with aimg_generate_endpoint and aimg_generate_request_body filters.
✅ Translation Ready (i18n)
Fully translatable via the bundled .pot file — both PHP and editor JavaScript strings are registered with wp_set_script_translations. Compatible with WPML, Polylang, Loco Translate, and TranslatePress.
✅ Lightweight, Fast, and Secure
No bloated dependencies. Uses native WordPress components, the GD library (already part of PHP), and the REST API. API keys can be stored outside the database via the AIMG_API_KEY constant.
✅ No Coding Required
Simple admin UI under Image Generator in the WordPress dashboard. Build a template, save your settings, you’re done.
How It Works
Generate from the Block Editor (On Demand)
Open any post or page in the Gutenberg editor.
Click the ✨ sparkle icon in the toolbar of an Image or Media & Text block — or open the AI Featured Image panel in the document sidebar.
Choose a tab in the modal:
Templates — pick a saved image template. The title text defaults to the current post title.
Custom Prompt — describe the image you want and press Generate (or Ctrl + Enter / ⌘ + Enter).
The image is generated, added to the Media Library, and inserted into the block or assigned as the featured image automatically.
Auto-Generate Featured Images on Publish
Write your post or page as normal.
Hit Publish or Update.
If you already set a featured image, nothing happens.
If you didn’t, the plugin picks a random image template and renders a custom thumbnail from the post title — saved to the Media Library and attached as the post thumbnail.
Use Cases
Daily Bloggers
Publish a post, hit Update, and walk away. Your readers and Google get a polished featured image every time, without you ever opening Canva.
News and Magazine Sites
Generate consistent on-brand thumbnails for breaking news pieces and category archives — no designer in the loop.
WooCommerce Stores
Auto-generate placeholder product images for new SKUs while real photos are still being shot. Then replace at your own pace.
Affiliate Roundups and Listicles
Use Custom Prompt mode to generate unique hero images for “Best Standing Desks 2026” style posts that don’t look like every other affiliate site.
Agencies and Multi-Site Networks
Configure templates once, set them as defaults across all client sites, and stop fielding “why doesn’t this post have an image?” tickets.
Headless and Decoupled Sites
Use the REST API endpoints to trigger image generation from a Next.js, Astro, or Gatsby frontend, a CLI script, or a CI pipeline.
Image Generator vs. Manual Workflows
Task
Without Image Generator
With Image Generator
Add a featured image to a new post
Find stock photo, download, upload, set as featured
Publish — done.
Generate a unique hero image
Open Midjourney/ChatGPT, save, upload, insert
Click ✨ in the toolbar, type a prompt, done.
Keep thumbnails on-brand across the site
Manual design work, every post
Build a template once. Reused forever.
Generate placeholders for 50 imported posts
Tedious manual upload
Bulk-saving triggers auto-generation.
Troubleshooting
“No API key configured” notice in the editor — add a key under Image Generator → Settings, or define AIMG_API_KEY in wp-config.php.
Thumbnails not displaying on the frontend — make sure your theme calls add_theme_support( 'post-thumbnails' ) in functions.php.
AI generation fails or times out — check that your server can make outbound HTTPS requests, that PHP’s max_execution_time is at least 60 seconds, and that your OpenAI API key has billing enabled.
“No templates available” in the editor modal — create at least one template under Image Generator → Image Templates.
Image looks wrong / wrong colors — check your template’s background color, text color, and overlay PNG transparency.
Cache plugins showing stale images — clear page, object, and CDN caches after generating new images.
Compatibility issues — temporarily disable other plugins to identify conflicts and let us know via the support forum.
Best Practices
✅ 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.
✅ 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 and font in your templates so visitors associate the look with your site.
Third-Party Assets and Licenses
Roboto Font
Author: Christian Robertson
License: Apache License 2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Source: https://fonts.google.com/specimen/Roboto
The Roboto font is bundled under the Apache License 2.0. Full license text available at the URI above.
AI Image Generation
Prompt-based image generation calls a third-party API (OpenAI by default). You are responsible for the API key, usage costs, and compliance with the provider’s terms of service. No prompts or images are sent to any external service unless you explicitly trigger generation from a custom prompt. Template-based generation never leaves your server.
Privacy
Template-based generation runs entirely on your server. No data is sent to third parties.
AI prompt-based generation sends the prompt you type to OpenAI (or your configured endpoint). The plugin does not transmit post content, user data, or visitor information.
The plugin does not set cookies, track users, or load any external scripts on the frontend.
Support and Feedback
Have questions, need help, or want to suggest a feature? We’d love to hear from you!
– Plugin Support Forum: https://wordpress.org/support/plugin/artificial-image-generator
– Plugin Homepage: https://beautifulplugins.com/image-generator/
License
This plugin is released under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html for details.
Thank you for using Image Generator!
We’re dedicated to helping you create visually stunning, SEO-optimized posts and pages with ease — powered by AI when you want it, and reliable image templates when you don’t.
