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.

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.

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:
- Define the campaign theme
- Classify it into one of seven categories
- Draft three titles, pick one
- Compose the prompt from the template
- Generate against two reference images
- Overlay the auto-coloured logo






Skill 02 — H5 page generation

Extends the approved key visual into a complete, responsive H5 page. The SKILL.md steps:
- Confirm inputs and real content
- Generate or receive the key visual
- Analyze the key visual
- Build the brand kit
- Select modules, set page order
- Plan title images and cutouts
- Implement in HTML and CSS
- 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.

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.

Wrong typeface
Generated text rendered in a typeface outside the brand set.

Over-stylization
The overall render skewed more cartoonish than the brand allows.

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
- Which parts of a designer's taste resist being written as rules — and what should happen to them?
- How should non-designers be able to tell whether an agent's output is on brand?
- 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
- 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.
