Sub topic 8
Keeping images on brand
Brand consistency is the point where AI image generation either scales or falls apart. One good image is easy to get. Thirty images that look like they came from the same company are harder. This chapter covers how to define a brand look in terms a generator can use, how to apply it repeatedly, and how to check the result.
This chapter assumes you can write a creative brief and a structured prompt (earlier chapters), and that you have used reference images or inpainting at least once. The code examples use introductory Python.
What "on brand" means for generated images
A brand guide written for designers usually covers logo use, fonts, colors, photography style, and tone. A generator cannot read most of that as rules. It responds to descriptions and to example images. Your job is to translate each part of the guide into something the tool can act on, and to move the parts it cannot handle to a later step.
| Brand element | Can the generator handle it? | Where to handle it |
|---|---|---|
| Photographic style (lighting, depth of field, realism) | Mostly | Prompt and reference images |
| Color palette | Approximately | Prompt, then color correction |
| Composition rules (space for headlines, subject placement) | Often | Prompt, then cropping |
| Recurring characters or products | Poorly without references | Reference images, editing, or real photos |
| Typography | No | Add afterwards |
| Logos | No | Add afterwards |
The last two rows connect to the next chapter on text and logos. The rule for now: anything that must be exact, such as a hex color, a logo shape, or a font, should be applied by a tool that can be exact.
Build a brand block
Write the visual rules once, in a fixed block of text, and reuse that block in every prompt. Do not retype them from memory for each image. Retyping causes drift: "soft natural light" in one prompt becomes "bright daylight" in the next, and the two images no longer match.
A brand block has four parts:
- Style descriptors. The look of the photography or illustration, in concrete words. "Clean product photography, soft natural light, shallow depth of field" works. "Premium and modern" does not, because it describes a feeling and not a visible property.
- Palette in words. Generators handle color names better than hex codes. Convert each brand color to a plain description, and keep the hex codes for the correction step.
- Composition defaults. Where the subject sits and where empty space goes.
- Standing exclusions. Things that are never acceptable in your brand's images, such as readable text, logos, or identifiable people.
The Python example below keeps the brand block separate from the per-image content. The brand fields are defined once. Only the subject changes between images.
BRAND = {
"style": "clean product photography, soft natural light, shallow depth of field",
"palette": "cool blues and warm gray, with small accents of amber",
"composition": "subject on the right third of the frame, empty space on the left for a headline",
"avoid": "text, logos, people",
}
def build_prompt(subject, brand=BRAND):
parts = [
subject,
brand["style"],
f"Color palette: {brand['palette']}",
f"Composition: {brand['composition']}",
f"Do not include: {brand['avoid']}",
]
return ". ".join(parts) + "."
subjects = [
"a stainless steel water bottle on a flat rock beside a mountain lake",
"a trail running shoe on wet moss in early morning light",
"a folded rain jacket on a wooden cabin step",
]
for subject in subjects:
print(build_prompt(subject))
print()Each printed prompt shares the same style, palette, composition, and exclusions. If the campaign look needs to change, you edit BRAND once and every later prompt follows.
If your tool has a separate negative prompt field, put the standing exclusions there instead. Some tools ignore "do not include" phrasing inside the main prompt, and a few even draw the thing you named. Check how your tool treats it with one test generation.
Use reference images as style anchors
Words describe a look only loosely. A reference image shows it. Most tools offer some form of image-guided generation, under names such as style reference, image prompt, or image-to-image. The details differ, but the approach is the same:
- Pick two to four approved images that show the brand look. These can be past photography or the best generated results from an earlier round.
- Supply them as style references with every generation in the campaign.
- Keep the text prompt describing the new subject, and let the reference carry the look.
Two cautions apply. First, a reference carries more than style. A reference with a person in it may pull people into the output, and a reference with a strong color cast will push every result toward that cast. Choose references that contain only what you want repeated. Second, reference strength is usually adjustable. A high setting copies the reference closely and reduces variety. A low setting gives variety and weaker consistency. Find a setting that works, then record it with the brand block.
Record what produced each approved image
When an image passes review, save the details that produced it: the full prompt, the tool and model version, the seed if the tool exposes one, the reference images and their strength, and the date. Models change without notice, and the same prompt may give a different look after an update. A saved record lets you reproduce an approved image, and tells you which fields to adjust when the look shifts.
A simple approach is a JSON file stored beside each exported image. A more careful one is a shared sheet that the whole team uses.
Hold the palette with correction, not hope
Generators approximate colors. A prompt that says "navy blue" may return a blue that is close to your brand navy, but not identical, and it will vary from image to image. For a campaign where the exact blue matters, such as an image placed next to a brand-colored button, correct the color after generation.
The check below measures how far an image's average color is from a brand color. It is a rough screening tool, since an average hides detail, but it flags images that are clearly off.
from PIL import Image
def hex_to_rgb(value):
value = value.lstrip("#")
return tuple(int(value[i:i + 2], 16) for i in (0, 2, 4))
def average_color(path):
with Image.open(path) as img:
small = img.convert("RGB").resize((1, 1), Image.Resampling.BOX)
return small.getpixel((0, 0))
def color_distance(a, b):
return sum((x - y) ** 2 for x, y in zip(a, b)) ** 0.5
brand_blue = hex_to_rgb("#0B3D91")
avg = average_color("bottle_hero.png")
print("Average color:", avg)
print("Distance from brand blue:", round(color_distance(avg, brand_blue), 1))Do not treat a low distance as a pass. An image can average close to the brand blue and still look wrong. The measurement only helps you sort a large batch so that you look at the outliers first.
When an image is close but not exact, adjust hue, saturation, and curves in an image editor, or apply a consistent color grade to the whole set. A single grade applied to every image is often the quickest way to make images from different generations look related.
Keep recurring subjects stable
Recurring subjects are the hardest case. A product, a mascot, or a character must look the same in every image. Generators invent details, so a bottle may change its cap shape, or a mascot may gain an extra finger between images.
The options, from most to least reliable:
- Use real photography of the product and generate only the background or scene around it. Composite the product in afterwards.
- Use inpainting to regenerate only the background while the product region stays fixed.
- Use reference images of the subject and accept some variation, then reject images where the product's key details are wrong.
- Rely on the prompt alone. This works for generic subjects and fails for specific ones.
For a real, sellable product, the first option is almost always the right one. An AI-generated version of a product that differs from the real item can mislead customers, which is also a legal and trust problem covered in a later chapter.
Review against the brand, not against taste
Reviewers disagree when the standard is "does it look good." Give them a checklist drawn from the brief and brand block so that decisions are repeatable.
A practical brand review asks:
- Does the lighting match the approved set?
- Is the palette within range, once color grading is applied?
- Is the composition space where the layout needs it?
- Are any standing exclusions present, such as readable text or logos?
- Does the recurring subject match its reference in the details that matter?
Reject images that fail any item. Do not fix a failing image by editing the brand rule to fit it.
Common failure modes
| Symptom | Likely cause | Fix |
|---|---|---|
| Images look similar at first, then drift | Prompts retyped by hand | Generate from one brand block in code or a template |
| Every image has the same unwanted color cast | Reference image carries the cast | Replace the reference or lower its strength |
| Results change after weeks of no edits | Model was updated | Re-test against saved approved images, adjust the block |
| Palette is close but not exact | Generators approximate color | Apply a color grade after generation |
| Product details vary | Prompt alone cannot hold specifics | Composite a real product photo or inpaint around it |
Exercise
A campaign needs twelve images of a real insulated jacket in different outdoor scenes. After generating them from the same prompt template, the jacket's zipper and logo patch differ in almost every image. Name the approach most likely to fix this, and give one reason a stronger prompt would not.
Show answer
Photograph the real jacket, then generate or inpaint only the scenes around it and composite the real jacket in. A stronger prompt would not work because the generator invents specific details such as zipper shape and patch design each time, and a text description cannot pin them down. Using the real photo also avoids showing customers a product that differs from the one they can buy.
Exercise
Your brand block says "navy blue," yet the generated images show slightly different blues, and the brand hex is #0B3D91. Describe two steps that bring the set closer together, and say what the average-color check can and cannot tell you.
Show answer
Apply one consistent color grade to the whole set in an image editor, and, if needed, supply approved images as style references so generations start nearer the target. The average-color check can sort a batch so you review the biggest outliers first. It cannot approve an image, because an average hides local color and an image can average close to the brand blue and still look off.