Free, independent guides since 2010

Build with AI

AI images for your website: tools, rights and optimisation

How to use AI image generators for website visuals in 2026: which tools to use for what, prompts that work, copyright and labelling, honesty rules, and how to optimise files and alt text.

<guide section="Build with AI" type="article" read="2 min"/>

Good images make a website. Before AI, small sites had three options: your own photos, stock photos, or paying a designer. Image generators added a fourth. Used well, they give you unique illustrations in minutes. Used carelessly, they make a site look fake. Read our classic guides on copyright-free stock photos and copyright issues with photos too – the same principles apply.

When AI images work – and when they do not

Good useBetter avoided
Illustrations explaining a concept“Photos” of your team or customers
Abstract hero backgrounds and patternsProduct photos that differ from the real product
Blog post headers and iconsFake “before and after” or result photos
Mock-ups and mood boards during designImages of real people, places or events
Editing your own photos: background, cropping, extendingCopying a recognisable artist’s style or a brand’s look

Which generator for which job

  • Precise edits and text in images: GPT Image in ChatGPT, Ideogram.
  • Photorealism and consistent series: Google’s Gemini image models (“Nano Banana”).
  • Artistic illustration: Midjourney.
  • Lowest legal risk for commercial work: Adobe Firefly, trained on licensed content.
  • Open, self-hostable workflows: FLUX models.

See our AI toolbox for the full overview.

Prompts that produce website-ready images

Plain text
Wide 16:9 website hero illustration, flat vector style, warm cream
background, a bicycle wheel transforming into a gear, dark green and
brass accents, lots of empty space on the left for a headline,
no text, no logos, no people.
  • State the aspect ratio and where empty space is needed for text.
  • Name your brand colours.
  • Say “no text, no logos” unless you need them – generated text is often wrong.
  • Generate a series in one session so the style stays consistent.

Rights, honesty and labelling

  • Read the terms of your generator: commercial use, attribution and indemnity differ.
  • Avoid recognisable people, logos, characters and the names of living artists in prompts.
  • Do not present AI images as real photos of real events, people or products.
  • The EU AI Act requires disclosure of deepfakes; see the EU AI Act and your website.
  • Many generators embed provenance metadata (such as C2PA “Content Credentials”). Do not strip it on purpose.
  • For shops: Google Merchant Center requires AI-generated product images to carry metadata marking them as AI-generated.

Optimise like any other image

  1. Generators output large files: resize to the display size (for example 1600 px wide for a hero).
  2. Compress and use a modern format where possible – see responsive images.
  3. Give the file a short, descriptive name, not image_8f3a2c.png.
  4. Write real alt text – see the alt attribute and SEO. Decorative illustrations get an empty alt.

Frequently asked questions

Can I use AI-generated images commercially?

Most major generators allow commercial use under their terms, sometimes only on paid plans. Copyright protection of the image itself is uncertain in many countries, and you remain responsible if an image resembles someone else’s work or trademark.

Should I label AI images on my website?

Be honest whenever an image could be mistaken for reality, such as people, places or products. Under the EU AI Act, deepfakes must be disclosed, and shops using Google Merchant Center must mark AI-generated product images in the file metadata.