How to Write AI Image Prompts: A Beginner's Guide

Simple formulas and before-and-after examples for better AI images.

AI image generators can create almost anything you can describe, but "almost anything" depends heavily on how you describe it. A vague prompt gives you a generic picture. A clear, specific prompt gives you something that looks like what you imagined.

The good news is that writing good prompts is a simple skill. This guide gives you a formula, examples and a few tricks to try in our free AI Image Generator.

The basic prompt formula

Most strong prompts cover five things, roughly in this order:

  1. Subject: what's in the picture. "A red fox".
  2. Action or detail: what it's doing or what it looks like. "Reading a small book".
  3. Setting: where it is. "Under an oak tree in autumn".
  4. Lighting and mood: how it feels. "Warm golden-hour light, cosy and peaceful".
  5. Style: how it's made. "Watercolour illustration".

Put together: "A red fox reading a small book under an oak tree in autumn, warm golden-hour light, cosy and peaceful, watercolour illustration." In our tool, you can choose the style from the menu instead of typing it.

Before and after examples

Example 1

Before: "a house"
After: "A small wooden cabin in a snowy pine forest at night, warm light glowing from the windows, smoke rising from the chimney, quiet and cosy."

Example 2

Before: "city future"
After: "A futuristic city street at sunset, with green rooftop gardens, people on bicycles and glass buildings reflecting orange light, optimistic mood."

Example 3

Before: "logo coffee"
After: "A simple flat icon of a steaming coffee cup with a small leaf, minimalist, two colours, on a plain white background."

Notice how each "after" prompt answers the questions an artist would ask: what, where, when, what mood and in what style.

Useful words for lighting and mood

  • Lighting: golden hour, soft morning light, dramatic shadows, neon glow, overcast, candlelit, studio lighting.
  • Mood: peaceful, mysterious, cheerful, cinematic, dreamy, nostalgic, energetic.
  • Camera and composition: close-up, wide shot, bird's-eye view, from below, shallow depth of field, centred.

Choosing a style

Style changes everything. The same prompt as a photorealistic image, an anime scene or a pencil sketch will look completely different. Try generating your favourite prompt in three styles; you'll often discover a look you hadn't considered. Use landscape for blog headers and presentations, portrait for phone wallpapers and posters, and square for social media.

Common problems and fixes

  • Too many ideas in one prompt. If you ask for a dragon, a castle, a market, a storm and a wedding, the AI will struggle. Focus on one main subject.
  • Text in images. AI often misspells words in pictures. Add text afterwards in a design app instead.
  • Strange hands and faces. These are common AI mistakes. Generate a few variations and pick the best, or use a wider shot.
  • Not quite right? Change one thing at a time, such as the lighting or the style, so you learn what each word does.

Using AI images responsibly

AI images are great for ideas, illustrations, mood boards and personal projects. A few good habits:

  • Don't create images of real people, or images that could mislead people into thinking something really happened.
  • Avoid copyrighted characters and brand logos.
  • Check the image service's terms before using images commercially.
  • Consider labelling images as AI-generated where it matters, for example in news-style content.

Prompt ideas to try now

  • "A tiny astronaut tending a garden on the moon, soft blue light, whimsical, digital art."
  • "A cosy reading nook by a rainy window, warm lamp light, plants and stacked books, watercolour."
  • "A lighthouse on a cliff during a storm, dramatic clouds, crashing waves, cinematic, photorealistic."

Want to turn your images into a story? Write a script with the AI Comic Generator, or create a whole fictional setting with World Building, then illustrate the key scenes.