AI Brand Kit cover

2026

AI Brand Kit

Partnering with TikTok Life Services to help an AI agent generate on-brand H5 pages and header images.

Timeline
Jun – Aug 2026
Team
1 Product Manager, 3 Developers, 3 Operations
Role
AI Product Design Intern @TikTok
Methods
Comparative evaluation (LoRA vs. skill), agent design, iterative testing

Research questionCan a designer's tacit sense of “on brand” be written down as rules an AI agent can follow?

Abstract

“Make it look better” cannot guide an agent. Visual quality becomes repeatable only when taste is translated into concrete constraints.

Generated Life Services key visual
A Life Services key visual generated by the workflow.

TikTok Life Services operations teams can generate campaign pages on an internal agent platform, but the output is often generic and off-brand. I compared two ways of teaching the agent the brand — a fine-tuned LoRA and a written skill — and the skill produced better on-brand images. I then built a two-skill workflow that takes a campaign brief to a header image and a complete H5 page, and iterated on it by cataloguing how the output failed and encoding a fix for each failure.

Context

Life Services teams need polished, on-brand campaign visuals and H5 pages, often and fast.

Making each page by hand with designers is slow. The agent platform lets operations teams generate pages themselves, but the visual quality is inconsistent and rarely matches the brand. There are two broad ways to give a generative system a brand's style: adapt the model's weights (for example with a LoRA, Hu et al., 2021), or leave the model alone and write the style down as instructions, references, and scripts an agent follows step by step. The second keeps the rules readable and editable by designers — if it works.

The goals were a higher baseline (output starts on-brand), wider adoption (operations teams stop queuing for design support), and faster turnaround (brief to page in one pass).

Method

01 — LoRA vs. skill

I generated header images with both approaches and compared them on image quality and fit with the Life Services visual style. The comparison favored the skill, which became the foundation for the rest of the workflow.

02 — From a linear chain to templates

The first workflow was a linear chain: campaign topic → generated prompt → generated image. It rarely met the quality bar, and the style repeated itself across campaigns. I replaced it with prompt templates organized by topic category: the skill classifies the campaign, picks the matching template, and composes a prompt from it.

Working canvas showing a logo reference and category reference images fanning out into prompt threads and their generated header images
The working canvas: a logo reference and category references fanning out into prompt threads and their generated header images.

03 — Failure-driven iteration

I tested the agent round by round, recorded each recurring failure, and changed the reference inputs, prompts, scripts, or skill steps to address it — working with developers on specific issues such as removing the background behind a generated title.

04 — Encoding the H5 page

I analyzed sample H5 pages to decide which parts of the layout could be encoded as a skill, then defined a template for each page section, with the HTML and CSS knowledge needed to reproduce them consistently — including a typographic treatment that keeps section subtitles on brand.

System

Two skills: one for the header image, one for the H5 page built from it.

Skill 01 — Header image generation

Turns a campaign theme into a ready-to-use Life Services key visual. The SKILL.md steps:

  1. Define the campaign theme
  2. Classify it into one of seven categories
  3. Draft three titles, pick one
  4. Compose the prompt from the template
  5. Generate against two reference images
  6. Overlay the auto-coloured logo
Travel campaign key visualMatcha campaign key visualTea campaign key visualLate-night food campaign key visualSummer picnic campaign key visualBeauty campaign key visual
Key visuals for travel, matcha, tea, late-night food, summer picnic, and beauty campaigns.

Skill 02 — H5 page generation

Four generated H5 campaign pages: restaurant discovery, summer water play, winter pet travel, and spring blossom
Four generated H5 pages: restaurant discovery, summer water play, winter pet travel, and spring blossom.

Extends the approved key visual into a complete, responsive H5 page. The SKILL.md steps:

  1. Confirm inputs and real content
  2. Generate or receive the key visual
  3. Analyze the key visual
  4. Build the brand kit
  5. Select modules, set page order
  6. Plan title images and cutouts
  7. Implement in HTML and CSS
  8. Check compliance, then deliver

Python scripts inside the skill handle what the image model can't do reliably: background removal, blending the picture into the background, and inserting the logo.

Findings

Four recurring failures — a small taxonomy of where an image model breaks brand rules, and what fixed each one.

Logo distortion

The logo rendered with the wrong shape, or appeared more than once. Taking the logo out of generation — reserving its space and overlaying the approved asset afterwards — addressed it.

Problem and solution for the logo: inconsistent renders beside the reference sheet of approved heart-logo treatments
Logo: inconsistent renders, beside the reference sheet of approved treatments.

Title collision

The space reserved for the logo was not respected, so the title overlapped it. A blending script now keeps the top of the image clear.

Problem and solution for title placement: an overlapping title beside the script-blended version that reserves space at the top
Title placement: the overlapping title, and the script-blended version that keeps the top clear.

Wrong typeface

Generated text rendered in a typeface outside the brand set.

Campaign titles before and after, three samples each side
Campaign titles before and after.

Over-stylization

The overall render skewed more cartoonish than the brand allows.

Nine header images before and after, showing the shift away from a cartoonish render
Nine header images before and after, moving away from a cartoonish render.

Pattern: what the model does unreliably (exact logos, reserved space) moved into deterministic scripts; what it does well (mood, composition) stayed in the prompt.

Discussion

From taste to rules

References only became useful once they were translated into concrete visual, content, and layout constraints. Writing the skill was, in effect, making a designer's judgement explicit — and discovering which parts of it could not be written down.

Readable rules vs. trained weights

A skill can be read, reviewed, and edited by designers and operations staff; a LoRA cannot. That transparency may matter as much as image quality when a team has to maintain a brand over time.

Limitations

The workflow was tested on sample campaigns during a three-month internship. It has not yet been validated on real production requests with measurable quality feedback, and details are limited by confidentiality.

Open questions

  1. Which parts of a designer's taste resist being written as rules — and what should happen to them?
  2. How should non-designers be able to tell whether an agent's output is on brand?
  3. Can a skill learn from the campaigns that performed well, the way AIGC Video Automation began to?

Contribution

I designed both skills end to end — the LoRA comparison, the category templates, the SKILL.md steps, the reference sets, and the failure fixes — and worked with developers on the scripts.

Tools: agent skills (SKILL.md), prompt engineering, Python, HTML/CSS.

References

  1. Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., & Chen, W. (2021). LoRA: Low-Rank Adaptation of Large Language Models. arXiv:2106.09685.