Blog / API, MCP & agents

How to keep AI-generated ads on brand

We ran one ad brief through GPT Image, Nano Banana and Flux, then through a template, to see what keeps AI-generated ads on brand and what drifts.

Yassine KhialCTO & Co-founder11 min read
Published

Key takeaways

  • To keep AI-generated ads on brand, put the logo, colors, font, layout and sizes in a template the agent fills, and let the image model make only the picture.
  • In Abyssale's test, GPT Image 2.6, Nano Banana 2 and Flux 3 never returned an ad at the requested pixel size or in the brand font, so a raw output cannot run as a finished ad.
  • Giving an image model the logo and product photo as references fixed the logo, the product and most of the color, but not the layout, the size or the font.
  • Uploading brand guidelines to ChatGPT or Claude does not keep ads on brand: the model imitates each rule, while a template layer holds the font, color and minimum size as settings.
  • An Abyssale Design rendered the ad with the exact hex codes and font in every size, and the 300 × 250 came back byte for byte identical on three renders.
The hook Prompts suggest. Designs enforce. in a Brand Box with a headline layer label and the Claude · Abyssale MCP cursor, next to a Voltra car ad

We gave three image models the same ad brief for Voltra, a fictional electric car brand. The headline was Charge once. Drive 420 km., in the brand’s Space Grotesk font, on its deep purple, in four ad sizes. Nano Banana 2 came back with a polished ad for a car Voltra does not make: a recognizable real electric SUV, badge included.

Attaching the logo and the car photo fixed that. It did not fix the rest. No model returned an ad at the size we asked for, none used the brand font, and the layout still moved between runs. Image models make good pictures; a finished ad needs more. To keep AI-generated ads on brand, put the brand in a template the agent fills, and let the model make only the picture.

What we asked for and what came back

We ran the test in November 2026, on our own Abyssale workspace. The brief went to GPT Image 2.6, Nano Banana 2 (Google’s Gemini image model) and Flux 3 as one prompt. It gave the exact copy, the hex codes, the font, the logo description and the target pixel size. Each model made five runs at the size closest to a 300 × 250 rectangle, then one run per other size.

The first round used the text brief alone. In the second, we attached the Voltra logo and car photo as reference images, the way you would upload brand assets to ChatGPT or Gemini. Then we built the same ad as an Abyssale Design, a template made of layers, and rendered it in the same four sizes.

GPT Image 2.6 output: the Voltra ad with the correct logo, headline, lease line and button, the reference car on a wet road
Nano Banana 2 output with a centered layout and the button at the bottom
Nano Banana 2 output whose headline reads Charge once. Drive, then Drive 420 km. on the next line
Flux 3 output from the text brief: a greyish purple background, pale blue headline and restyled VOLTRA letters
Same brief, four results. In order: GPT Image 2.6 with references; Nano Banana 2 with references, twice (the second run reads “Charge once. Drive / Drive 420 km.”); Flux 3 from the text brief alone. We asked for 300 × 250; the files came back at 1024 × 768, 1152 × 928 and 1152 × 912.

With the logo and photo attached, the best a model got, each one held up like this. ✓ means every output, ~ means close or most outputs, ✗ means missed.

Result Copy Color Logo, product Ad size Font Same layout
GPT Image 2.6
Nano Banana 2
Flux 3
Abyssale

From the text brief alone, the picture was worse:

  • Logo, product: ✗ for Nano Banana 2 (a real maker’s SUV, the logo printed twice once) and Flux 3 (restyled letters). GPT Image 2.6 drew the right logo on an invented car.
  • Color: ✗ for Flux 3, which drew another purple and another blue.
  • Copy: ~ for Flux 3, which printed a line of the headline twice in one output.

Where an image model breaks a brand

References fix the first two failures below. Nothing in the request fixed the others.

  • The product and the logo
    • From text alone, Nano Banana 2 drew a real maker’s electric SUV, badge on the grille, in every run where the car is large enough to identify.
    • Flux 3 restyled the VOLTRA letters. Nano Banana 2 turned the O into a bolt, and printed the logo twice in the leaderboard.
    • With the logo and photo attached, all three models drew the Voltra car and logo. Always attach them.
  • The color
    • From text, Flux 3 missed both brand colors: its distance to the hex codes sat between 10 and 15 (CIEDE2000: under 1 is invisible, 2 to 5 shows side by side, over 10 reads as another color).
    • With references, Flux 3 came down to between 2 and 6, and GPT Image 2.6 stayed under 2.5.
    • Close enough for a mockup. The hex code is still a target the model aims at.
  • The size
    • No output matched a requested ad size.
    • OpenAI’s image generation guide only accepts sides in multiples of 16, with a ratio between 1:3 and 3:1.
    • That rules out a 728 × 90 leaderboard, which is 8:1. A 300 × 250 rectangle falls under the guide’s minimum pixel count.
    • Google’s Nano Banana documentation offers a preset list of aspect ratios and size tiers.
    • So every output has to be cropped and resized before it can run.
  • The layout
    • With references, Nano Banana 2 put the text on the left, in the center, or under the car.
    • GPT Image 2.6, the steadiest model, still moved the button to the bottom of the ad in one run out of five.
    • OpenAI’s guide warns that the model “may occasionally struggle to maintain visual consistency for recurring characters or brand elements across multiple generations”.
  • The font
    • Each model drew a typeface that resembles Space Grotesk. None matched it exactly, and Nano Banana 2 came closest.
  • The copy, now and then
    • Copy is mostly solved: GPT Image 2.6 had every word right in all 14 of its outputs.
    • Flux 3 printed Drive 420 km. twice in the story.
    • With references, Nano Banana 2 got the words wrong in 2 of 7 outputs, one of them Book test drive.
The top of Flux 3’s story: the VOLTRA logo, then Charge once. Drive 420 km. Drive 420 km., the lease line and the button
Flux 3, story requested at 1080 × 1920, delivered at 768 × 1360: the second line of the headline printed twice. Top of the file.
The left part of Nano Banana 2’s leaderboard: VOLTRA with a bolt above a second VOLTRA, next to the headline and the lease line in a condensed typeface
Nano Banana 2, requested 728 × 90, delivered 2928 × 352: the logo twice, the headline in a condensed face. Left part of the file; the car is cropped out.

Can you give an AI agent your brand guidelines?

You can give an AI agent your brand guidelines, but an image model reads them as a description to imitate, and the rules never reach the pixels. A brand guide is a set of rules; the model treats each one as one more detail of the picture it draws.

Take 420 km in the Voltra headline. To an image model, Space Grotesk Bold, #90EBFF is a look to imitate:

  • it draws letter shapes that resemble the font;
  • in a cyan close to the hex;
  • at whatever size fits its composition.

The result is pixels. Change the headline and the model draws a new picture, with new guesses.

In the Design, 420 km is text in a text layer, and the layer holds the rules:

  • the font, Space Grotesk 700;
  • the color, #90EBFF;
  • the size on the 300 × 250: 24 px, and never smaller than 10 px.

Change the headline and the rules stay where they were. Uploading your brand guidelines PDF to ChatGPT or Claude adds a longer description; it does not turn the description into settings.

Left, a GPT Image 2.6 output shown as one flat image, with the notes 1 layer at 1024 × 768 px, font not Space Grotesk, size not 300 × 250, next run the layout can move. Right, the same Voltra ad as an Abyssale Design with tags on the headline, logo, photo and cta layers, and a Layers panel where headline, line and photo are filled by the agent while logo, cta and background stay as designed
The same ad as pixels and as layers. The model's headline is part of the image; the Design's headline is a layer with a font, a color and a size range.

A model follows a brand guide only as far as it can read it from the request. A template holds the brand in the file the agent fills, so the guidelines your agent needs are the Design itself.

Split the job between model and Design

AI agents for image generation work best when each part of the ad goes to the tool that does it reliably. The image model makes the picture: a scene, a background, a product on a new road. The Design holds the logo, the colors, the font, the layout and every size. The agent connects the two: it writes the copy and fills the layers.

That is programmatic image generation from a template. In our test the Voltra Design rendered all six of its formats in about 6 seconds: the four sizes, two of them in both an auto and an AI-powered layout. Each used the exact hex codes and Space Grotesk. The 300 × 250, rendered three times with the same copy, came back byte for byte identical.

Voltra 1200 × 628: the car photo across the whole ad, the logo, headline, lease line and button on the dark sky at left
1200×628
Voltra 300 × 250: logo, headline and lease line on purple above the car photo, Book a test drive button
300×250
The Voltra Design rendered with the brief’s copy: the landscape, its photo across the whole ad, and the rectangle.

From Claude or ChatGPT, the agent fills the Design through Abyssale’s MCP server, on the Pro plan and above and in the trial. Name the Design and say which layers it may change:

Fill a Design from a brief Use the Abyssale Design “Voltra ad”. Write a headline under 30 characters and a lease line for our winter test-drive weekend, put them in the headline and line layers, and leave every other layer as it is. Render every format and show me the files.

Use this prompt in

A developer sends the same job to the Abyssale API. Here the agent fills the two text layers and asks for a new scene in the photo layer: text_to_image generates it from the prompt, and inpaint_images gives the model the approved car photo to build it around. The picture changes; the logo, type and button around it do not.

  1. import abyssale from '@abyssale/sdk'; // npm install @abyssale/sdk
  2. const { data } = await abyssale.generateMultiFormatMedia('{designId}', {
  3. elements: {
  4. headline: { payload: 'Test drive it this weekend.' },
  5. line: { payload: 'Leases from $399/month' },
  6. photo: {
  7. text_to_image: true,
  8. text_to_image_properties: {
  9. prompt: 'the same white electric crossover on a snowy mountain road at dusk',
  10. inpaint_images: ['https://cdn.voltra.example/v3-drive.jpg'],
  11. },
  12. },
  13. },
  14. callback_url: 'https://example.com/webhooks/abyssale',
  15. });
  1. from abyssale import Abyssale # pip install abyssale
  2. with Abyssale() as client:
  3. accepted = client.generate_multi_format_media("{designId}", {
  4. "elements": {
  5. "headline": {"payload": "Test drive it this weekend."},
  6. "line": {"payload": "Leases from $399/month"},
  7. "photo": {
  8. "text_to_image": True,
  9. "text_to_image_properties": {
  10. "prompt": "the same white electric crossover on a snowy mountain road at dusk",
  11. "inpaint_images": ["https://cdn.voltra.example/v3-drive.jpg"],
  12. },
  13. },
  14. },
  15. "callback_url": "https://example.com/webhooks/abyssale",
  16. })
  1. curl -X POST https://api.abyssale.com/async/banner-builder/{designId}/generate \
  2. -H "x-api-key: $ABYSSALE_API_KEY" \
  3. -H "Content-Type: application/json" \
  4. -d '{
  5. "elements": {
  6. "headline": { "payload": "Test drive it this weekend." },
  7. "line": { "payload": "Leases from $399/month" },
  8. "photo": {
  9. "text_to_image": true,
  10. "text_to_image_properties": {
  11. "prompt": "the same white electric crossover on a snowy mountain road at dusk",
  12. "inpaint_images": ["https://cdn.voltra.example/v3-drive.jpg"]
  13. }
  14. }
  15. },
  16. "callback_url": "https://example.com/webhooks/abyssale"
  17. }'

The keys under elements are the layer names of the Design. With no template_format_names, every format renders, and callback_url receives the files when they are ready. text_to_image works only on this asynchronous route; the image layer properties list the models and options. To keep the approved photo as it is, send image_url instead.

What to set before you hand a Design to an agent

A Design keeps an agent on brand only if the brand-critical parts are settled before the first call. Check these four:

  1. Brand assets live in the Design. The API and the MCP server do not read Abyssale’s brand presets, so the logo, the colors and the font have to be in the Design’s own layers. Done when: rendering the Design with no overrides gives a finished, on-brand ad.
  2. The agent’s layers are named. An API or MCP call can change any layer of the Design by its name, even one the Layers configuration leaves unavailable. The one setting a call must respect is “mandatory”: a call that leaves out a mandatory layer is refused, with the layer’s default value in the error. So name the layers the agent fills, such as the headline, the line and the photo, in the prompt or the code, mark the ones it must never skip as mandatory, and leave every other layer out. Done when: your prompt or code names only those layers, and a call without the headline fails.
  3. Text has a floor and a line limit. Turn on auto_resize with a min_font_size the format can still be read at, and set max_lines (text layer properties). Done when: the longest copy you expect renders readable in the smallest format.
  4. One format per placement, checked once. Add every size your campaigns run, and look at each with the default copy. AI-powered formats lay each size out when you create it, and that layout is kept for every later render. Done when: no format needs a person to fix it.

The last two matter most when the copy changes. We sent the Design a 90-character headline. On the 300 × 600 half page, the auto format shrank it to five lines, and it still reads well.

On the 728 × 90 leaderboard, the same setting shrank it down to its 8 px floor, which nobody can read: that floor was set too low for the size. The AI-powered formats, which had no shrink setting, refused the headline with an error: The text … cannot fit within the defined space. An error beats an unreadable ad. The agent learns the headline is too long and can write a shorter one.

Voltra 300 × 600 half page: logo, the headline Charge once. Drive 420 km. on three lines, the lease line, the car photo and the Book a test drive button
300×600
Voltra 300 × 600 half page with the 90-character headline shrunk to five readable lines above the lease line, the car and the button
300×600
The Voltra half page from the same Design: the brief’s copy, then the 90-character headline, shrunk to fit and still readable.

For the stack around this, from the brief to the approval before anything ships, see creative operations tools.

When a raw image model is the right tool

Use the model on its own wherever the result has no fixed size, no brand text and no second run to match. That covers concepts and moodboards before a campaign, a hero image for one social post, and the scenes and product shots that go into a Design’s image layer. With references attached, GPT Image 2.6 came close enough to the brand for an internal mockup.

Anything that ships to an ad network in set sizes, or comes back every week with new copy, goes through a Design. Start with one: your best ad, every format it runs in, the headline, line and photo open, the rest settled. Then let Claude or ChatGPT fill it.

Share this article