How to Write AI Image Generation Prompts

Learn how to structure AI image generation prompts with clear subjects, styles, compositions, and details to produce more consistent visual results.

Published October 7, 2026 Answers from 3 leading models
GPT-6 Luna

The basic method

To write effective AI image generation prompts, describe the image in a deliberate order: subject, action or pose, setting, composition, visual style, lighting, color, mood, and output requirements. Start with the most important idea, add only details that materially affect the result, then generate a small set of variations and refine one instruction at a time.

A useful prompt is not necessarily long. It is specific, internally consistent, and visually understandable. “A cinematic portrait of an astronaut” establishes a direction, while “a close-up cinematic portrait of an astronaut with a scratched gold visor, reflected desert sunrise, warm rim light, shallow depth of field, muted orange and teal color palette” gives the image model enough information to make more controlled decisions.

Different image generators interpret wording, parameters, reference images, and style instructions differently. A prompt that works well in one application may need to be shortened, reorganized, or paired with controls in another. Treat prompt formulas as starting points rather than universal commands. Image prompting | OpenAI API Write effective text prompts for Adobe Firefly | Firefly Documentation – Midjourney

A reusable prompt structure

You can write most prompts using this sequence:

[Image type] of [main subject] [action or pose], in [setting], [composition and viewpoint], [style or medium], [lighting], [color palette], [mood], with [important details], formatted for [intended use].

For example:

Editorial product photograph of a matte-black insulated water bottle standing on a pale limestone block, minimalist desert background, three-quarter view, centered composition with generous negative space, soft morning sunlight, warm beige and charcoal palette, premium outdoor-lifestyle mood, no visible logo, vertical composition for a product-page hero image.

The order is not rigid, but it helps prevent a common problem: mentioning attractive visual details without explaining what the image is actually supposed to show. Begin with the visual subject and purpose, then add details that influence its appearance.

The elements of a strong image prompt

1. Define the subject

State what the image is about in concrete terms. Include the subject’s identity, number, material, age or condition when relevant, and the attributes that must remain visible.

Compare:

  • “A dog in a park”
  • “A muddy golden retriever puppy carrying a red tennis ball through a rain-wet city park”

The second prompt identifies the animal, age, condition, object, color, and environment. Avoid adding details that conflict with one another, such as “a tiny enormous building” or “a dark, brightly sunlit night scene,” unless the contradiction is intentional and you explain the surreal effect.

For multiple subjects, specify their relationship:

Two elderly siblings sitting side by side on a wooden bench, one holding a folded map while the other points toward a distant lighthouse.

This is more useful than listing “two people, a bench, a map, a lighthouse,” because the model receives an action and spatial relationship rather than an unconnected inventory.

2. Describe action, pose, and expression

Verbs and spatial relationships often control an image more effectively than abstract adjectives. Say that a person is “looking over their shoulder,” “reaching toward a floating lantern,” or “walking away from the camera,” rather than merely calling the pose “dynamic.”

For portraits, specify:

  • head position and gaze;
  • facial expression;
  • hand placement;
  • clothing and accessories;
  • whether the image is a headshot, waist-up portrait, or full-body scene.

For scenes, explain what is happening and what should attract attention first. A prompt such as “a cyclist crossing a bridge during a storm, viewed from low on the wet pavement, with headlights reflected in puddles” contains action, viewpoint, and a visual path for the viewer’s eye.

3. Establish the setting and time

Name the location and the environmental conditions that matter:

  • interior or exterior;
  • architecture, landscape, or room type;
  • season and time of day;
  • weather;
  • foreground, middle ground, and background elements.

Instead of “a fantasy castle,” try:

An abandoned basalt castle on a windswept island, narrow windows glowing with candlelight, sea mist between the cliffs, storm clouds gathering at dusk.

The setting should support the subject. If every background detail is equally elaborate, the result may become visually crowded. Use phrases such as “simple background,” “uncluttered studio setting,” or “softly blurred background” when the subject needs priority.

4. Control composition and viewpoint

Composition describes how the image is framed. Useful terms include:

  • close-up, medium shot, full-body, wide shot;
  • overhead view, eye-level view, low angle, bird’s-eye view;
  • centered composition, symmetrical composition, rule-of-thirds composition;
  • foreground subject, distant background, layered depth;
  • negative space on the left or right;
  • portrait orientation, landscape orientation, or square format.

Composition terms work best when tied to a purpose. For example:

A wide landscape composition with the climber small in the lower-right third and open sky occupying the upper half, leaving clear negative space on the left for headline text.

This gives the model both a layout and a reason for it. If an image will be used in a poster, thumbnail, social post, or website banner, say where text or cropping must remain possible.

5. Specify the visual language

“Style” can refer to several different things, so be precise about which one you want:

  • Medium: oil painting, watercolor, ink drawing, paper collage, 3D render, photograph.
  • Design approach: editorial, minimalist, surreal, art nouveau, retro-futurist, documentary.
  • Surface and texture: grainy film, rough brushwork, polished glass, handmade paper.
  • Production characteristics: studio photography, architectural visualization, concept art, children’s picture-book illustration.

A style label alone can be too vague. Combine it with observable characteristics:

Hand-painted gouache illustration with visible paper grain, simplified geometric forms, limited navy-and-terracotta palette, and crisp flat shadows.

Be cautious when requesting the exact style of a living artist or a contemporary creator. A safer and often more useful approach is to describe the medium, period, techniques, composition, palette, and mood you want. That produces a usable creative direction without depending on a person’s name.

6. Describe lighting, color, and mood

Lighting terms have practical visual consequences:

  • soft diffused window light;
  • hard midday sunlight;
  • warm candlelight;
  • cool fluorescent light;
  • rim lighting around the subject;
  • dramatic side lighting;
  • volumetric light through fog or dust;
  • high-key bright lighting or low-key shadow-heavy lighting.

Color instructions should be limited to a coherent palette. “Muted sage green, cream, and rust orange” is more actionable than “beautiful colors.” Mood words help, but they work best when supported by lighting and environment. “Quiet and nostalgic” can become more concrete as “faded colors, late-afternoon light, worn wooden surfaces, and gentle film grain.”

Do not stack many near-synonyms—“dramatic, epic, powerful, intense, striking, spectacular”—unless each word adds a distinct visual instruction. Excessive adjectives can compete for attention and make it harder to identify the essentials.

7. State text and layout requirements explicitly

Image models have improved at rendering text, but lettering can still be inconsistent, especially when the image contains several words, small labels, unusual names, or dense information. If text is essential, describe it plainly:

A clean bookstore poster with the exact headline “READ MORE” in large uppercase cream letters, centered at the top, with no other text.

Use quotation marks to distinguish literal wording from visual description. Specify placement, capitalization, language, and approximate size. For an important logo, label, menu, map, or data visualization, plan to correct or add the text in a design application after generation.

When possible, separate image creation from typography. Generate an uncluttered image with deliberate empty space, then place precise text in a layout tool. This gives you reliable control over spelling, alignment, accessibility, and later revisions.

How to write prompts for different kinds of images

Photorealistic images

Photorealism benefits from describing the subject, camera viewpoint, lighting, environment, and photographic intent rather than simply writing “photorealistic.”

Documentary-style photograph of a fisherman repairing a blue net beside a small harbor at dawn, weathered hands in the foreground, eye-level medium shot, cool mist, soft natural light, restrained colors, candid and unposed atmosphere.

Terms such as “natural light,” “shallow depth of field,” “wide-angle view,” or “studio portrait” can help, but do not combine camera instructions that imply incompatible results. A close-up and a distant wide shot require different framing. “Shallow depth of field” also conflicts with a requirement that every background detail be sharply visible.

Illustrations and concept art

For art and illustration, identify the medium, shape language, palette, and degree of detail:

Whimsical children’s-book illustration of a small red fox delivering letters through a snowy village, rounded shapes, hand-painted watercolor and colored-pencil texture, soft blue shadows, warm window lights, gentle storybook mood.

Concept-art prompts can specify world-building elements, but distinguish major forms from decorative details. “A monumental observatory built into a red canyon wall, with a narrow bridge leading to its entrance” establishes a readable silhouette before adding windows, vehicles, banners, and surface textures.

Product, advertising, and editorial images

Commercial prompts should identify the audience and intended composition. Mention whether the product must remain unchanged, whether a logo should be visible, and where copy may be placed.

Clean editorial photograph of a ceramic travel mug on a pale wooden desk beside an open notebook and a small branch of eucalyptus, soft side light from the left, muted neutral palette, top-down three-quarter view, uncluttered right side reserved for copy.

If using a reference image, state what must be preserved and what may change:

Use the uploaded mug as the exact product reference. Preserve its shape, handle, lid, and color. Change only the background to a warm minimalist kitchen with morning light.

Reference-image workflows vary considerably between systems. Some use an image to guide composition, some to preserve identity or product appearance, and some to transfer style. State the intended role instead of assuming the tool will infer it. Image prompting | OpenAI API Write effective text prompts for Adobe Firefly | Firefly

Diagrams, interfaces, and infographics

These are harder than ordinary scenes because they require spatial accuracy and readable labels. Describe the structure first:

Flat educational diagram of the water cycle, showing evaporation from the ocean, condensation in clouds, precipitation over mountains, and collection in a lake, four clearly separated stages, arrows connecting each stage clockwise, clean white background, simple blue-and-green palette, minimal labels.

For precise technical or data-heavy graphics, use the generated image as a draft or visual reference rather than assuming it is publication-ready. Rebuild labels, arrows, measurements, and interface controls with deterministic design software when accuracy matters.

Negative prompts, exclusions, and constraints

Some tools provide a dedicated negative-prompt field; others expect exclusions in the main instruction, and some respond inconsistently to long lists of forbidden features. When exclusions are useful, describe the desired correction positively first:

A clean, uncluttered portrait with both hands naturally visible and a simple neutral background.

Then add a short exclusion if the tool supports it:

Avoid extra fingers, duplicate people, cropped hands, and visible text.

Long negative lists can accidentally emphasize the very concepts they mention or create contradictory instructions. Focus on a few likely failure modes. “No blur” may also remove desirable background depth, so “sharp focus on the face with a softly blurred background” is clearer.

Constraints should be prioritized. Identify what is non-negotiable—such as a subject’s identity, product shape, number of people, or exact headline—and what is flexible, such as background color or decorative objects. This is particularly important when editing an existing image.

An efficient prompting workflow

Start with a visual brief

Before writing, answer four questions:

  1. What must the viewer see first?
  2. What is the subject doing?
  3. Where and when does the scene occur?
  4. What output shape or layout is required?

Turn those answers into one plain-language prompt. Do not begin by collecting style keywords from lists. A clear visual brief gives the model a coherent scene to interpret.

Generate a baseline

Use the first prompt to establish composition and subject identity. Avoid changing the subject, style, lighting, and layout all at once. The first generation is a diagnostic: it shows whether the model understood the central idea.

Refine one variable at a time

Useful revision instructions include:

  • “Keep the subject and composition; change the lighting to soft morning light.”
  • “Keep the background and palette; make the camera viewpoint eye level.”
  • “Preserve the product exactly; remove the extra object on the table.”
  • “Make the person’s expression calmer and leave more space above the head.”

This approach makes cause and effect easier to understand. If you rewrite the entire prompt after every result, you may not know which change improved or damaged the image.

Use editing and references strategically

For a good image with one flawed detail, an edit or targeted regeneration is usually more efficient than starting from scratch. Identify the region and the required change:

Replace only the sign in the background with a blank wooden sign. Preserve the people, lighting, perspective, and color palette.

For consistency across a series, use reference images where the tool supports them and describe the aspects to preserve: character identity, clothing, product geometry, camera angle, or color scheme. A text-only prompt may not reliably reproduce a particular face, object, or layout from one generation to the next.

Common mistakes and how to correct them

Being too vague

Weak: “Make a cool futuristic city.”

Stronger: “A dense coastal megacity at blue hour, elevated trains weaving between glass towers, pedestrians under transparent umbrellas, wet pavement reflecting cyan signs, wide cinematic street view, restrained futuristic design.”

The improved version gives the model a location, time, architecture, activity, palette, and viewpoint.

Mixing incompatible instructions

“Minimalist, crowded, empty, highly detailed, soft and harsh lighting” contains unresolved conflicts. Choose a dominant direction, or explain how the contrast should work—for example, “a crowded station shown with a minimalist geometric composition.”

Overloading the prompt

More words do not guarantee more control. Remove details that do not affect the image. If a detail is essential, move it earlier or repeat it in a clear relational phrase rather than surrounding it with decorative prose.

Relying on magic keywords

Words such as “masterpiece,” “8K,” “award-winning,” or “best quality” may have little consistent effect. Describe visible properties instead: sharp edge detail, natural skin texture, soft directional light, balanced composition, or a limited palette. Platform-specific parameters may matter more than generic quality claims, but their syntax and behavior are tool-dependent. Consult the particular generator’s documentation rather than assuming one system’s command will work in another. Documentation – Midjourney

Asking for too many focal points

A scene with ten equally important objects may have no clear subject. Choose one primary focal point and, at most, a few supporting elements. Use “background detail kept subtle” or “secondary objects partially out of focus” when hierarchy matters.

Prompt templates you can adapt

General scene

[Type of image] of [main subject] [action or pose] in [specific setting] at [time or weather], viewed from [camera angle or distance], with [composition], [lighting], [color palette], and a [mood] atmosphere.

Portrait

[Framing] portrait of [person or character], [expression and gaze], wearing [clothing], against [background], [lighting direction and quality], [lens-like visual effect if relevant], [color palette], [mood], with natural and clearly visible hands.

Product image

[Photography or design type] of [exact product], [position and surface], in [environment], [camera angle], [lighting], [background], [brand or color constraints], with [negative space or placement] reserved for [intended use].

Image edit

Preserve [elements that must remain]. Change only [target area] to [desired replacement]. Match the original [perspective, lighting, shadows, texture, and color]. Remove [specific unwanted detail].

Multi-image or character consistency

Use the reference image for [identity, product shape, pose, or composition]. Preserve [non-negotiable features]. Create [new setting or action] with [style, lighting, and layout]. Do not alter [critical details].

The strongest prompts are not recipes to memorize; they are compact specifications for a visual outcome. Write what the viewer should see, make the relationships between elements explicit, prioritize constraints, and refine deliberately. With practice, “how to prompt AI art” becomes less about finding a secret phrase and more about translating visual decisions into clear, testable language.

Sources

  1. [1]Image prompting | OpenAI APIdevelopers.openai.com
  2. [2]Write effective text prompts for Adobe Firefly | Fireflyhelpx.adobe.com
  3. [3]Documentation – Midjourneydocs.midjourney.com
Gemini 3.8 Flash

Fundamentals of AI Image Prompting

AI image generation prompts are natural language instructions passed to generative models—such as Midjourney, Stable Diffusion, Black Forest Labs' Flux, or OpenAI's DALL-E 3—to direct the synthesis of visual scenes. At their core, these models do not "understand" art, narrative, or photography in human terms. Instead, they pair deep text encoders (such as CLIP or T5) with diffusion architectures that learn cross-modal associations between descriptive text tokens and visual patterns across hundreds of millions of training images. Prompt Basics How to Write AI Image Prompts - Beginner to Advanced Guide

Writing an effective AI prompt requires translating an abstract creative idea into concrete, semantically distinct descriptions. While human communication often relies on implicit assumptions, diffusion models construct imagery token by token based on statistical probabilities. If a prompt omits details regarding lighting, medium, camera perspective, or background context, the model fills those semantic voids with its internal training biases. Precision, word order, and semantic clarity govern the degree of control an artist maintains over the output. How to Write AI Image Prompts - Beginner to Advanced Guide How to Write AI Image Prompts: The 6-Part Formula (2026)


The Anatomy of an Effective Image Prompt

High-performing prompts generally follow a structured hierarchy. While natural language syntax varies by model, decomposing a concept into modular building blocks ensures that essential visual variables are explicitly defined rather than left to chance. How to Write AI Image Prompts - Beginner to Advanced Guide How to Write AI Image Prompts: The 6-Part Formula (2026)

Code
[Core Subject] + [Environment/Setting] + [Medium & Artistic Style] + [Lighting & Color Palette] + [Composition & Framing] + [Technical Parameters]

1. Subject Definition and Action

The subject is the focal point of the composition. Specificity prevents generic generations:

  • Vague: a warrior
  • Specific: an elderly Nordic blacksmith with a braided gray beard, wearing a charred leather apron and iron armguards, hammering a glowing red ingot

Specify materials, physical condition, pose, expression, and active verbs. Action anchors the subject dynamically within the frame rather than producing a static, mannequin-like pose. How to Write AI Image Prompts: The 6-Part Formula (2026)

2. Environment and Spatial Context

Backgrounds require active definition to prevent diffusion models from defaulting to blurred, indistinct studio backdrops:

3. Medium, Materiality, and Artistic Style

Diffusion models synthesize photographic textures differently from illustrative or painterly mediums. Clearly specifying the medium grounds the model's rendering engine:

  • Photographic: “Editorial portrait, 35mm film photograph, candid street photography, macro detail.”
  • Fine Art & Traditional Media: “Impasto oil painting with visible palette knife strokes,” “woodblock print with rough linework,” or “wet-on-dry watercolor illustration with subtle pigment pooling.”
  • Digital & Graphic: “Vector illustration, flat geometric shading, bold outlines,” or “isometric 3D digital render, matte clay finish.” How to Write AI Image Prompts - Beginner to Advanced Guide How to Write Image Prompts (Midjourney, DALL·E, SD)

4. Lighting and Color Science

Lighting dictates mood, highlights structural geometry, and determines tonal contrast. Avoid generic adjectives like "beautiful lighting" in favor of technical descriptors:

5. Camera Optics and Composition

Instructing the generator using photographic terminology aligns the latent vectors with real-world camera compositions:


Model Architectures and Prompting Paradigms

Different AI generators employ distinct text-processing frontends. A prompt optimized for one engine will often fail or produce unintended results when used directly in another. How to Write AI Image Prompts - Beginner to Advanced Guide How to Write Image Prompts (Midjourney, DALL·E, SD)

DimensionMidjourney (v6+)Stable Diffusion (SDXL / 1.5)Flux.1 (Schnell / Dev)DALL-E 3
Primary Text EncoderProprietary CLIP/T5 mixDual CLIP (OpenCLIP + CLIP ViT-L)T5-XXL + CLIP-LGPT-4 pipeline + T5
Optimal SyntaxConcise phrases, comma-separated tokensWeighted tags, parentheses, booleansConversational, rich prose paragraphsFull descriptive sentences, narratives
Negative PromptingSupported (--no)Essential via dedicated negative input fieldMinimal native benefitNot natively supported
Prompt Length BiasFront-weights tokens; degrades after ~60 wordsHard limit on token chunks (75 tokens)Strong comprehension of long, dense proseExpands prompts automatically via LLM rewrite
Text Rendering AbilityModerate (in quotes)Poor without ControlNetHigh fidelity inside quotation marksHigh fidelity inside quotation marks

Conversational Prose vs. Comma-Separated Token Soup

Early generation models (such as Stable Diffusion 1.5) relied heavily on "tag soup"—chains of comma-separated keywords like masterpiece, trending on artstation, 8k, highly detailed, sharp focus. Modern architectures like Flux.1 and DALL-E 3 utilize massive multilingual language models (such as T5-XXL) that interpret grammar, spatial prepositions, and structural relations. How to Write AI Image Prompts - Beginner to Advanced Guide How to Write AI Image Prompts: The 6-Part Formula (2026)

  • Legacy Token Pattern (SDXL / SD 1.5):

    cyberpunk alley, neon lighting, rainy, reflections, highly detailed, 8k, cinematic, unreal engine 5 render, wide shot

  • Modern Natural Language Pattern (Flux / DALL-E 3 / Midjourney v6):

    A wide cinematic photograph of a narrow cyberpunk alleyway at midnight during a downpour. Vibrant magenta and cyan neon signs reflect across standing puddles on the wet asphalt. A lone courier wearing a yellow transparent raincoat walks away from the camera into the distance.

Modern models parse words like "reflect across," "during," and "wearing" to create coherent spatial relationships, whereas legacy tag collections frequently jumble these elements across the canvas. How to Write AI Image Prompts - Beginner to Advanced Guide How to Write AI Image Prompts: The 6-Part Formula (2026)


Advanced Prompt Engineering Techniques

1. Token Weighting and Emphasis

In models like Stable Diffusion, artists can adjust the mathematical influence of specific words:

  • In Automatic1111/ComfyUI syntax, (word:1.2) increases weight by 20%, while [word] or (word:0.8) reduces it.
  • In Midjourney, multi-prompt separators assign numeric weights: steampunk airship::2 stormy sky::1 sunset::0.5. This prevents high-concept elements from being drowned out by background tokens. Prompt Basics How to Write AI Image Prompts - Beginner to Advanced Guide

2. Negative Prompting

Negative prompts instruct the model on what features to penalize or omit in latent space. Rather than cluttering the positive prompt with negations (which models often misunderstand due to lack of negation parsing in early CLIP encoders), negative prompts isolate unwanted traits:

  • Midjourney: Handled via the --no flag (e.g., --no blur, text, frame, oversaturated). Prompt Basics
  • Stable Diffusion: Dedicated negative field (e.g., blurry, low-resolution, mutated hands, extra limbs, watermark, cartoonish, oversaturated).

3. Aspect Ratio and Model Parameters

Most engines support command-line arguments that adjust mechanical output settings without altering the semantic prompt:

  • Aspect Ratios: Default squares (1:11:1) frequently clip environmental scenes. Midjourney uses --ar 16:9 for widescreen cinematic landscapes or --ar 4:5 for social portraiture. Flux and SDXL accept exact pixel dimensions (e.g., 1344×7681344 \times 768 or 832×1216832 \times 1216). Prompt Basics How to Write AI Image Prompts - Beginner to Advanced Guide
  • Stylize / Variance: Midjourney offers parameters like --stylize [0-1000] (governing adherence to prompt versus native aesthetic training) and --weird [0-3000] (introducing atypical latent noise). Prompt Basics
  • Seeds: Specifying a fixed random seed (--seed 42 or manual seed entry in WebUIs) stabilizes noise initialization, enabling controlled testing of incremental prompt revisions. Prompt Basics How to Write AI Image Prompts - Beginner to Advanced Guide

Common Prompting Pitfalls and Solutions

Negative Word Traps ("Pink Elephant Paradox")

Diffusion models struggle with syntactic negation in positive text strings. If a prompt says "a living room with no furniture", the text encoder extracts the token furniture, statistically elevating the probability of chairs and tables appearing.

Quality "Buzzword" Inflation

Adding strings like photorealistic, hyperrealistic, 4K, 8K, octane render, trending on ArtStation to modern models often degrades output quality. In modern datasets (especially Flux and Midjourney v6), professional photographic assets are rarely tagged with terms like "photorealistic" in curated metadata; instead, such tags frequently appear in amateur forum uploads or low-fidelity 3D renders. How to Write AI Image Prompts - Beginner to Advanced Guide How to Write AI Image Prompts: The 6-Part Formula (2026)

Concept Bleeding

When a prompt requests multiple colored objects (e.g., "a man in a red jacket standing next to a blue car"), CLIP-based encoders often cross-contaminate tokens, producing a man in a blue jacket or a red car.


Practical Prompt Walkthrough

The following progressive iterations illustrate how refining composition, medium, and lighting transforms an image concept from a generic baseline into an intentional, production-ready output.

Concept: A botanical glasshouse at night

  • Iteration 1 (Basic Subject):

    a greenhouse with plants at night

    • Result: Static framing, flat ambient darkness, generic houseplants, lack of atmosphere.
  • Iteration 2 (Adding Environment and Architectural Medium):

    A Victorian cast-iron conservatory filled with exotic tropical palms and hanging ferns, exterior night view, glass panels showing interior foliage

    • Result: Clear architectural style and distinct botanical elements, but flat lighting.
  • Iteration 3 (Adding Lighting, Atmosphere, and Palette):

    A sprawling Victorian cast-iron glasshouse surrounded by dense mist at twilight. Warm golden light emanates from within the structure, illuminating lush monsteras and towering banana palms. Cool indigo dusk sky with faint stars visible through the glass.

    • Result: High tonal contrast, complementary color temperature (warm gold versus indigo), and atmospheric depth.
  • Iteration 4 (Final Production Prompt with Camera Optics and Style):

    Architectural photograph of a grand Victorian glass conservatory at dusk. Warm incandescent lighting glows from inside, casting sharp structural shadows across damp stone gravel paths outside. Lush tropical foliage, dripping ferns, and giant monsteras are visible through rain-streaked glass panes. Ground-level wide shot, 28mm architectural lens, balanced exposure, deep shadows, cinematic mood. --ar 16:9 --style raw

Sources

  1. [1]Prompt Basicsdocs.midjourney.com
  2. [2]How to Write AI Image Prompts - Beginner to Advanced Guideimagetoprompt.dev
  3. [3]How to Write AI Image Prompts: The 6-Part Formula (2026)sureprompts.com
  4. [4]How to Write Image Prompts (Midjourney, DALL·E, SD)geteasyprompt.com
Claude Sonnet 5

What a Good Image Prompt Actually Contains

Writing an effective AI image prompt means describing a visible scene rather than stating an abstract idea, and doing it in a predictable order: subject → action or pose → setting → composition and camera → lighting → medium and style → technical parameters. Google's own guidance for its image models expresses this as a formula of subject, action, location/context, composition, and style, with worked examples like a fashion model in a tailored brown dress, posing with a confident stance, against a seamless deep cherry red studio backdrop, framed as a centered medium-full shot. Midjourney's documentation, by contrast, advises that short and simple prompts generally produce its best images and recommends clear phrases that describe what you want to see. Both are correct — for their own systems — which is the first thing to understand about prompting: there is no single universal prompt grammar, only conventions that each model rewards.

A practical way to think about it: the model has no access to your intent, only to the words. Every attribute you leave unspecified gets filled in from statistical defaults in the training data — usually a centered subject, neutral lighting, generic "digital art" rendering, and whatever demographic or stylistic average the model has absorbed. Prompting is therefore less about finding magic words and more about deciding which defaults you want to override.

The Slots Worth Filling

Rather than memorizing a template, it helps to treat a prompt as a set of optional slots. Fill the ones that matter for your image and leave the rest for the model to decide.

SlotWhat it answersExample phrasing
SubjectWho or what, with concrete attributesan elderly fisherman with weathered skin and faded forearm tattoos
Action / poseWhat they are doing, where they lookadjusting a net, looking down at his hands
SettingPlace, time, weatheron a small wooden boat, early coastal morning, light mist
CompositionFraming, angle, cropmedium close-up, eye level, subject slightly off-center
LightingSource, direction, qualitysoft overcast daylight, gentle rim light from the left
Medium / styleThe kind of image it is35mm film photograph / flat vector illustration / gouache painting
Color and texturePalette, surface qualitiesmuted blues and oxidized greens, visible canvas weave
TechnicalAspect ratio, resolution, parameters--ar 3:2 or size="1024x1536"

OpenAI's image-prompting guidance emphasizes naming materials, lighting, colors, and the visual medium; requesting "photorealistic" or "real photograph" explicitly when that is the goal; and specifying body framing, gaze, and interaction with objects through instructions such as "full body visible, feet included" or "hands naturally gripping the handlebars." It also notes something easy to miss: camera specifications are cues for appearance, not guarantees of physical simulation — writing 85mm f/1.4 nudges the model toward images that look like they were shot that way, it does not run an optical model. For wide, cinematic, low-light, or neon scenes, the advice is to specify scale, atmosphere, and color rather than relying on mood words alone.

Two further pieces of guidance from Google's best-practices documentation are worth internalizing because they contradict common habits. First, describe what you want rather than what you don't — instead of "no cars," write "an empty, deserted street with no signs of traffic." Second, use photographic and cinematic vocabulary to control the camera, with terms like "wide-angle shot," "macro shot," or "low-angle perspective." For complex scenes, the same guidance suggests splitting the request into sequential steps: establish the background first, then add the foreground element, then the focal object.

Here is what filling the slots looks like in practice, written as a single instruction-style prompt of the kind that suits modern text-following models:

Code
A photorealistic candid photograph of an elderly sailor on a small fishing
boat, calmly adjusting a net while his dog sits nearby on the deck.
Weathered skin with visible wrinkles and pores. Shot like a 35mm film
photograph, medium close-up at eye level, 50mm lens. Soft coastal daylight,
shallow depth of field, subtle film grain, natural color balance. Honest and
unposed, with real skin texture and worn materials. No heavy retouching.

Note that this prompt specifies not only content but failure modes to avoid stylistically — "no glamorization, no heavy retouching" — which is how you counteract the glossy, over-rendered default that many models drift toward. OpenAI's cookbook examples use exactly this pattern, and apply related logic to other categories: for logos, favoring simplicity over detail so the mark reads at small and large sizes, with flat shapes, minimal strokes, and generous padding.

Keyword Dialects Versus Instruction Dialects

Models differ in how they parse language, and this is the single most common source of frustration when a prompt that worked in one tool produces nonsense in another.

Keyword-weighted systems — the classic Stable Diffusion family and, to a large extent, Midjourney — respond well to compact noun phrases and comma-separated descriptors, and tend to weight earlier tokens more heavily. Midjourney guidance commonly describes moving from what the image is to how it should look: subject first, then context and composition, then style or medium, so that the words carry the structure and parameters only fine-tune. Practitioner guides for Midjourney frequently note that it prefers descriptive noun phrases over conversational sentences.

Instruction-following systems — image models fronted by a large language model, including recent OpenAI and Google offerings — handle full sentences, conditional logic, exact quoted text, and multi-step requests far better. With these, writing a paragraph of plain English often outperforms a keyword soup. Google's documentation even notes the practical necessity of phrasing like "create an image of" or "generate an image of," since a multimodal model might otherwise reply with text instead of an image.

For rendering words inside an image, instruction-style models are generally the better tool, and the technique matters: put the required wording in quotation marks, describe its position and typography, spell unusual names letter by letter if needed, ask for no extra text, and then verify spelling and legibility in the output. For charts and diagrams, include the actual numbers and labels in the prompt and check factual relationships, not just appearance.

Parameters, Seeds, and Reproducibility

Beyond the prose, most tools expose numeric controls. In Midjourney these are flags appended with a double dash at the end of the prompt — aspect ratio (--ar), model version (--v), quality (--q), randomness (--chaos), and exclusions (--no), among others. Two dials are often confused: stylize governs how strongly the system applies its own house aesthetic versus a literal reading of your words, while chaos governs how different the images in one grid are from each other, affecting spread rather than the style of any single image. Low chaos suits refinement; high chaos suits early exploration. Exact ranges, defaults, and available flags change between versions, so treat the provider's current documentation as authoritative rather than any cheat sheet.

The seed is the most underused control for serious work. In diffusion systems, the seed is the integer that determines the starting noise pattern; the same seed with the same prompt on the same model version reproduces the same image. That makes controlled experiments possible: fix the seed, change exactly one phrase, and you can attribute the difference to that phrase rather than to randomness. A documented workflow for one user involved holding a seed constant while swapping a single name in the prompt to isolate its effect.

Negative Prompts and Guidance Strength

A negative prompt is a second text field listing what the image should not contain. It is not a post-hoc filter. Under classifier-free guidance, the model makes two predictions at each denoising step — one conditioned on your prompt, one on an unconditional (normally empty) input — and the sampler steers away from the second toward the first:

ϵ=ϵuncond+s (ϵcond−ϵuncond)\epsilon = \epsilon_{\text{uncond}} + s\,(\epsilon_{\text{cond}} - \epsilon_{\text{uncond}})

where ss is the CFG (guidance) scale. A negative prompt replaces that unconditional term, which is why it shapes the image from the very first step and why its strength is proportional to ss. With guidance at 1, a negative prompt does essentially nothing by construction.

Guidance scale is a trade-off rather than a quality slider. Low values give loose, more creative interpretations; very high values push the difference so hard that output turns oversaturated and artifact-heavy. Commonly cited working ranges sit in the mid single digits for many modern checkpoints, with lower values recommended for the newest architectures, but the appropriate range is model-specific and shifts with each release. If the model is ignoring your prompt, raising guidance sometimes helps — but more often the real problem is ambiguous wording, conflicting descriptions, or a concept the model never learned well. Conversely, when images show banding, crunchiness, or distortion, lowering guidance is an underrated first move.

Negative prompting conventions vary sharply by architecture, and copying a long boilerplate list between models is a reliable way to make things worse:

  • Older checkpoints tolerate and sometimes benefit from longer negative lists addressing anatomy and quality.
  • Larger, better-aligned models generally do better with short, targeted negatives aimed at specific unwanted objects, styles, or lighting rather than generic quality keywords.
  • Distilled fast variants that run at very low guidance barely react to negatives at all.
  • Some newer architectures were not designed around negative prompting, and certain systems use it only weakly — in which case sharpening the positive prompt is the better investment.

Where emphasis syntax is supported, weight only the one or two terms addressing your actual recurring defect; weighting everything is equivalent to weighting nothing, and pushing weights far above moderate levels tends to wash out color or flatten the image because the model is being driven away from features that overlap with ordinary photographs. Emphasis notation is not universal, so confirm what your interface supports.

Iterating Rather Than Rewriting

The habit that separates consistent results from lucky ones is changing one variable at a time. Start with a plain description and no parameters, generate, and see where the default lands; only then add controls to push in a specific direction. Reach for a parameter when words have stopped working, not before.

With conversational and reference-image-capable models, iteration often means editing rather than re-prompting: supplying the previous image and asking for a small, named change — warmer lighting, a more serious expression, a different background — while leaving everything else alone. Reference images also do work that description struggles with: character identity, a specific product, a brand palette, or a hard-to-articulate visual style. Provider documentation for image editing and reference-based generation includes templates for exactly these workflows, and instructions like "the background is white" or "no text" remain useful even in that mode.

A disciplined loop looks like this:

  1. Write a one-sentence description of the subject and setting only. Generate four.
  2. Pick the closest result and note specifically what is wrong — framing, lighting, medium, mood.
  3. Fix the seed if available. Add or change one slot addressing the single biggest problem.
  4. Add a negative prompt only for defects you have actually observed, keeping it short.
  5. Once the image is close, adjust aspect ratio, guidance, and quality settings last.
  6. Save the full prompt, model version, settings, and seed together — a prompt without its settings is not reproducible.

Limits Worth Planning Around

Some weaknesses are structural rather than prompt-fixable. Precise counting ("exactly seven birds"), legible small text, complex hand positions, consistent faces across separate generations, accurate anatomy in unusual poses, and technically correct diagrams all remain unreliable to varying degrees depending on the model, and asking more emphatically does not help. For diagrams and infographics, verify the labels and relationships, not just the look.

There are also non-technical constraints. Prompting in the name of a living artist to replicate their style raises ethical and, depending on jurisdiction, legal questions that are genuinely unsettled; the same applies to generating recognizable real people, trademarks, and copyrighted characters. Provider usage policies restrict some of this independently of the law, and those policies change. For commercial work, output rights, model-specific licensing terms, and disclosure obligations vary by provider, plan, and region — worth checking current terms directly and, for anything consequential, with qualified counsel. Describing the qualities you admire — brushwork, palette, line weight, period, printing process — is usually both more defensible and more controllable than invoking a name.