Prompt Engineering for AI Images: A Beginner's Guide

Prompt engineering simply means writing instructions that an AI understands clearly. For image tools like Gemini and ChatGPT, a well-written prompt is the difference between a blurry, random result and a photo that looks professionally shot.
Two kinds of image prompts
- Photo editing prompts — you upload your photo and describe changes. The most important line: keep the face exactly the same. Example: Rainy night cinematic portrait.
- Text-to-image prompts — no photo; the AI creates everything from words. Here you describe the subject in more detail because there is nothing to copy from.
The 6-part formula
- Subject lock — who is in the image (and keep the face the same for edits).
- Outfit & details — clothes, accessories, expression.
- Location — where the scene happens.
- Lighting — golden hour, neon, soft window light, studio light.
- Camera — lens (35mm, 85mm), depth of field, angle.
- Style & format — ultra realistic / film / 3D / anime, plus ratio (9:16, 4:5, 1:1).
Copy this template and fill the brackets:
📋 Prompt
Keep the face from the uploaded photo exactly the same. [SUBJECT + OUTFIT]. [LOCATION + BACKGROUND]. [LIGHTING]. Shot on [85mm] lens, shallow depth of field, [CAMERA ANGLE]. [MOOD]. Ultra realistic, 4K, [RATIO].
Text-to-image example (no photo)
📋 Prompt
A young Indian woman in a mustard yellow saree standing in a sunflower field at golden hour, wind moving her hair, warm backlight, shot on 85mm lens, shallow depth of field, soft film grain, ultra realistic, vertical 4:5.
Video prompts are different
For image-to-video tools like Google Veo, describe motion and camera movement instead of a still scene: the person walks towards the camera, camera tracks backwards slowly. See our Google Flow & Veo video prompts guide.
Common mistakes
- Too short — 'make me look cool' gives random results.
- Describing your face — words like 'fair skin, big eyes' make the AI change your face.
- Conflicting details — 'sunny noon' and 'starry night' in one prompt.
- Forgetting the ratio — reels need 9:16; Instagram posts look best at 4:5.
- Long text in images — keep poster text short; AI misspells long sentences.
Improve results with follow-ups
You don't need a perfect prompt the first time. Reply to the AI with small fixes: make the background brighter, keep my original face, remove the extra hand, change the text to ….
Practise with ready prompts
The fastest way to learn is to open a prompt from our AI prompt library, change one part (outfit, place or light) and compare the results.
Hindi mein padhna hai? Dekhein: AI Photo Editing Prompt Kya Hai.






