| name | images-generation |
| version | 1.0.0 |
| category | images |
| description | 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.
|
| triggers | ["generate images","image generation","low res previews"] |
| dependencies | ["creative-image-art-direction","creative-image-tech-specs"] |
| cadence | on-strategy | on-build |
| job_duration | long |
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.