brand-asset-generation
Generate brand assets (banner, social card, CIP element) via structured prompting,
brand-token injection, and provider routing. Rides on the existing pack-ai-image
adapters — not a second image-gen stack.
When to use
- User asks to generate a banner, social card, header image, **platform profile
or cover image** (a LinkedIn cover, an X header, a YouTube channel art), or a
CIP (corporate identity) element.
- Branded asset production where palette, typography, or voice must stay consistent.
- When brand tokens are available and should drive the visual output.
- When a brief alone (no tokens) still needs a governance-aware image output.
Procedure
- Identify asset type and spec — determine format (banner, social card,
platform profile/cover image, CIP element), output dimensions (e.g. 1200×630
for Open Graph, 1080×1080 for square social), and target channel (web, print,
social platform).
A platform cover is a dimension constraint, not a new asset class, and it
is the one case where guessing the number is the whole failure: a cover
rendered at the wrong aspect ratio is cropped by the platform, so the brand
marks land outside the visible area and the asset is unusable rather than
merely off-brand. Take the required dimensions from the platform's own
current spec at generation time — never from memory, and never from a number
written here, because these change without notice. If the spec cannot be
established, say so and ask rather than emitting an asset that will be
cropped.
- Ask the resolver, then inject what it reports — run
./agent-config brand:status --json before any colour, type or voice
decision. Take hex values and font names from the tokens.json entry it
reports as valid, and tone keywords from the brand-voice slot
(agents/context-spine/brand-voice.md) when that is valid too; feed those <!-- ref-ignore -->
into the prompt. Never load a token file by path on your own — a file the
resolver marks invalid or shadowed is not the brand, and a dotted
near-miss is not the brand either. When the resolver reports bare, or
nothing valid for the axis in hand, derive palette and type from the brief;
raw generation works, and every such value is **labelled corpus-sourced
in the output** so brief-driven is never reported as token-driven.
- Route and prompt — delegate provider selection to