AI & WordPress · Guide
How to Generate Images With AI in WordPress
Short answer
To generate images with AI in WordPress, use Jetpack AI in the block editor, the official WordPress AI plugin, or AI Engine. Pick one tool, write a clear prompt that names the subject, style, and size, generate the image, then check it in the Media Library and add alt text before you publish.
Key takeaways
- Jetpack AI adds a Generate with AI button to Image and Gallery blocks in the block editor.
- Every site gets 20 free Jetpack AI requests, and that allowance does not renew.
- The official WordPress AI plugin is free, but your AI provider bills you for each image.
- WordPress 7.0 added the AI Client and Connectors screen, yet it bundles no AI provider.
- AI images suit blog illustrations and headers, not product photos that need exact detail.
- Always check the file size, alt text, and featured image setting before you publish.
What is the fastest way to generate images with AI in WordPress?
The fastest way is Jetpack AI in the block editor, because it needs no API key and adds a Generate with AI button to Image and Gallery blocks.
Jetpack AI adds image generation directly to the block editor, so you stay in the post while you work. Jetpack's support guide says you can find “Generate with AI” in the Image block, the Gallery block, and other blocks that use images.
The official WordPress AI plugin is the other editor-first choice. Its WordPress.org page lists “Image Generation and Editing” as its only stable Feature, and it works from post content in the editor and from the Media Library.
Pick one tool and learn its steps before you try a second one. Each tool bills in a different way, so mixing tools makes costs hard to track.
What do you need before you start?
You need a WordPress site with the block editor, one AI image tool installed and connected, and a way to pay for AI use if your tool has no free allowance.
WordPress 7.0 “Armstrong” was released on May 20, 2026, and it added the AI Client and a Connectors screen to core. The WordPress 7.0 release post describes that foundation, and the AI Client developer note states that core does not bundle any AI providers.
That fact sets up the whole job. Core gives plugins one shared way to talk to AI services, but you still install a provider plugin and add your own API key, unless you use a tool like Jetpack AI that handles the AI side for you.
Check these items before you generate your first image:
- The block editor, because the official AI plugin and Jetpack AI both need it.
- An administrator account, so you can install plugins and add API keys.
- A backup of the post or page, in case a generated image replaces one you wanted to keep.
- A note of your image sizes, so prompts ask for the shape your theme needs.
If you use the official AI plugin, install a connector plugin first. Its WordPress.org page says to install a connector for Anthropic, Google, or OpenAI, then add your API key in “Settings → Connectors”.
For image basics such as file types and sizes, read the WordPress image guide before you pick a tool.
How do you generate an image with Jetpack AI?
Open a post in the block editor, add an Image block, click Generate with AI, type your prompt, and pick a result to insert.
Jetpack AI gives every site 20 free requests to try it, and that allowance does not renew. Jetpack's AI page states the 20 free requests plainly, and its support guide repeats that the limit is per site and does not renew.
Follow these steps:
- Open “Posts → Add New” or an existing draft in the block editor.
- Add an Image block where the picture should sit.
- Click “Generate with AI” in the block toolbar.
- Type a prompt that names the subject, the setting, and the style.
- Generate the image, review the result, and insert the one you want.
- Add alt text that describes the image in plain words.
Jetpack AI also makes featured images from the editor. Jetpack's support guide says you can generate a featured image for a post directly from the block editor.
Each user needs their own WordPress.com connection to use the tools. The same support guide says every person who wants to use Jetpack AI must connect their own WordPress.com account.
Allow about 5 minutes for your first image, plus time to fix the prompt. Later images take about 2 minutes each once you know the steps.
How do you generate an image with the official WordPress AI plugin?
Install the AI plugin and a connector plugin, add your API key in Settings → Connectors, turn on Image Generation and Editing in Settings → AI, then generate from the editor or Media Library.
Nothing is turned on when you activate the plugin. The AI plugin page says you choose what to enable in “Settings → AI”, and each item is either a Feature or an Experiment.
Image Generation and Editing is the only Feature as of November 2026. The same page lists it as stable and supported, while the other items are early-stage Experiments that may change or be removed.
Follow these steps:
- Go to “Plugins → Add New” and install the “AI” plugin, then activate it.
- Install and activate a connector plugin for your provider, such as OpenAI or Google.
- Go to “Settings → Connectors” and add your API key.
- Go to “Settings → AI” and turn on “Image Generation and Editing”.
- Open a post, use the image tools in the editor, and generate from your post content.
- Or open the Media Library and generate or edit an image there.
Version 1.5.0 of the plugin was released on October 29, 2026. The changelog on its WordPress.org page records that date and lists the new Experiments added in that release.
The plugin itself is free, but each request is billed by your provider. Its page states that your AI provider bills you for usage under your account, so check your provider dashboard after your first few images.
Try this plugin on a staging site first if you also plan to test its Experiments. The page warns that Experiments may change in any release, so keep them off your live site until you know what they do.
How do you generate an image with AI Engine?
Install AI Engine, add your API keys in its settings, open the Image Studio, type your prompt, and save the image you want to your Media Library.
AI Engine is a free plugin from WordPress.org that connects to OpenAI, Anthropic, Google, and other providers with your own keys. Its WordPress.org page lists those connectors and says you pay your AI providers directly, with no markup from the plugin.
The plugin's Image Studio is built for this job. The same page says you can create images there, keep every version, and edit them with a brush.
Follow these steps:
- Go to “Plugins → Add New”, install “AI Engine”, and activate it.
- Open the AI Engine settings and add the API key for your chosen provider.
- Open the Image Studio from the AI Engine menu.
- Type a prompt with the subject, style, and image shape.
- Generate the image and compare the versions it returns.
- Save the best version to your Media Library and insert it in your post.
AI Engine holds a 4.9 out of 5 rating from 879 reviews on WordPress.org, as of November 2026. Its plugin page shows that rating and a last update date of November 12, 2026.
The plugin also runs a free MCP server with no monthly fee and no usage cap. That detail matters if you later want an AI app such as ChatGPT to work on your site, but it is not needed to generate images.
AI Engine suits sites that already pay an AI provider and want one plugin for chat, writing, and images. If you want no API keys at all, Jetpack AI is the simpler start.
How do you generate a featured image with Elementor AI?
Open the post in WP Admin, open the Featured image field, click Generate with Elementor AI, type or accept the prompt, click Generate Images, then click Use Image on the result you want.
Elementor's own help guide gives those exact steps. Its featured image guide says the AI window opens using the page or post text as the prompt, and you pick a result with “Use Image”.
Elementor AI runs on credits, not on a flat per-image price. One image generation costs 33 credits, and the Elementor One plan includes 25,000 monthly credits as of November 2026, so a month of credits covers about 757 images if you spend them only on images.
You need an Elementor One subscription for AI generation. Read the Elementor review to see how Elementor and its plans fit a WordPress site before you buy.
Note that Elementor AI does not save images you pass over. If you edit the prompt and generate again, the earlier variations disappear, so save the one you like before you change the prompt.
How much does AI image generation cost in WordPress?
It costs from nothing for a small free allowance to about $119.40 a year for Jetpack AI, plus per-image provider charges if you bring your own API key.
The table below uses prices checked in November 2026. Prices change, so check the vendor page before you pay.
| Tool | How you pay | Cost as of November 2026 |
|---|---|---|
| Jetpack AI | Free allowance, then yearly plan | 20 free requests, then $119.40 per year |
| Official WordPress AI plugin | Free plugin, provider bills usage | Plugin free; provider charges apply |
| AI Engine | Free plugin, provider bills usage | Plugin free; provider charges apply |
| Elementor AI | Credits in Elementor One | 33 credits per image; 25,000 credits a month |
| OpenAI image models | API tokens | GPT image models bill per 1M tokens |
Jetpack AI lists its yearly price as $119.40 on its AI page. That is the renewal price shown in the page data, so treat the first-year price as a separate check at checkout.
OpenAI now bills its image models by tokens, not by a flat image price. OpenAI's API pricing page lists GPT image models at $8.00 for image input and $30.00 for image output per 1M tokens.
Free allowances run out fast. Jetpack AI's 20 requests cover text and image actions together, so 20 image generations use the whole allowance.
How do you write a prompt that gives a usable image?
Write one sentence that names the subject, the setting, the style, and the shape, then add one short line for colors or mood if the first result misses.
A weak prompt says “blog image”. A clear prompt says "wide photo of a small bakery counter with fresh bread, warm morning light, flat lay, 16:9". The second prompt gives the model facts to work from.
Use this prompt shape for most posts:
- Subject: what is in the picture, in 3 to 8 words.
- Setting: where it happens, in 3 to 6 words.
- Style: photo, flat illustration, or line drawing.
- Shape: wide, square, or tall, to match the spot on the page.
Add words the model can see, such as “blue sky” or “wooden desk”. Leave out words it cannot judge, such as “nice” or “good quality”.
If the result has garbled text, remove all words from the prompt and add the text later in the editor. AI image models still spell words wrong in pictures, so keep text out of the image when you can.
Generate 2 or 3 versions and pick the best one. The first result is often close but not right, and a second prompt with one changed detail beats a long rewrite.
How do you check the image worked and finish the post?
Open the image in the Media Library, check that it looks right at full size, add alt text, set it as the featured image if needed, and preview the post.
Generated images land in the Media Library as normal attachments. The official AI plugin page confirms that image generation works from the Media Library as well as from the editor, so you can find every image in one place.
Check these 4 items before you publish:
- The image shows the right subject with no garbled text or extra fingers.
- The file size is sane for the web, not several megabytes for a small blog image.
- Alt text describes the image in plain words for screen readers.
- The featured image is set, if your theme shows one at the top of the post.
Large images slow a page down, so compress a generated image before you publish it. The Imagify review covers one image compression tool that can shrink the file without a visible loss of quality.
If speed matters to your site, read the guide on how to speed up WordPress and check image size against the other fixes it lists.
Preview the post on a phone as well as on a desktop. A wide image that looks fine on a large screen can crop badly on a small one, and the preview shows that before your readers see it.
What mistakes should you avoid?
Avoid using AI images as product photos, publishing without alt text, and spending a paid allowance on prompts you did not plan.
AI images work well as blog illustrations or headers. They do not work as product photos, because a buyer needs the exact item, color, and detail, and a generated picture cannot show those.
Do not publish an image with garbled text, wrong hands, or a logo you did not ask for. Readers notice those faults at once, and they hurt trust more than a plain stock photo would.
Do not skip alt text. The official AI plugin even has an Alt Text Generation experiment, which shows that WordPress treats alt text as a real part of publishing an image, not an extra.
Do not generate images in bulk before you check the cost. Each image uses requests, credits, or tokens, so a test run of 50 images can use a full free allowance in minutes.
Keep a note of which tool made each image and what it cost. That note helps you compare tools next month and stops you from paying twice for the same picture.
Frequently asked questions
Can I generate images with AI in WordPress for free?
Yes, in a small amount. Jetpack AI gives every site 20 free requests that do not renew, and those requests cover text and image actions together. The official WordPress AI plugin is free to install, but your AI provider still bills you for each image, so it is not free to run.
Do I need an API key to generate AI images in WordPress?
It depends on the tool. Jetpack AI needs no API key, because Jetpack handles the AI side for you. The official WordPress AI plugin and AI Engine both need your own API key from a provider such as OpenAI or Google, added in the settings before you generate anything.
Can AI images replace stock photos on my site?
They can replace stock photos for blog illustrations, headers, and concept images, where a close match is enough. They cannot replace product photos or photos of real people, places, or events, because a generated image is not a record of the real thing.
Who owns the images AI generates for my WordPress site?
Ownership and use rights depend on the tool and provider you use, and the terms change, so read the terms on your provider's site before you publish. Keep a record of the tool, the prompt, and the date for each image you use on a commercial page.
Why does my generated image have garbled text?
AI image models still spell words wrong inside pictures, even when the prompt spells them right. Remove text from the prompt and add headings or labels in the WordPress editor instead, where the text stays sharp and can be edited later.
What image size should I ask the AI for?
Ask for the shape your theme needs, such as wide for a header or square for a card, and check the file after it is made. A 1024 pixel wide image suits most blog images, while a featured image may need to be wider, so check your theme's featured image size first.
Sources
- AI – WordPress plugin WordPress.org
- Create Better Content with Jetpack AI Jetpack
- AI Engine – MCP Server and AI Chatbot for WordPress WordPress.org
- Add featured images using AI and WP Admin Elementor
- Jetpack AI Jetpack
- Pricing – OpenAI API OpenAI
- WordPress 7.0 Armstrong WordPress.org
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
