Guide

    How to write AI prompts for images

    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.

    By Ilai SzpiezakUpdated 4 min read

    View as Markdown

    Image to Prompt workflow — brief request, London spring illustration, and the generated reverse-engineered prompt with style and lighting highlights
    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.

    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 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. To fix a weak prompt, see how to fix a prompt that isn't 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 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):

    something cool for my startup
    

    After (clear):

    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.

    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.1

    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).2

    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.3

    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 in the web app.

    1. Open 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 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.2
    • Numbers for framing. "16.9" and "close-up portrait" beat "kind of wide".
    • Save what worked. Drop winner prompts into your 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):

    london landscape with pink tree
    

    After (clear):

    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

    Sources

    Footnotes

    1. 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). ↩

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

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

    Common questions

    ?