# Images Generation

> Trendy adapter of memo `images/images-generation` (PRD §10.1). Generate LOW-RES previews at Strategy and final HIGH-DEF assets + print files at Build, with bounded cost: previews first, HD only after approval.

- Skill: `guillaumemeyer/images-generation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add guillaumemeyer/images-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/guillaumemeyer/images-generation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: guillaumemeyer (https://skillmd.com/u/guillaumemeyer)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/guillaumemeyer/images-generation

---


# Images Generation

## Source
Memo: `images/images-generation` — **Adapted** (Trendy-native).

## Role
Produce the actual image assets at two quality tiers, strictly ordered by
approval gates (PRD §4.5/§4.6/§4.7): LOW-RES previews during Strategy, final
HD assets + print files only after APPROVE STRATEGY, finalized at APPROVE
LIVE.

## Trendy adaptation
- Strategy: generate LOW-RES previews for the 18 concepts (6 × 3 variants) —
  bounded cost; persisted as `stores.branding.variants[].assets` with
  `resolution=low_res`.
- Build: regenerate the selected variant's assets at HD with print files per
  `creative-image-tech-specs`; persisted with `resolution=hd,
  stage=build`.
- APPROVE LIVE: mockups finalized (`stage=final`), matching
  `packages/strategy/src/images.ts` (`hdImageUrl` seed scheme) and the
  `approve_live` action's `mockups_finalized` step.
- Real generation uses the xAI image API when `XAI_API_KEY` is set; otherwise
  the fixture URL scheme applies (degraded, documented) — the seed-based URL
  scheme keeps both paths deterministic.

