I have been blogging for over a decade, and finding perfect images for blog posts has always been a challenge.
You need to go through stock images, check licenses, and in the end, you get an image that thousands of other blogs are already using. It takes up time you could have spent writing and publishing.
That’s why I have started using AI tools to create my own visuals, especially for blog illustrations, diagrams, and comparison charts. It’s a lot faster, and I can generate exactly what I need for each post.
With tools like ChatGPT and Nano Banana (Google Gemini), I can brainstorm ideas and generate unique images. The terms of these services typically grant me full usage rights for these visuals.
In this guide, I’ll show you how to use AI to generate images in WordPress using a few of my favorite tools. You’ll see how fast your visuals can come to life.

TL;DR Summary:
If you are in a rush, here are the AI image generators I will discuss in the article:
| Tool | Best For |
|---|---|
| ChatGPT | Refining images conversationally and generating high-quality visuals within a familiar AI chat interface. |
| Gemini (Nano Banana) | Exploring creative styles for free with helpful, interactive prompt suggestions to improve your ideas. |
| All in One SEO | Generate images with AI inside the WordPress editor with advanced options to configure the image dimensions, quality, and style. |
| Uncanny Automator | Automating content creation workflows, like generating a featured image when a post is drafted from a form. |
| SeedProd | Creating custom visuals while you are actively designing a landing page or WordPress theme. |
| AI Engine Plugin | A free, flexible option for users who want to connect their own API key from various AI providers. |
Why Use AI Tools to Generate Images for Your WordPress Site?
AI image tools let you create custom visuals for free or low cost, without stock photo licenses or design software.
- Save time and money: No subscriptions, no license checks, no Photoshop required.
- Get unique images: Every image you generate is original — not reused across thousands of other blogs.

Mastering the Art of AI Prompts for Stunning Images
The quality of your AI-generated images depends almost entirely on the quality of your prompts. A vague request leads to a generic image. A detailed, descriptive prompt is your key to creating something truly special.
Here are a few tips I’ve learned for writing better prompts:
- Be Specific and Detailed: Instead of “a dog,” try “a golden retriever puppy with floppy ears, sitting in a field of daisies during a sunny afternoon.” The more details you provide, the better.
- Define the Style: AI can mimic various artistic styles. Include terms like “in the style of a Pixar animation,” “a watercolor painting,” “photorealistic,” “comic book art,” or “cyberpunk.”
- Set the Mood and Lighting: Use words to control the atmosphere. For example, “dramatic lighting,” “soft morning glow,” “eerie, foggy night,” or “vibrant and cheerful.”
- Mention the Composition: Guide the AI on how to frame the shot. Use phrases like “wide-angle shot,” “close-up portrait,” “view from above,” or “action shot.”
Let’s look at an example.
A simple prompt like “a robot working” might give you a basic image. But a more advanced prompt will produce something far more compelling:
“Photorealistic image of a friendly, humanoid robot with a polished chrome finish, carefully assembling a microchip on a futuristic workbench. The background is a clean, modern laboratory with soft blue ambient lighting. Close-up shot focusing on the robot’s hands.”
Experimenting with different combinations of these elements will help you find what works best for your content.
In the next sections, I’ll walk you through exactly how I use these prompts in different tools:
- How I Generate AI Images for WordPress Using ChatGPT
- Generate AI Images Using Gemini (Nano Banana)
- Generate AI Images Inside WordPress Using All in One SEO
- Automatically Generate AI Images in WordPress with Uncanny Automator
- Use SeedProd to Generate AI Images in WordPress
- Use AI Engine to Generate AI Images in WordPress (Free Plugin)
- Copyright and Ethical Considerations for Using AI Images on Your Website
- Frequently Asked Questions About Using AI Images in WordPress
- Additional Resources to Continue Your AI Journey
1. How I Generate AI Images for WordPress Using ChatGPT
I use ChatGPT throughout the day, and one of my favorite features is the ability to generate images directly within the chat window.
For anyone new to this, ChatGPT is an AI chatbot by OpenAI that responds to natural language prompts. Here’s my step-by-step process:
📝 Note: ChatGPT offers AI image generation even on the free plan. However, the free plan is a bit slower, and there is a limit on the number of images you can generate.
1. Write a Descriptive Prompt: I open ChatGPT and type a detailed description of the image I want. For example, “Create a children’s storybook-style illustration of a computer desk at night.” You can get creative with styles, colors, and even moods.

2. Edit and Refine: One feature I really like is the ability to edit images. You can type a new prompt like “make the background darker” or “change the style to watercolor,” and it will regenerate the image based on your feedback.

3. Download the Image: Once you’re happy with the image, hover over it and click the download icon. This will save the final version to your computer.
4. Upload to WordPress: I switch over to my WordPress admin area and go to Media » Add New to upload the image. You can also add it directly to a post using the Image block.

2. Generate AI Images Using Gemini (Nano Banana)
Another powerful and free tool I use is Google’s Gemini. It’s great for brainstorming and creating high-quality images quickly.
I particularly love their newer Nano Banana model, which makes advanced AI image generation accessible to everyday users.
1. Go to Google Gemini: First, head over to Gemini. You’ll need to sign in with your Google account.
2. Write Your Prompt: In the text box, type a detailed description of the image you want. Be specific about the style, subject, and mood. You can also ask Gemini to suggest variations or refine the result with a follow-up message.

3. Generate and Download: Click ‘Generate’ to see the results. Select your favorite image and click the download icon to save it. From there, upload it directly to your WordPress media library.
3. Generate AI Images Inside WordPress Using All in One SEO
For a truly integrated workflow, I like to use All in One SEO (AIOSEO). It’s the best WordPress SEO plugin on the market, with over 3 million active installs and comprehensive AI features including a text and image generator.
Plus, it lets you generate llms.txt and llms-full.txt files, which make your content more easily crawlable by AI bots.
I prefer using AIOSEO’s AI image generator because it comes with easy options to adjust image dimensions, quality, and style. This is a huge time saver — I don’t even have to leave the WordPress editor to generate an image.
Note: The AI assistant and AI image generator features are available even with the free version of AIOSEO. However, you will need to purchase AI credits to generate images. I recommend upgrading to a paid plan, which includes generous AI credits as part of the plan.
Here is how to use AIOSEO’s AI Image generator.
1. Add an image block: Simply add the image block to your content like you normally would, then click on the ‘Generate with AI’ button.

2. Write a prompt: Describe the image you want to generate. Feel free to be as descriptive as possible.
3. Configure image options: AIOSEO lets you select image style, dimensions, and quality options. Use these settings to fine-tune your AI image.

4. Generate Image: Click on the ‘Generate image’ button. You will see an image preview in the popup, and the actual image will be saved to your WordPress media library. Click ‘Insert Image’ to add it to your post.

5. Edit Images with AI: You can also edit existing images. Add the image you want to edit, then click on the ‘Edit with AI’ button in the toolbar.

I used this feature to create a comic book-style character of myself using a profile photo. There are endless ways to reuse and remix existing images with AI.
Overall, I’ve found All in One SEO’s AI image generator the easiest to use since it fits right into my workflow inside WordPress.
4. Automatically Generate AI Images in WordPress with Uncanny Automator
I’ve also used Uncanny Automator to connect ChatGPT with my WordPress site. It’s one of my go-to tools for setting up automated tasks, especially when I want to turn ideas into blog posts with very little manual work.
This plugin works with OpenAI’s GPT models, including image generation. I’ve set up a simple automated workflow using its drag-and-drop recipe builder.
Note ⚠️: For this workflow, you will need to visit the OpenAI developer platform and add payment information to purchase credits. API access is separate from your ChatGPT Plus subscription.
1. Create a Trigger: I start by setting up a trigger. For this, I use WPForms, a top-rated WordPress form builder with over 6 million active installs that works perfectly with Automator. The trigger is “A user submits a form.”
2. Set Up the Action: Next, I add an action to send a prompt from a form field to OpenAI (DALL·E) to generate an image.
3. Automate Post Creation: I add another action to create a new post. Uncanny Automator pulls in the AI-generated image using smart tokens and automatically sets it as the featured image for the new post.

This setup lets me publish full posts — with images and text — in just a few clicks. It’s very useful for creating quick drafts or kicking off content ideas.

If you’re curious about how to set this up, check out our full guide on creating automated workflows in WordPress using Uncanny Automator.
5. Use SeedProd to Generate AI Images in WordPress
If you’re using SeedProd to build pages or themes like I do, you’ll love the built-in AI image generator. It’s available in the premium version and makes it easy to create custom visuals right inside the editor.
How We Use SeedProd: At Awesome Motive, we use SeedProd to design and build entire websites for some of our brands, like Duplicator and Charitable. Its AI Assistant helps our team quickly generate custom graphics and hero images that match each brand’s style, speeding up our design process.
1. Activate SeedProd Pro: First, you need to install and activate the SeedProd plugin. You’ll need the Pro version to access the AI Assistant.
2. Add an Image Block: Inside the SeedProd builder, drag the Image block from the left panel and drop it onto your page preview.

3. Launch the AI Generator: Click on the Image block to open its settings, then click the ‘Add with AI’ button to launch the tool.

4. Write a Prompt: A panel will appear where you can describe the image you want. Be specific about the style, colors, and subject. Click ‘Generate Image’ to see the result.

5. Insert the Image: When the preview appears, click ‘Insert’ to add it directly to your page layout. You can also generate variations or edit parts of the image using the brush tool.

When you’re happy with the image, click ‘Save’ and ‘Publish’ to make it live on your site.
6. Use AI Engine to Generate AI Images in WordPress (Free Plugin)
If you’re looking for a free way to generate AI images in WordPress, AI Engine is worth checking out. I’ve used it for a while, and it connects to major AI platforms like OpenAI, Google, and others.
Just a heads-up — AI Engine tries to do a lot. That makes it powerful, but also a little overwhelming at first. Here’s how to get started with just the image feature:
1. Install and Activate: First, install the AI Engine plugin from your WordPress dashboard.
2. Enable the Image Module: After activation, go to Meow Apps » AI Engine. I suggest enabling only the ‘Images Generator’ setting for now to keep the interface clean and focused.

3. Add Your API Key: Switch to the ‘Settings’ tab. This is where you’ll choose your preferred AI provider and paste in your API key. The plugin links to tutorials if you need help finding your key.

4. Generate an Image: Once set up, go to Tools » Generate Images in your admin sidebar. Type a description in the prompt field and click ‘Generate’. The images are saved to your media library.

Copyright and Ethical Considerations for Using AI Images on Your Website
The legal landscape around AI-generated content is still evolving. That said, most AI image tools grant you broad usage rights for the images you create through their terms of service, covering both personal and commercial projects.
AI tools are trained on massive datasets. This means they may occasionally generate content that accidentally resembles copyrighted work or registered trademarks.
You are still responsible for how you use the final images. Always review them to make sure they are unique and don’t infringe on existing intellectual property, especially for commercial use.
Pro Tip: When in doubt, keep your prompts original and avoid referencing specific brands, logos, living artists, or real people by name.
I believe AI gives people — especially those without design skills — a powerful way to express themselves. It opens doors for creators who just want to tell their story, share an idea, or make something beautiful.
Frequently Asked Questions About Using AI Images in WordPress
Can I use AI-generated images on my website?
Yes. Most major AI tools — ChatGPT, Gemini, AIOSEO, and SeedProd — grant broad usage rights including commercial use. Always review the output to make sure it doesn’t resemble a real person, brand logo, or copyrighted work.
What is the best free AI image generator for WordPress?
The AI Engine plugin is the best free option. It’s available on WordPress.org at no cost and connects to OpenAI, Google, and other AI providers using your own API key. You’ll still pay for API usage, but the plugin itself is free.
Do I need an API key to generate AI images in WordPress?
It depends on the tool. ChatGPT and Gemini work without a WordPress API key — just log in and generate. Plugins like AI Engine require an API key from your AI provider. AIOSEO and SeedProd handle it through their own AI credit system.
What are the usage rights for images from ChatGPT and SeedProd?
Both grant you ownership of the content you create. OpenAI’s terms state you own the output, and SeedProd grants full rights to use generated images on your site, social media, eBooks, and more.
How do I add AI-generated images to my WordPress media library?
If you’re using an external tool like ChatGPT or Gemini, download the image and go to Media » Add New in your WordPress dashboard. If you’re using AIOSEO or SeedProd, the image saves directly to your media library after generation — no download needed.
Additional Resources to Continue Your AI Journey
Now that you know how to generate AI images in WordPress, here are more ways AI can improve your site:
- How to use AI for SEO in WordPress
- How to use AI to boost your marketing
- How to use AI for your lead generation campaigns
- How to write content using an AI content generator
- Best AI blog post generators I actually use and recommend
- How to use AI to autogenerate WooCommerce product descriptions
- How to write powerful headlines using AI
I hope this guide gave you a good starting point for using AI images on your website. From free tools like Gemini to fully integrated solutions like AIOSEO, the options today make it easy to skip stock photos and create original visuals every time you publish.
Don’t forget to check out our image SEO guide and these simple tips to optimize images for speed so your visuals look great and load fast.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.


Olaf
I started with Midjourney, but over time it became difficult to work with because so many people were using it that it became unmanageable on Discord, and almost every prompt I tried was rejected. I also tried other tools, but after ChatGPT-4O was officially released, I started using it along with the paid version. If I need a specific image, it’s no problem; it just sometimes requires a bit more time adjusting the prompts. However, the longer I use this tool, the easier it seems, as I now have a good sense of what output I can typically expect. So, for me, ChatGPT has recently become an excellent helper for graphic creation. You really need the paid version, though, as otherwise, you run out of tokens quickly.
Dayo Olobayo
Thanks for putting this educative piece together. While the potential of AI image generation is undeniable, it’s important to acknowledge that it’s still an evolving technology. There may be limitations in terms of the level of detail or creative control achievable compared to working with a human artist. Ensuring the images align perfectly with your vision might require some trial and error.
Moinuddin Waheed
creating images through ai and using it for the websites is good and makes the final version of the website faster.
however, I feel the same about the stage of ai and how it creates pictures based on different commands. for long term and for precision and exact requirements of images, we still need himan touch.
ofcourse, no denying the impact that ai is creating in different technological spheres.
Jiří Vaněk
I don’t directly use individual AI tools. Well, I tried MidJurney a few times, but it’s practically not functional for free now. However, what I really appreciate are the tools in the Seed Prod page builder. I’ve been using it for about two months, and the image generation tools are absolutely fantastic. It saved me a lot of time searching for images with a free license.
Dayo Olobayo
Yes Jirí, seedProd’s AI image generation is impressive especially for beginners. But how do you find the quality of the images compared to established stock photo services? I’m curious to see how AI-generated visuals evolve and potentially become the new standard.
Moinuddin Waheed
I think images generated by seedprod are good enough to include in the website specially while in the production mode.
This gives a sense of how the website will look like.
but once we have exact look and feel of the website, one would need to make specific details images to suit the requirements of the website which I don’t think ai is capable to produce with such precision.
Jiří Vaněk
Honestly, Dayo Olobayo, sometimes quality isn’t my top priority when it comes to images. There are situations on my blog where I just need to add some graphics, and I don’t really worry too much about whether the image meets a specific quality standard. I run a tech blog, so I’m perfectly fine with the current quality since the images serve more of an informational purpose for me. Of course, if I were a photographer or in a similar field, I’d probably be more concerned with quality. But for a tech blog, I’m completely satisfied. If I were looking for high-quality images, I’d probably approach it differently.
Hajjalah
Hello, thanks for this great article. I had always struggled to find unique photos to use on my blog because the royalty free photos on Unsplash and Pixabay are commonly used by many bloggers.
It was a game changer to find a guide for generating AI photos for WordPress with DALL.E 2 on this article. This has greatly saved a lot of my time which I use to spend creating and designing photos manually on my computer. I obtained a nice look for my blog posts with AI photos and saved a lot of time . Much credit to WPBeginner.
Mrteesurez
Good, but I heard Google may not rank the generated AI Images of search page especially in image search results tab. Is this true ?
WPBeginner Comments
If the images are relevant to the content and are not copying someone else’s work, then the ranking should not have any negative impacts.
Jiří Vaněk
Google currently doesn’t have any tools to distinguish what was generated by AI and what was done by a person in Photoshop. Google doesn’t have such perfect technology. Additionally, as mentioned, it’s about the relevance of the content, not whether the image is from a stock photo, from AI, or if you made it yourself.
Soms
thanks for the article.
can we olso optimize an image create by an AI before loading it into WordPress or we can load it directly after been generated by the AI?
Thanks
WPBeginner Support
The images would be added to your site but there are plugins to optimize images after they have been uploaded to your site of the images are too large
Admin
Mrteesurez
AI is unarguably making blogging stuffs easier and faster. That means I can just be generating images directly from my WordPress site, this is incredible.
But can we use the plugin Imajinn AI to write text over that image for SEO benefits ??
WPBeginner Support
Unless we hear otherwise the Imajinn plugin is not currently designed for adding text to the images, you would need to manually add the text into the image with an image editor.
Admin
Moinuddin Waheed
I think text over images doesn’t serve any purpose as such in terms of search engine optimisation.
for best seo image practices we need to add alternate text , caption and title of the image for the concerned images. this infact helps in seo for images.
However for requirements to add text on the images different image editors can be used.
Moinuddin Waheed
it’s good to see that we can create our own image by artificial intelligence tools for our websites.
Imajinn ai plugin gives the ability to generate ai images directly inside the dashboard, how can we optimize this image right there for its size and other features?
does it come with such options or we would need to go manual way of resizing and reducing the file size and also what about different file formats? does it gives such options?
Thanks for the guide for making image options for websites easy.
WPBeginner Support
Unless we hear otherwise, the plugin does not currently allow for you to pick specific file types or sizes, you would need to use an image optimization plugin for now.
Admin