Style Locks: Text-to-Image Prompts That Hold One Look Across a Whole Set
Generate a set of images one prompt at a time and you will almost always get a set of strangers. The kettle looks like a product photo, the boot looks like a painting, the lamp looks like a 3D render. Nothing is wrong wi
Generate a set of images one prompt at a time and you will almost always get a set of strangers. The kettle looks like a product photo, the boot looks like a painting, the lamp looks like a 3D render. Nothing is wrong with the model. Each prompt simply re-invented the style from scratch, so the style drifted.
A style lock fixes that. It is a short block of text that describes the look once, in the same words every time, while the subject changes underneath it.
Why a batch drifts
Every phrase in a prompt competes for influence. When you describe the style differently each time ("soft studio light" in one prompt, "bright clean lighting" in the next), you are asking for two different photographs. The fix is not more description. It is identical description.
What goes in a style lock
A workable lock has five parts, each a single phrase:
- Medium: flat vector illustration, studio photograph, risograph print
- Palette: three or four named colors, plus one color to avoid
- Light: direction and quality ("soft top-left light, faint shadow")
- Camera or texture: focal length for photos, grain for prints
- Composition: how much empty space, where the subject sits
Keep it under about 40 words. A lock that short is easy to paste and hard to get wrong.
The template
[SUBJECT], [one action or pose].
Medium: [medium]. Palette: [color 1], [color 2], [color 3]; no [color to avoid].
Light: [direction and quality]. Lens or texture: [lens or texture].
Composition: subject [placement], generous empty space on [side].
Write the lock once. From then on, the only line you edit is the first one.
A worked example
Same lock, three subjects:
A stovetop kettle, steam rising from the spout.
Medium: flat vector illustration. Palette: cream, teal, coral; no black.
Light: soft top-left light, faint drop shadow. Texture: subtle paper grain.
Composition: subject centered, generous empty space above.
Swap the first line for "A hiking boot, laces half untied, standing on a flat rock," then for "A desk lamp, arm bent at a right angle." The three images read as one set because most of the words never change.
Put the subject first
Order matters more than people expect. Models tend to give the start of a prompt more weight. Lead with the subject, then the action, then the setting, and let the lock close the prompt. If the style lands before the subject, you will sometimes get a beautiful empty scene.
Lock the settings too
Words are half the job. Three settings cause drift even when the prompt is stable:
- Aspect ratio: one ratio for the whole set.
- Model: do not switch models in the middle of a set; re-lock the wording if you must.
- Seed: where the tool offers one, fix the seed while you test wording, so you can tell what the words changed.
A five-point check before you scale
Before turning three test images into thirty, confirm:
- Every prompt shares the lock word for word
- Backgrounds match in tone, not just in color name
- Line weight or grain looks the same at thumbnail size
- No image contains the color you asked to avoid
- Subjects sit in the same place in the frame
If two of the five fail, rewrite the lock instead of patching individual prompts.
When to break the lock
A lock is a choice, not a rule. Break it for one hero image on purpose, never by accident. Variation reads as design when it happens once, and as a mistake when it happens on every third image.
Try the pattern
The template works in any model that accepts long prompts. If you want to run it without setting anything up, Arui.AI's text-to-image generator takes prompts like these directly in the browser, with 26 models to compare against the same lock.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.