Learn how to use AI generated images for SEO: file names, alt text, WebP formats, IPTC metadata, sitemaps and the checks to run before you publish.

On this page
In short
AI generated images do not hurt your SEO by themselves. Google's guidance judges the page and what it does for the reader, not the tool that drew the picture. What matters is the job the image does: it must match its section, show something true, load fast, and carry a real file name, alt text and metadata. Brief the image from the section, check every detail it shows, then name, compress and describe the file before you publish.
Want to go further? Ask
Quick quiz
How should you use AI in your marketing?
Sorank matches your answers
Test it for 3 days on your own site and see where you stand on Google, ChatGPT and the other AIs.
Start 3-day free trial3 days free, then stop whenever you want. 90-day results guarantee, conditions apply.
An image sends signals to search engines even when nobody clicks it. Four of them carry most of the weight. Each one has its own job, and a generator that writes nothing for you leaves each one empty.
| Signal | Where it lives | What it tells search engines |
|---|---|---|
| File name | The image URL | The subject of the file, in a few words |
| Alt text | The alt attribute of the img tag | What the image shows, for screen readers and for search |
| Nearby text | The paragraph, the caption and the image title | The subject and the context of the image |
| Metadata | Data embedded in the file | How the image was made, and where it may be shown |
Google's image SEO guidance calls the alt text the most important attribute for giving an image more metadata. It also says to place images near relevant text. Those two points decide most of the outcome for a blog article. The file name and the embedded metadata come next.
Image search is a separate channel. Google Images and Google Lens rank pictures on their own, and a person who searches for a picture has a different intent from a reader who came for an article. If that is your goal, start with the image search optimization guide. This article is about the page: images that help the reader, support the text and do not weaken it. For the general method, read the image SEO guide. This one stays on what changes when the image is generated: the brief, the checks for invented details, the metadata and the disclosure.
No, not for being AI generated. Google's guidance on generative AI content (Google Search Central) names spam policies as the risk. It says that using generative AI tools to generate many pages without adding value for users may violate those policies. It also asks you to meet the Search Essentials standards when you publish generative AI content on your site.
The test for an image is the same as the test for a paragraph. Ask whether the image belongs to its section, whether it shows something the reader needs, and whether you would still use it if the tool did not exist. The article on AI content for SEO applies the same logic to the words.
Decoration or working image
The same guidance adds a point most teams miss. It says that metadata, including alt text for images, can appear in Search results, and that it should be reviewed for accuracy. A generator writes alt text in seconds, so the review is your job, not the tool's.

Generating is one of four sources. Each one has a different job, cost and risk. Pick the source first, then write the brief. A generated image is the wrong choice when a photo of the real product would prove more.
| Source | Best for | Main risk | Effort |
|---|---|---|---|
| AI generated | Concept visuals, simple custom diagrams, scenes no photo bank offers | Generic look, invented labels, wrong arrows | Medium, because each image needs a check |
| Stock photo | People, places, a general mood | The same photo appears on many other sites | Low, but you must check the licence |
| Your own or customer photos | Products, results, proof of experience | Hard to get, and you need written permission to show people | High at the start, then low |
| Screenshot or your own diagram | Tutorials, step-by-step guides, comparisons | Goes out of date when the interface changes | Medium |
Principle: you describe the image and a model draws it. When to use it: concept visuals, diagrams built from simple shapes, scenes that no photo bank offers. Advantages: fast, cheap per image, and exactly the subject you need. Limits: a generic style when the prompt is loose, invented details such as fake labels, and a look that can resemble other sites. Example: a blue diagram of four connected pages, made for an article on internal links. Give the model the aspect ratio, the layout, the palette in hex, the position of each element and what must stay out. A loose prompt returns a loose picture.
Principle: you license a photo from a bank and place it in the article. When to use it: people, places, a general mood, or a broad cover image. Advantages: real photography, quick to find. Limits: many other sites use the same photo, and a stock photo rarely explains anything. Read the licence before you publish, because the licence sets where and how long you may use the image. Example: a photographer reviewing printed photos at a desk, as a cover for an article about checking visuals.
Principle: you show the real product, team or result. When to use it: product pages, case studies, proof of a result. Advantages: the strongest sign of experience, and nobody else has the same picture. Limits: it takes time, and you need written permission before you show a person. Example: a before and after view of a product page you rewrote, with the real screen and the real numbers from your own analytics.
Principle: you capture a real interface or draw a diagram yourself. When to use it: tutorials, step-by-step guides, comparisons. Advantages: accurate and specific, and readers trust it. Limits: it goes out of date when the interface changes, so put a review date in your publishing calendar. Example: a screenshot of a settings page, with the one field you describe highlighted.
Tutorial step: which image?
For a tutorial, the screenshot wins, because the reader will click the button that is actually on the screen. For a concept, a generated diagram wins, because no screenshot shows an idea. Mix them when a section needs both.
Treat the image as a deliverable with five steps. The block below is the short version. Each step has detail under it.
The five-step image pipeline
Do not brief the model with the article title. Brief it with the one idea the section explains. A useful brief names the layout (diagram, photograph, flat illustration), the aspect ratio (16:9 for a blog header), the palette (for example #4383f2 with white), the composition (what sits left, what sits right, what is in the centre) and what must stay out. Ask for no text and no logos. You add the labels yourself, in the layout, so you control their spelling and their accuracy.
Example
A flat diagram of four blue pages linked to one central guide page by thin glowing lines. The guide sits in the centre. White background, no text, no logos, no people, 16:9.
Generate three to five versions and keep the one that explains the idea fastest. Reject images with odd hands, faces that look wrong, extra arrows and details that add nothing to the point. Keep the rejected ones in a folder. They show which prompt words cause trouble, and you reuse the good words in the next brief. Change one thing per run, such as the composition, so you learn what caused the change.
Read the image as a reader would. Check every label, arrow, number and logo against your text. Generated pixels often include text that looks right and is wrong: a fake menu name, a misspelled word, a button that exists nowhere. If the image shows a number, that number must come from a source you have read, or the image must not show it. A wrong image teaches a false point in the first seconds, which is worse than no image.
Export at the size the image is shown on the page, not at the generator's full size. A 16:9 header displayed at 1200 pixels wide needs no 4000 pixel master on the page. Keep the master file in another folder. Name the file after its job, in lowercase with hyphens, for example ai-seo-internal-linking-diagram.webp. The file work section explains the details.
Write the alt text for the image in its place in the article. Add a caption when the image shows a result or a step. Keep the embedded metadata in the file. Then check the page on a phone and confirm that the image appears without a visible gap while it loads.
The file is the first thing a crawler reads. Three details decide whether it helps: the name, the format and the weight.
The same image, before and after the file work
Google's image guidance asks for filenames that are short but descriptive, and it says to avoid generic names such as image1.jpg, pic.gif or 1.jpg when possible. Use the words a person would type to find the picture. ai-seo-internal-linking-diagram.webp is better than diagram-final-v3.png. Do not stuff the name with keywords. One clear name is enough.
Check the extension too. The same guidance recommends that the filename extension matches the actual file type. Generators sometimes save a file in one format and you rename it to another. A WebP file named .png can fail in some tools, so run the file through a converter, not a rename.
Google's guidance lists BMP, GIF, JPEG, PNG, WebP, SVG and AVIF as supported formats. For photos and illustrations, WebP or AVIF gives smaller files at a similar quality. PNG suits diagrams with sharp edges and small text, but a PNG can be far heavier than a photo, so check its weight. Most image generators output raster files, so SVG rarely applies to a generated image.
WebP against older formats
Source: Google for Developers, WebP compression study
Lossless WebP keeps transparency, which matters for a diagram with a transparent background. Google's WebP page says it costs about 22 percent more bytes in lossless mode, so test the file before you choose it for every image.
Use the picture element to offer a modern format with a fallback. The example below uses placeholder file names. The img element carries the alt text and the size, so the layout does not jump while the page loads.
<picture>
<source srcset="/images/ai-seo-internal-linking-diagram.avif" type="image/avif">
<source srcset="/images/ai-seo-internal-linking-diagram.webp" type="image/webp">
<img src="/images/ai-seo-internal-linking-diagram.png" alt="Diagram of four blue pages linked to one central guide, with arrows showing the internal links." width="1600" height="900">
</picture>
Leave the main image at the top of the page without lazy loading. It is usually the largest element the reader sees first, and delaying it makes the page feel slow. Lazy loading suits the images further down the article.
Images are often the largest part of a page's weight, which is why they slow pages down. Compress each file to the smallest size that still looks right at the size it is shown. Check the result at 100 percent zoom and at phone width, not on the large screen where you designed it. Compression tools keep the original dimensions, so resize the file to its display width first, then compress it.

Tip
Sorank's free image compressor works in your browser, so the file is not uploaded. It tries WebP for each JPEG and PNG and keeps the smallest result. Resize the file first, because the tool keeps the original dimensions.
Alt text is the attribute that does the most for an image's metadata, and it is also what a screen reader reads aloud. Most AI generated images fail here. The generator writes nothing, or the tool fills the field with a generic phrase such as "image" or "AI picture", which describes nothing.
Alt text replaces the image when the picture cannot be seen. It tells the reader what the image shows and why it is there. Search engines read it as one more signal about the image's subject. Alt text is not a caption, and it is not a place for keywords. The alt text guide covers the definition in more depth.

Describe what is in the image, in the context of its section. Keep it to one sentence. Mention text inside the image only when that text matters, and repeat that text in the body. Do not start with "image of" or "picture of", because screen readers already announce that it is an image. Sorank's free alt text checker flags alt texts longer than 125 characters, which is a practical limit for one sentence.
Warning
An alt text such as "AI SEO images internal links best AI image SEO guide" is a keyword list, not a description. Google's guidance warns that keyword stuffing results in a negative user experience and may cause a site to be seen as spam.
Example
Good: "Diagram of four blue pages linked to one central guide, with arrows showing the internal links."
If an image adds no information, for example a background texture or a divider, give it an empty alt attribute, written as alt="", so screen readers skip it. Do not write a description for decoration. An image you made to illustrate a point is not decorative, so it needs alt text.
Google's guidance says to place images near relevant text, and that the page around an image helps show its subject. Put each image next to the paragraph it illustrates. Write a caption when the image shows a result or a step, and make the caption say what the reader should see. Captions are read by people and by search engines, so keep them specific and honest.
Tip
Run your page through the free alt text checker. It finds images without a proper alt attribute, which is the fastest way to find the gaps in an older article.
Some image metadata is more than a detail. Google's generative AI guidance says that AI-generated images must contain metadata using the IPTC DigitalSourceType property, in its ecommerce section. The Merchant Center policy is stricter and more specific. It says that all images created using generative AI must contain metadata indicating that they are AI generated. The property is set to the value TrainedAlgorithmicMedia, from the IPTC vocabulary.
http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia
The Merchant Center policy also says not to remove embedded tags such as the IPTC DigitalSourceType property. It names the attributes where AI generated images can be used: image_link, additional_image_link and lifestyle_image_link. If you sell products, that list is the one that matters to you.
The tag rule applies to product images in Merchant Center. The Search documentation we checked for this article does not ask blog images to carry the tag. On a blog, the honest choice is a short credit or caption when an illustration could be mistaken for a photo of a real event. That line stops a reader from taking a diagram for a photograph.
Many resize and export tools strip embedded metadata by default. After each export, open the file with a metadata viewer and confirm that the tag is still there. If you sell products, this check is required. If you run a blog, do it anyway, because the same file may later go to a product feed.
Before you upload
Most images are found through the page that holds them, so you do not need an image sitemap for every site. Google's guidance says an image sitemap lets you provide the URLs of images it might not otherwise discover. The page also says these sitemaps can list image URLs from other domains.

Add an image sitemap when images appear only after the page renders, for example through JavaScript. It also helps when a content delivery network serves your images from another domain, because an image sitemap can list those URLs, unlike a standard sitemap. Generated images placed in a gallery that crawlers reach late are another good case.
Add the image namespace to the urlset tag, then list each image under the page that shows it. The example below has one page and one image.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://www.example.com/blog/ai-seo-internal-linking/</loc>
<image:image>
<image:loc>https://cdn.example.com/images/ai-seo-internal-linking-diagram.webp</image:loc>
</image:image>
</url>
</urlset>
Submit the sitemap in Search Console or reference it in robots.txt, then check that each image URL answers with a 200 status. Keep the sitemap in step with your publishing. The image sitemap guide covers the full syntax.
The image should sit in an img element with a real src URL. An image that exists only as a CSS background or a canvas drawing is hard to index. Do not block the image folder in robots.txt, because a blocked folder stops Googlebot-Image from fetching the file. Check the image URL in a browser while logged out, and confirm it loads.
Most image problems follow the same few patterns. Each one below says what it is, how to spot it and how to fix it.
What it is: alt text written as a list of search terms. How to spot it: read the alt text aloud. If it does not describe a picture, it is stuffed. Run the page through the alt text checker and read the longest entries first. How to fix it: rewrite each alt text as one sentence that describes the image in its section.
What it is: image1.jpg, pic.gif, or the name the generator gave the file. How to spot it: sort your media library by name and look for numbers and default names. How to fix it: rename the file before upload. If the image is already linked and indexed, redirect the old URL to the new one, so existing links keep working.
What it is: a WebP file saved with a .png name, or the reverse. How to spot it: open the file with a tool that reads the real format, not the name. How to fix it: convert the file with a converter, then rename it to match the new format.
What it is: a full size PNG from the generator shown in a narrow column. How to spot it: compare the file's pixel size with the space it fills on the page, and check the page weight in a speed test. How to fix it: export at display size, convert to WebP or AVIF, and check the weight again.
What it is: the image sits at the bottom of the article while the paragraph it illustrates is above. How to spot it: read the article without the images and see which picture belongs to which paragraph. How to fix it: move the image next to its paragraph, as Google's guidance asks.
What it is: labels, titles and steps drawn inside the picture. How to spot it: text inside an image cannot be selected, copied or read by a screen reader. How to fix it: keep the text in the image short, and repeat the key points in the body or in the caption.
What it is: a generated diagram shows a wrong step, a fake interface or the logo of a real company. How to spot it: check every element against your source before you publish. How to fix it: rebuild the diagram by hand, or remove the element. Do not publish a logo you do not have the right to use.
What it is: the file loses the tag that marks it as AI generated. How to spot it: check the file after each export, as described in the metadata section. How to fix it: change the export setting, or use a tool that keeps the metadata.
Audit list for existing articles
If you publish many articles, the steps above add up to a lot of work. Sorank's blog article generator writes sourced articles from a keyword and adds AI images to each one. Each image comes with an alt text you can edit, and the article score checks the alt texts. You still need Step 3 from the pipeline: check what each image shows before you publish.
Sorank is one option. The steps in this guide work with any tool, or with none. Start with the free alt text checker on your current articles, and fix the gaps this week.
Use this table as the last check. A row that fails is a row to fix before you publish.
| Check | Pass when |
|---|---|
| File name | It is lowercase, short and descriptive, with hyphens between words |
| Format | WebP or AVIF with a fallback, or PNG for a diagram with small text, and the extension matches the format |
| Size | The file is exported at display size and compressed |
| Alt text | One sentence describes the image in its section, with no keyword list |
| Nearby text | The paragraph or caption explains what the image shows |
| Facts | Every label, number and logo is checked against a source |
| Metadata | The IPTC tag is still in the file where a feed requires it |
| Sitemap | Images are listed when they load late or come from a CDN |
AI generated images are an ordinary part of a page. They help when they fit the section, carry a clear name and alt text, load quickly and show nothing false. Brief the image from the section, check it, then publish it with the same care you give the text.
No, not for being AI generated. Google's guidance on generative AI content focuses on spam policies and on the value a page gives the user. An image that does not fit its section adds nothing, and Merchant Center requires an IPTC label on AI generated product images.
Yes. Google's image guidance calls alt text the most important attribute for giving an image more metadata, and screen reader users depend on it. Describe what the image shows in the context of its section, in one plain sentence, without a keyword list.
The Search documentation we checked does not ask blog images to carry the Merchant Center label. A short caption or credit line helps readers when an illustration could be mistaken for a real photo. Keep the embedded metadata in the file so the choice stays open.
