Basics · 6 min read
How to Write AI Image Prompts That Actually Work
Knowing how to write AI image prompts is the difference between a frustrating afternoon and a usable image on the second try. A prompt is not a magic spell; it is a description the model reads in order. Once you understand what to put where, you can steer almost any result. You can practice all of this for free on ImageGen with the Nano Banana model and no login.
This guide breaks down a reliable prompt structure, shows worked examples, and lists the mistakes that quietly ruin good ideas.
Use a simple, repeatable structure
A prompt that works most of the time follows this order: subject, then action or pose, then setting, then style, then lighting and mood. For example: "a golden retriever puppy sitting in tall grass, a sunny meadow, soft watercolor illustration, warm afternoon light". Each part answers a different question for the model, and putting the subject first tells it what matters most.
Be concrete, not poetic
Models respond to nouns and clear adjectives, not vibes. "A cozy room" is weak; "a small living room with a worn leather armchair, a brass floor lamp, and a stack of books on a side table" gives the model something to build. Specify colors, materials, and counts. If you want exactly two people, say two.
Avoid contradictions. Asking for "a minimalist scene packed with detail" pulls the model in two directions and you get a muddy compromise.
Control style and camera explicitly
Style words steer the whole image: "photographic", "oil painting", "flat vector illustration", "3D render", "pencil sketch". Camera language steers framing: "close-up portrait", "wide establishing shot", "top-down flat lay", "shallow depth of field". Combine them on purpose, for example "flat lay photo, soft even light" for a product shot versus "dramatic close-up, hard side light" for a moody portrait.
Add negatives by rephrasing
If something unwanted keeps appearing, the fastest fix is often to describe the opposite clearly rather than just naming the problem. Instead of fighting an over-busy background, prompt "plain, uncluttered studio background". Instead of distorted hands, frame the shot to avoid them: "portrait from the shoulders up". Steering toward what you want usually beats listing what you do not.
Iterate one change at a time
When a result is close but not right, change a single element and regenerate. Swap the lighting, or the style, or the setting, but not all three at once. Otherwise you cannot tell which edit caused the improvement. Keep prompts you like in a note so you can reuse the parts that consistently work.
Try it now — free, no sign-up
Open ImageGenFrequently asked questions
- How long should an AI image prompt be?
- Long enough to name the subject, setting, style, and lighting, usually one to three sentences. Past that, extra words tend to dilute focus rather than add control.
- Does word order matter in a prompt?
- Yes. Lead with the most important element. Models weight earlier words more heavily, so put the subject and any must-have detail near the front.
- Why does the model ignore part of my prompt?
- Usually because the prompt is overloaded or self-contradictory. Simplify to one clear scene, move the ignored detail to the front, and remove conflicting instructions.
- Do the same prompts work on both models?
- The same structure works on Nano Banana and GPT Image. The paid GPT Image model tends to follow complex prompts and render in-image text more precisely.