How to Write a Gemini Nano Banana Prompt That Keeps the Same Face
By Shams Zaman, Founder & Prompt Researcher · Published Nov 25, 2026
What face lock does — and what it does not do
Face lock, as the Identity Lock tool does it, is a writing discipline, not a magic setting. You define a reference token and a fixed identity block, then the tool wraps that block in different scene scaffolding — a studio portrait, an action pose, a cinematic close-up — while the identity words stay identical.
What it does:
- Keeps the description of the person stable while the scene changes.
- Gives you one block of text to copy into Gemini, Midjourney or FLUX, instead of rewriting the face from scratch each time.
- Makes it easy to spot what changed when a result drifts: if only the scene words changed, the problem is usually in the scene words.
What it does not do:
- It does not guarantee the same face. Models reinterpret text on every generation, so small differences in eyes, jawline or age can still appear.
- It does not recover a real person's exact likeness from words alone. For a real person, start from a reference photo with the Image to Prompt tool (/ai-image-to-prompt) and keep that photo as your reference.
- It does not fix a prompt that contradicts itself — for example, asking for "shoulder-length hair" in the identity block and "long flowing hair" in the scene will pull the result in two directions.
If a series matters — a bridal set, a couple shoot, a character for a story — test the identity block on one portrait first, before generating five more.
The 5 fields that matter most
The Identity Lock tool asks for five Core Features. Fill in all five, in plain words, and do not change them between scenes.
- Reference token — a short name for the person, for example
X-Subject. The tool builds the prompt as "a portrait of an [X-Subject] individual — …". Use the same token in every prompt in the series, so you (and anyone reusing the prompt) can see at a glance that it is the same character. - Ethnicity / heritage — the tool's own example is "South Asian / Pakistani heritage". Keep it short and consistent; do not add a different heritage in a later scene.
- Eye colour — for example, "deep hazel-green". Eye colour is one of the first things to drift, so writing it down explicitly helps.
- Facial structure — for example, "high cheekbones, sharp jawline, narrow nose bridge". Describe bone structure, not a mood. "Happy face" is not a facial structure, and it will not survive a scene change.
- Hair and wardrobe — for example, "shoulder-length wavy jet black, side parting" and "ivory linen kurta with bronze embroidery". Hair length, parting and outfit are part of the identity in a series; if you want a different outfit, change the wardrobe line deliberately and say so, rather than letting it drift by accident.
Write each field once, then copy the whole identity block unchanged. The tool does this for you: it builds one identityCore line from the five fields and reuses it in every variation.
3 worked examples (from the tool itself)
All three examples below use the same identity block, built from the tool's own defaults. Only the scene suffix changes.
Identity block (same in all three):
a portrait of an [X-Subject] individual — ethnicity: South Asian / Pakistani heritage, eye color: deep hazel-green, facial structure: high cheekbones, sharp jawline, narrow nose bridge, hair: shoulder-length wavy jet black, side parting, wardrobe: ivory linen kurta with bronze embroidery1. Studio portrait — the test shot
[identity block], studio portrait, 85mm portrait lens, soft key light + rim light, seamless charcoal backdrop, sharp focus on eyes, editorial composition, 8kUse this first. A plain backdrop and a portrait lens leave nowhere for the face to hide, so if the identity block is weak you will see it here — before you spend time on a whole series.
2. Full-body action pose
[identity block], full body action pose, 35mm lens, dynamic composition, controlled motion blur on hands only, dramatic side lighting, cinematic color gradeNote what stays the same: the face, hair and wardrobe lines are untouched. Only the pose, lens and light change. If the face changes here, the cause is usually the wider lens or the motion wording, not the identity block.
3. Cinematic close-up
[identity block], extreme cinematic close-up, anamorphic 2.39:1, shallow depth of field, volumetric haze, single soft key + practical bokeh, film grain, identity lockedClose-ups punish vague face descriptions hardest, because the face fills the frame. If this one drifts, shorten the scene words first — "volumetric haze" and "film grain" can soften facial detail — before rewriting the identity block.
You can also wrap the same block in the tool's framework tabs: a multi-angle character sheet (front view, side profile, 45-degree turn, back view, neutral grey backdrop), action poses, or shifting cinematic environments (golden hour exterior, neon-lit night street, intimate interior). The rule is the same each time: identity block unchanged, scene wrapper changed.
Common failures and how to fix them
| Problem | Likely cause | Fix |
|---|---|---|
| Face looks like a different person in scene 2 | The face was described differently in each prompt | Copy the identity block word-for-word; change only the scene suffix |
| Eyes change colour or shape | Eye colour was left out, or the scene added competing eye wording | Put eye colour in the identity block and remove eye words from the scene |
| Person looks older or younger | Age was never stated, or a scene word implied a different age | Add the age in plain words to the identity block and keep it there |
| Hair length or parting changes | Hair was described in the scene, not the identity block | Move all hair wording into the identity block; keep it out of scenes |
| Outfit changes between shots | Wardrobe was only in the first prompt | Keep the wardrobe line in every prompt, or change it deliberately and note the change |
| Face is soft or washed out in a close-up | Heavy atmosphere words (haze, grain, bokeh) in the scene | Shorten the atmosphere wording, or test the same face first in the plain studio shot |
When to re-upload a reference
Re-upload a reference photo — and rebuild the identity block from it — when any of these happen: the face has drifted across three or more generations despite identical wording; you are starting a new series with a real person rather than a fictional character; or you changed a core feature (hairstyle, glasses, age) and want the new look to be the stable one. Do not keep patching a drifted block with extra adjectives — that is how prompts become long, contradictory and worse. Start clean from the reference, write the five fields again, and test with one studio portrait before continuing the series.
Try it: open Identity Lock, fill in the five fields, copy the studio-portrait variation, and paste it into Gemini. Then change only the scene — and see how much of the face survives.
Frequently asked questions
Can a prompt keep a face 100% identical?
No. A prompt can keep a face recognisably similar across a series, but every generation reinterprets the text, so small differences remain. Anyone promising a 100% identical face from a prompt alone is overstating what text prompts do.
Do I need a reference photo, or are words enough?
Words alone work for a fictional character. For a real person, a reference photo is far more reliable — use the Image to Prompt tool (/ai-image-to-prompt) to describe the photo first, then lock the words it gives you.
Which field should I fix first when a face drifts?
Eye colour and facial structure, in that order. They are the most visible, and they are the fields people most often leave out or rewrite differently each time.
Can I use the same identity block in Midjourney or FLUX?
Yes — the block is plain text, and the tool is built to adapt it for Gemini, Midjourney or FLUX. Keep the identity words identical and adjust only the model-specific syntax (for example, Midjourney parameters) around them.
Try it in Identity Lock
Fill in the five Core Features once, then copy the same identity block into every scene of your series.