How to Write Better AI Image Prompts

AI image prompt engineering guide banner
← Back to Articles

If you've ever typed a vague idea into an AI image generator and been disappointed by the result, you're not alone. The gap between what you imagine and what the AI produces almost always comes down to how you phrase your prompt. Prompt engineering isn't magic — it's a skill, and like any skill, it can be learned.

This guide breaks down the building blocks of an effective AI image prompt, with examples you can use right away across Gemini, ChatGPT, and other AI image tools.


The Anatomy of a Great Prompt

Think of your prompt as a director's brief. The AI is your cinematographer — talented, but literal. The more specific and structured your brief, the better the shot.

A strong prompt typically includes these layers:

  • Subject — What (or who) is the focus?
  • Action / Pose — What is the subject doing?
  • Environment / Setting — Where does this scene take place?
  • Style / Medium — Is it a photo, painting, illustration, 3D render?
  • Lighting — What does the light look and feel like?
  • Mood / Atmosphere — What emotion should the image evoke?
  • Composition / Framing — Wide shot? Close-up? Bird's-eye view?
  • Quality modifiers — "8K", "photorealistic", "highly detailed"

You don't need every layer in every prompt. But the more layers you include, the more control you have over the output.

Layer 1: Start with a Clear Subject

The subject is the anchor of your image. Be specific. Instead of "a cat", write "a fluffy orange tabby cat". Instead of "a building", write "a brutalist concrete apartment tower from the 1970s".

Vague subjects produce generic images. Specific subjects produce memorable ones.

Weak prompt A woman standing in a forest
Strong prompt A young woman in a moss-green wool coat, standing between ancient oak trees in a misty autumn forest, looking over her shoulder

Layer 2: Set the Scene

Context transforms a subject into a story. The environment — time of day, weather, season, location — dramatically changes the mood of an image.

Consider these pairs:

  • "a street" vs. "a rain-slicked cobblestone alley in 1920s Paris at midnight"
  • "a kitchen" vs. "a sunlit Moroccan kitchen with terracotta tiles and hanging copper pots"
  • "the ocean" vs. "a stormy North Atlantic ocean at dusk, whitecaps crashing"

The second in each pair gives the AI a rich visual world to work within.

Layer 3: Define the Visual Style

This is where you make the most dramatic jump in quality. Style references tell the AI not just what to draw, but how to draw it.

Common style keywords that work well:

  • Photography styles: "cinematic photograph", "35mm film photography", "documentary photo", "editorial fashion photography"
  • Painting styles: "oil painting", "watercolour illustration", "impressionist painting", "ukiyo-e woodblock print"
  • Digital art: "digital concept art", "3D render", "Unreal Engine 5 render", "isometric illustration"
  • Artist references: "in the style of Vermeer", "Studio Ghibli aesthetic", "shot by Annie Leibovitz"
Style modifiers are the single biggest lever you have. Adding "cinematic photograph, golden hour, shot on Kodak Portra 400" to almost any prompt will dramatically improve it.

Layer 4: Master Lighting

Professional photographers say "it's all about the light." The same is true for AI images. Lighting modifiers shape mood, depth, and drama more than almost anything else.

Lighting keywords to experiment with:

  • Natural light: golden hour, blue hour, overcast diffused light, midday harsh sunlight, moonlight
  • Studio light: soft box, Rembrandt lighting, rim light, backlighting
  • Atmospheric: volumetric light, God rays, bioluminescent glow, neon reflections
Example prompt with lighting Portrait of an elderly fisherman, weathered face, leaning against a wooden harbour railing, overcast sky, soft diffused light, documentary photography style, shallow depth of field, shot on Canon EOS R5

Layer 5: Add Mood and Atmosphere

Mood is the emotional register of your image. Use adjectives that describe feeling rather than appearance: "melancholic", "triumphant", "serene", "foreboding", "playful", "ethereal".

Pair mood words with physical atmosphere: "a thick morning fog", "heat haze rising from asphalt", "crackling firelight warmth". Physical atmosphere carries emotional weight automatically.

Layer 6: Frame Your Shot

Camera framing terms work surprisingly well with AI generators:

  • Distance: extreme close-up, close-up, medium shot, wide shot, establishing shot, aerial view
  • Angle: low angle, high angle, eye-level, bird's-eye, Dutch angle (tilted)
  • Lens: wide-angle, telephoto, macro, fisheye, tilt-shift
  • Depth: shallow depth of field (blurred background), deep focus (everything sharp)

Layer 7: Quality Modifiers

These are short phrases that signal "make this look excellent":

  • photorealistic, hyperrealistic
  • highly detailed, intricate detail
  • 8K, ultra HD
  • professional, award-winning
  • sharp focus, crisp edges

Use them sparingly — two or three at the end of your prompt is usually enough. More isn't always better.


Putting It All Together

Here's a before-and-after that combines everything above:

Before A city at night
After Aerial wide shot of Tokyo at night, neon signs reflecting in rain-wet streets below, blue hour sky, volumetric light rays cutting through fog, cinematic photograph, shot on Sony A7R V, Blade Runner aesthetic, highly detailed, photorealistic

The difference in output quality between these two prompts will be dramatic. The second gives the AI a complete visual world to inhabit — it knows the subject, the mood, the light, the style, and the framing.


Key Takeaways

  • Specificity beats vagueness every time
  • Style modifiers are your biggest quality lever
  • Lighting shapes mood more than any other single element
  • Camera framing terms translate directly into AI outputs
  • Build prompts in layers — subject, setting, style, light, mood, composition, quality

The best way to learn is to experiment. Take a prompt from our prompt gallery, study its structure, then remix it with your own subject. That's how most great prompts are born.

Share: Twitter / X LinkedIn Browse Prompt Gallery →