How to use AI to generate images in WordPress

Want to use AI tools like DALL.E to generate images in WordPress?

AI generated images can be a good alternative to create images for your WordPress blog posts without worrying about copyright.

In this article, we’ll show you how to use AI to generate images in WordPress.

Why use AI tools to generate images for your WordPress site?

There are a ton of paid stock image sites that offer images to use on your WordPress site for a small fee.

However, the cost of these images is an additional cost. Most bloggers and small businesses don’t have the budget for this.

Of course, there are many sites that offer royalty-free images, such as Unsplash or ShutterStock’s limited free library.

But those images are overused and often too generic.

Now, the best way to create images for your website is to make your own images or use your own photos. But not everyone is a professional photographer or digital artist.

This is where artificial intelligence comes in.

AI tools like DALL.E can create unique creations from user-supplied text descriptions.

These images are not only unique but also very creative and artistic.

For example, below is an image of an office desk created by DALL.E 2 against a sunset background. It mimics the common stock image photos you can find on hundreds of websites.

A generic stock photo style that mimics DALL.E 2

Now take a look at this example of artwork created by DALLE.2.

It’s artistic, more colorful and comic style.

DALL.E comic book style artwork

You can see the variety of styles, themes and ideas you can use on the DALL.E home page.

The best part is that you are free to use these images for your blog posts, articles and even landing pages.

That being said, let’s take a look at how to easily use AI-generated images in WordPress.

We will show you two methods using two different AI tools, you can choose the one that works best for you.

1. Create AI images for WordPress with DALL.E 2

DALL.E 2 is an artificial intelligence tool made by Open AI. It is quite popular for its artistic presentation, surrealism, creativity and versatility.

There are no plugins available to integrate DALL.E 2 directly with your WordPress site.

However, you can create images on the DALL.E 2 website and download them to your computer. After that, you can upload those images to your WordPress site.

First, you need to visit the DALL.E 2 website and sign up for a free account that gives you 50 credits for your first month.

After signing up, you’ll see DALL.E’s dashboard with a hint box and some recent artwork created by DALL.E.

DALL-E panel

Enter a text description of the image you want to create in the prompt field. You can be as descriptive and creative as you like.

Click the Surprise Me button to see some examples of instructions you can create.

When you click the Generate button, the AI ​​will generate images based on the prompt you provide and show you four results.

Images created using a prompt

You can download them all to your computer if you want. You can also click on any of the generated images to edit them.

DALL.E’s image editor allows you to expand the frame or nest inside. You can also delete or redo a part of the image.

Edit the image in DALL.E 2

Click the Create button again to have the AI ​​rebuild the image based on your changes.

After downloading the images to your computer, you can return to the admin area of ​​your WordPress site.

You can now upload the image to your WordPress media library by visiting Media » Add New p.

Upload an image to the WordPress media library

You can also add an image directly to your WordPress posts and pages. Just edit the post or page where you want to display the image.

Add the Image block to the post editing screen and then upload the image from your computer.

Adding Image to WordPress Post and Pages

What is the license used for images created by DALL.E 2?

You retain the copyright for the images created by your input to DALL.E 2.

You can use images anywhere, including your WordPress site, YouTube videos, eBooks, magazines, and more.

2. Use Imajinn to create AI images in WordPress

For the first method, we will use Imajinn AI to generate images in WordPress.

Imajinn AI is similar to tools like DALL.E 2, Midjourney, and Stable Diffusion. It creates images using artificial intelligence based on the input you provide.

First you need to install and activate the Imajinn app. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: The basic plugin is free and gives you 10 credits. After that you can buy more credits from the plugin website.

After activation, you must visit Media » Imajinn AI to configure plugin settings and generate images.

First, you must register by providing an email address and password to create your account.

Sign up for a free account

After that, you will be able to start creating images with Imajin AI.

Just provide a detailed prompt that describes the image you want to create.

You can also choose from a list of styles, artist style, style changer filters, and aspect ratio to further customize your prompt.

Image prompt

Below that, you can choose to click the “Invoke” button to launch the Prompt Genie tool.

Based on the quick description you provide, the tool will suggest further quick ideas to create the best image possible.

Tip the genie

You can click the create button to use a suggested prompt, or continue writing your own prompt by copying ideas from the suggestions.

Once satisfied, click the Create button to continue.

The plugin will now start generating images using a cloud-based AI tool. Once done, it will display four image options for you to choose from.

Imajinn created images

Below each image, you’ll find options to share the image, repair the faces (the AI ​​isn’t great at creating human faces), or tap the image.

You can also simply click the Save button to save an image to your WordPress media library.

on the image toolbar

To use the image in your WordPress posts and pages, simply edit the post or page where you want to add the image.

Back on the editing screen, add the Image block where you want to display the image, then click Media Library.

Adding an image to your post and pages

Next, you need to select an earlier saved image from your Media and provide an Alt text for the image.

After that, go ahead and click the Select button to insert the image.

Image added to WordPress post

The plugin also comes with an Imajinn block that you can add to your post or pages and create an image inside the block editor.

Imajinn block

What is the license used for images generated by Imajinn AI?

All images generated by Imajinn AI are provided under a free domain or CC0 license.

You are free to use them on your site as you see fit.

We hope this article helped you learn how to use Artificial Intelligence to generate images for your WordPress site. You can also check out our ultimate SEO image guide and these easy tips to optimize images for speed.

If you enjoyed this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us Twitter: and Facebook.

How to Use AI to Generate Images in WordPress appeared first on WPBeginner.

Leave a Reply