How to Write AI Image Generation Prompts (5-Part Formula + Examples)

How to Write AI Image Generation Prompts (5-Part Formula + Examples)

Last updated: October 2026

To write a good AI image prompt, describe five things: your subject, the scene, the visual style, the lighting and camera angle, and the final image format.

A few specific details can make your instructions much clearer. This guide shows you how to write AI image generation prompts, improve them step by step, and fix common problems in ChatGPT and Gemini.

Copy Ready-Made AI Prompts

Key Takeaways

  • Use the 5-part formula: Subject + Scene + Style + Lighting & Camera + Format.
  • Describe visible details: Replace vague words like "beautiful" with specific colors, materials, poses, and lighting.
  • Improve one detail at a time: Keep what works and tell the AI exactly what to change.

Why Your AI Image Prompts Don't Work

When your prompt leaves important details open, the AI fills them in. A request like "a beautiful room" gives the model freedom to choose the furniture, lighting, colors, and camera angle.

Three problems are especially common:

ProblemWhat HappensHow to Fix It
Too vagueThe image feels genericDescribe the subject and setting
Missing visual directionThe framing or style is wrongSpecify lighting, composition, and style
Conflicting instructionsImportant details get lostPrioritize one clear visual direction

Some problems also depend on the image model. Complex poses, exact text placement, and keeping several characters consistent may require additional attempts or reference images.

The 5-Part AI Image Prompt Formula

A useful AI image prompt reads like a short creative brief. Start with these five elements and add only the details your image needs.

PartWhat to DescribeExample
1. SubjectWho or what appears?A fluffy white Samoyed puppy
2. Action & SettingWhat's happening, and where?Playing in a puddle on a Tokyo street
3. StyleWhat should it look like?Realistic lifestyle photography
4. Lighting & CameraHow is it lit and framed?Soft evening light, low-angle close-up
5. Format & ConstraintsWhat shape and details matter?Vertical 3:4, full body visible

You can use this structure for portraits, product photos, illustrations, and more. The most useful details depend on what you're creating.

Copy-and-Paste AI Image Prompt Formula

Prompt Template

Create a [visual style] image of [main subject] [doing an action] in [setting]. Include [important visual details]. Use [lighting] and [camera angle or composition]. The overall mood should feel [atmosphere]. Format: [aspect ratio]. Keep [important requirements].

Here's a completed example.

Copy Prompt

Create a photorealistic image of a fluffy white Samoyed puppy wearing a yellow raincoat, splashing through a puddle on a quiet Tokyo street. Soft evening light reflects on the wet pavement. Low-angle photography at the puppy's eye level, natural fur texture, playful expression, softly blurred background, vertical 3:4 composition.
Open in ChatGPT

The prompt specifies the puppy's appearance, activity, environment, lighting, and framing. Each detail helps communicate the image you want.


How to Write AI Image Prompts in 4 Steps

Let's build one image prompt from a simple idea: a woman sitting in a café.

Step 1: Start With the Main Subject

Write one short sentence describing what you want to see.

Starting Prompt

A woman sitting in a café.
Open in ChatGPT

This gives the AI a subject and a location. Her outfit, expression, pose, lighting, and surroundings are still open to interpretation.

AI-generated café portrait illustrating a basic image prompt with minimal visual instructions.
AI-generated café portrait illustrating a basic image prompt with minimal visual instructions.

Step 2: Add the Setting and Visual Style

Give the scene more personality by describing the outfit, surroundings, and photographic style.

Revised Prompt

A stylish adult woman wearing a cream knit sweater, sitting beside the window of a cozy Parisian café. Realistic lifestyle photography with warm morning light.
Open in ChatGPT

Now the prompt describes the outfit, setting, and atmosphere more clearly.

Step 3: Add Lighting, Composition, and Format

Tell the AI how to frame the subject and where the light should come from.

Detailed Prompt (Copy & Paste)

Create a photorealistic waist-up portrait of a stylish adult woman with long dark brown wavy hair, wearing an oversized cream knit sweater. She sits beside a tall window in a cozy Parisian café, holding a white ceramic coffee cup and looking softly toward the camera. Warm morning sunlight enters from the left, illuminating her face. Natural skin texture, softly blurred café background, shallow depth of field, eye-level 50mm portrait photography, vertical 3:4 composition.
Open in ChatGPT

AI café portrait illustrating detailed instructions for warm window lighting, clothing, camera framing, and composition.
AI café portrait illustrating detailed instructions for warm window lighting, clothing, camera framing, and composition.

The detailed prompt makes the intended outfit, pose, lighting direction, and composition easier to understand.

You can use the same approach for product photography. For example, "a perfume bottle" can become "a pink glass perfume bottle with a gold cap on a cream marble pedestal, soft studio lighting, realistic reflections, and a centered 1:1 composition."

A pink glass perfume bottle with a gold cap on a cream marble pedestal, surrounded by soft pink blossoms.
A pink glass perfume bottle with a gold cap on a cream marble pedestal, surrounded by soft pink blossoms.

Step 4: Generate, Review, and Refine

Check your generated image against the original idea. Find the biggest detail that needs improvement.

For example, if the portrait is too tightly cropped, use this follow-up:

Follow-Up Prompt

Keep the same woman, outfit, lighting, and café background. Zoom out slightly to show more of her upper body and the coffee cup. Preserve her natural expression and the warm morning atmosphere.
Open in ChatGPT

Changing one detail at a time helps you evaluate what worked without losing the parts you already like.

Want to practice with a finished portrait idea? Start with an existing prompt and customize the outfit, pose, or background.

Get Photoshoot Prompts


How to Edit an Existing Image With AI

When editing an uploaded photo, your prompt should explain what to change and what must stay the same.

Use this structure:

Reference Image + Change + Preserve + Desired Result

Example 1: Change a Hairstyle Without Changing the Face

Upload a clear photo of yourself, then use:

Photo Editing Prompt (Copy & Paste)

Use my uploaded photo as the identity reference. Keep my recognizable facial features, skin tone, expression, natural proportions, and background consistent. Change only my hairstyle to a shoulder-length layered bob with soft curtain bangs. Match the new hair to the original lighting and camera perspective. Keep the result natural and photorealistic.
Open in ChatGPT

Result of the hairstyle edit: a woman with a shoulder-length layered bob and soft curtain bangs in a bright living room.
Result of the hairstyle edit: a woman with a shoulder-length layered bob and soft curtain bangs in a bright living room.

Example 2: Redesign a Living Room

Upload your room photo, then use:

Photo Editing Prompt (Copy & Paste)

Use the uploaded living room photo as the base image. Preserve the room's shape, windows, doors, ceiling height, and original camera angle. Redesign the interior in a warm Scandinavian style with a light oak floor, cream sofa, round wooden coffee table, soft rug, and paper floor lamp. Use natural daylight and realistic materials. Keep all architectural features in their original positions.
Open in ChatGPT

Living room redesigned in a warm Scandinavian style with a light oak floor, cream sofa, round wooden coffee table and paper floor lamp.
Living room redesigned in a warm Scandinavian style with a light oak floor, cream sofa, round wooden coffee table and paper floor lamp.

How to Use Multiple Reference Images

If your image generator accepts multiple uploaded images, assign each one a specific role.

For example:

Reference Image Prompt

Use Image 1 for the person's identity, Image 2 for the hairstyle, and Image 3 for the background style. Preserve the recognizable face from Image 1 while applying the hairstyle and visual setting from the other references.
Open in ChatGPT

This tells the AI which details belong to each image. It can be especially useful for outfit previews, hairstyle changes, and creative photo transformations.


ChatGPT vs Gemini: How to Write Better Image Prompts

ChatGPT and Gemini both support natural-language instructions for generating and editing images. The same five-part formula works as a starting point in either tool.

Their official prompting guides emphasize similar fundamentals, with slightly different examples and workflows.

TaskChatGPTGemini
Generate an imageDescribe the subject, intended use, composition, and constraintsDescribe the subject, action, location, composition, and style
Edit an uploaded photoSeparate the changes from the details to preserveUse direct editing instructions and identify reference-image roles
Add textQuote exact wording and specify typography and placementQuote exact wording and describe typography and placement
Refine a resultReuse the image and restate important constraintsMake targeted changes through conversational follow-ups

Writing AI Image Prompts for ChatGPT

OpenAI's image prompting guidance recommends describing the result you want, including its intended use, subject, composition, style, and important constraints.

For example:

ChatGPT Prompt

Create a realistic product photo for a skincare website. Show a white cosmetic jar on a cream stone pedestal, with soft studio lighting, realistic shadows, and clean negative space on the right for website copy. Horizontal 16:9 composition.
Open in ChatGPT

For editing, be explicit about what should stay unchanged. If you upload several images, explain what each reference contributes to the final result.

Writing AI Image Prompts for Gemini

Google's Gemini prompting guidance highlights subject, composition, action, location, and style. Additional details such as lighting, camera angle, and reference-image instructions help communicate more specific visual goals.

For example:

Gemini Prompt

Generate a photorealistic fashion portrait of an adult woman wearing a red satin dress, standing on a rooftop at blue hour. Show a three-quarter-length view, with gentle warm lighting on her face and a softly blurred city skyline behind her. Vertical 3:4 composition.

For image editing, try direct instructions such as "change only the dress color to burgundy" while identifying the details that should remain consistent.

Both tools can interpret descriptive prompts and follow-up edits. Results depend on the image model, available controls, and the complexity of your request.


How to Fix Common AI Image Prompt Problems

If your generated image is close to what you imagined, start with the biggest mismatch before rewriting everything.

ProblemTry This Prompt Fix
The subject is too small"Move the camera closer and use a medium shot."
The full body is cropped"Zoom out and show the entire subject, including both feet."
The lighting feels flat"Use warm side lighting with natural shadows."
The background is distracting"Simplify the background to a clean cream wall."
The face changes during editing"Preserve the recognizable facial features from the uploaded reference."
The hands look unnatural"Use a relaxed pose with naturally positioned hands."
Unwanted objects appear"Keep only the main subject and the specified objects."
The colors don't match"Use a consistent palette of cream, beige, and warm brown."
Image text is incorrect"Use the exact text 'SLOW MORNINGS' and no additional words."

These instructions may improve the next result, but complex details can still require several attempts.

How to Get Text Right in AI-Generated Images

If you're creating a poster, thumbnail, or social media graphic, put the exact words you want in quotation marks.

Also describe the text's position, size, and style.

Copy Prompt

Create a minimalist coffee poster. Place the exact headline "SLOW MORNINGS" at the top in bold dark-brown sans-serif typography. Add a ceramic coffee cup below the headline on a warm cream background. No additional text.
Open in ChatGPT

Minimalist coffee poster with the exact headline "SLOW MORNINGS" above a ceramic latte cup.
Minimalist coffee poster with the exact headline "SLOW MORNINGS" above a ceramic latte cup.

Keep the wording short and proofread the result. For designs that require exact brand typography, a final pass in a design editor may still be useful.

Should You Use Negative Prompts?

Start by describing the result you want. Add direct exclusions when they clarify an important requirement.

For example, "a clean product image with no text or additional objects" is a reasonable instruction for ChatGPT or Gemini.

Some other image generators include dedicated negative-prompt controls. Use the settings supported by your chosen tool.


Where to Find Ready-Made AI Image Prompts

Writing your own prompts gives you creative control. Starting from a ready-made prompt can also help you discover visual styles and learn which details produce the look you want.

Browse a collection of AI image prompts, choose a visual idea, and customize the subject, lighting, outfit, or background.

You can also explore themed prompts for seasonal photos, fashion portraits, product photography, or interior design. Seeing how different prompts describe their subjects and settings is a useful way to improve your own writing.

A cozy Christmas living room with a decorated tree, stone fireplace and snowy windows, an example of a seasonal AI image.
A cozy Christmas living room with a decorated tree, stone fireplace and snowy windows, an example of a seasonal AI image.


Frequently Asked Questions

How long should an AI image generation prompt be?

One to three clear sentences can be enough for a simple scene. Complex compositions and photo edits may need longer instructions. Include the details that matter without adding unnecessary descriptions.

How do I write a prompt for realistic AI images?

Describe a believable subject, natural lighting, camera framing, and realistic materials. For portraits, mention natural skin texture and a physically plausible pose. For product images, specify accurate materials and reflections.

Can I use the same prompt in ChatGPT and Gemini?

Yes, you can start with the same subject, setting, style, and lighting instructions in both tools. Review the results and adjust the wording if one model interprets a detail differently.

How do I keep the same face in AI-generated images?

Upload a clear reference photo and ask the image generator to preserve recognizable facial features, skin tone, and natural proportions. Reuse the reference when possible and check each result for identity changes.

Can I write AI image prompts on my phone?

You can use supported image-generation features in the ChatGPT and Gemini mobile apps. Type or paste your prompt into the chat, and upload a reference photo if you want to edit an existing image. For longer prompts, drafting them in a notes app first can make editing easier.

What's the easiest way to improve a bad AI image?

Identify one problem, such as incorrect lighting, framing, or background. Ask the AI to change that detail while preserving everything that already looks right.


Final Thoughts

Learning how to write AI image generation prompts starts with describing your ideas clearly and refining them deliberately.

Use the five-part formula, generate an image, and check what needs improvement. Over time, you'll discover which details matter most for your favorite visual styles.

Ready to create something new? Choose a ready-made image prompt, customize the details, and make the idea your own.

Find Your Next AI Prompt


References