---
title: How to write AI prompts for images
metaTitle: How to write AI prompts for images
description: How to write AI prompts for images: the five parts of a good one, before-and-after examples, and how to turn a picture you like into a prompt. Free to try.
slug: how-to-write-ai-prompts-for-images
authors: [ilai-szpiezak]
published: 2026-11-30
updated: 2026-12-01
primaryQuery: how to write ai prompts for images
queries: [ai image prompt guide, photo to prompt, prompt from image, how to write ai image prompts]
cluster: image to prompt
section: improve-prompts
heroSrc: /guides/images/how-to-write-ai-prompts-for-images/hero.jpg
ogSrc: /guides/images/how-to-write-ai-prompts-for-images/og.jpg
ogImageWidth: 1200
ogImageHeight: 630
heroAlt: Image to Prompt workflow — brief request, London spring illustration, and the generated reverse-engineered prompt with style and lighting highlights
ogImageAlt: How to write AI prompts for images — Pretty Prompt Guides; London skyline in spring with sample image prompt
heroCaption: When you have a reference image but not the words, Image to Prompt reverse-engineers subject, style, light and composition into prompt text you can edit before pasting into your image model.
cta: install
faqJson: |
  [
    {"q": "How do I write a good image prompt?","a": "Name the subject in plain nouns, say what it is doing and where, pick one style and one kind of light, then spell out framing and aspect ratio. Change one thing per round instead of rewriting the whole prompt."},
    {"q": "How long should an image prompt be?","a": "Long enough to cover subject, action, setting, style and light clearly. Official guides favour specific phrases over a wall of adjectives. If results drift, add one detail at a time rather than pasting a paragraph."},
    {"q": "Can I turn a photo into a prompt?","a": "Yes. Upload the reference to Image to Prompt in the Pretty Prompt web app, read the structured prompt it returns, then edit it before you paste into your image model."},
    {"q": "Do the same prompts work in every image model?","a": "The same skeleton usually works, but each model weighs style, negatives and aspect ratio differently. Test once in the tool you use and adjust framing or lighting if the output is off."},
    {"q": "What should I leave out of an image prompt?","a": "Skip vague mood words with no anchor (e.g. \"cool\", \"vibe\", \"aesthetic\", \"striking\", \"epic\"), two styles at once, and long lists of things you do not want unless your model supports negative prompts. Describe what you want in the scene instead — concrete nouns, one style and one light."}
  ]
related: [how-to-write-ai-prompts, how-to-fix-a-prompt-that-isnt-working]
---

How do you write an image prompt that actually looks like what you had in mind? What do you put in first? And what if you only have a picture you like, not the actual words to describe it?

A good image prompt names the **subject**, what it is **doing**, **where** it sits, the **style**, and the **light/frame**. If you cannot get that onto the page, start from a reference picture and work backwards. That is how we built [Image to Prompt](/image-to-prompt) in the web app. 

It's made for people like you (or me!) who might have an idea of the image they want to create, but can't find the right words to describe it. This is where using a reference image or screenshot comes super handy. 

For text prompts in chat, see [how to write AI prompts](/guides/how-to-write-ai-prompts). To fix a weak prompt, see [how to fix a prompt that isn't working](/guides/how-to-fix-a-prompt-that-isnt-working).

## Before you start

- Pick **one** image model for the first test (Gemini, Flux, Imagen, or whatever you already use).
- Know what the image is **for** (social post, product shot, slide, mock-up).
- Have **one reference image** ready to use as example.
- Open your generator or use these [image generation examples](/use_case/image-generation) if you need inspiration.

## Step 1: Name the subject in plain nouns

Start with who or what is in the frame. Nouns beat adjectives.

**Before (vague):**

```text
something cool for my startup
```

**After (clear):**

```text
Subject: Three people at laptops in a bright co-working space.
```

## Step 2: Say what it is doing and where

Add a verb and a setting. The model needs motion and place, not just a noun.

```text
Subject: Product manager presenting a slide on a wall-mounted screen.
Action: Gesturing at a simple bar chart.
Setting: Small meeting room, white walls, one plant in the corner.
```

## Step 3: Pick one style and one kind of light

Lock **one** visual style and **one** lighting setup. Mixing "oil painting" and "studio product photo" in the same prompt usually muddies the output.[^adobe]

```text
Style: Editorial photo, shallow depth of field.
Lighting: Soft morning light from camera left.
```

## Step 4: Say the framing and what to keep or skip

Spell out shot type and aspect ratio. Mention "leave out" lists only if your model supports **negative prompts** (many do not, so prefer describing the scene positively).[^google]

```text
Framing: Medium-wide shot, team slightly off-centre.
Aspect ratio: 16:9.
Keep: Laptops and an orange coffee cup on the table.
Skip: Logos and readable text on screens.
```

## Step 5: Change one thing per round

If the image is close but not right, change **one** line (light, angle, wardrobe colour) and generate again. Big rewrites waste credits and throw away what already worked.[^openai]

## Step 6: No words for it? Start from a picture

When you have a reference image, upload it to the Pretty Prompt **[Image to Prompt](https://app.pretty-prompt.com/playground/image-prompt)** in the web app.

1. Open [Image to Prompt](/image-to-prompt) generator.
2. Upload the photo, screenshot or image you want to copy and click Generate prompt.
3. Read the prompt created from the reference image (style, composition, subject).
4. Edit one or two lines, then paste into your image model.

That is a **prompt from image** workflow: picture first, words second.

I actually used Image to Prompt to help me recreate a landing page I liked from another company. I uploaded a screenshot of the hero section, and Pretty Prompt reverse-engineered the style of the page. That gave the AI enough context to get the design I wanted. From a personal perspective, it has been one of the most valuable features we have built. It works for image models, but also product and website screenshots, and any other visual reference you can upload.

Image to Prompt will not pick your campaign concept for you — it turns a reference you already have into editable prompt text. For **text** prompts in chat, the four-part structure in [how to write AI prompts](/guides/how-to-write-ai-prompts) still applies; images just need style and light on top.

## Rules of thumb

- **One style per prompt.** "Cinematic noir" and "pastel watercolour" fight each other. Ok if you want something specific, but if you're after a style, stick with it.
- **Describe the scene positively.** "Empty street" often works better than a long list of banned objects.[^google]
- **Numbers for framing.** "16.9" and "close-up portrait" beat "kind of wide".
- **Save what worked.** Drop winner prompts into your [Prompt Library](/prompt-library) so you are not retyping them.
- **Compare models if you are unsure.** Run the same prompt across multiple models to see what comes out.

### Before and after (London spring)

Same scene — the short prompt leaves style, landmarks and light to chance. The long one locks subject, vantage point, references and art direction.

**Before (weak):**

```text
london landscape with pink tree
```

**After (clear):**

```text
A beautiful anime-style illustration of the London skyline on a bright spring day, viewed from a high vantage point over rows of traditional brick houses with sloping roofs. In the foreground on the left, a large cherry blossom tree with vibrant pink flowers and falling petals frames the composition. In the midground, the River Thames flows past iconic London landmarks including the London Eye, St Paul's Cathedral, The Shard, 30 St Mary Axe, and Tower Bridge. The sky is a serene light blue filled with soft, fluffy cumulus clouds touched with warm golden hour light. The art style is reminiscent of Makoto Shinkai or Studio Ghibli, featuring crisp linework, vibrant yet gentle colours, and a peaceful, picturesque atmosphere.
```

Reference image beside the generated output for the same London spring scene (created with Image to Prompt):

![Reference image and generated output of an anime-style London spring skyline — created with Image to Prompt](/guides/images/how-to-write-ai-prompts-for-images/london-spring-example.jpg)

:::cta
:::

[^openai]: OpenAI, "Image generation" (prompting and iterative edits), https://platform.openai.com/docs/guides/image-generation (checked 30 November 2026).

[^adobe]: Adobe, "Writing effective text prompts" for Firefly, https://helpx.adobe.com/firefly/web/work-with-images/generate-images/writing-effective-text-prompts.html (checked 30 November 2026).

[^google]: Google, "Nano Banana image generation" (Gemini API image prompting), https://ai.google.dev/gemini-api/docs/image-generation (checked 30 November 2026).