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.

guillaumemeyer Updated

File contents

Images Generation

Source

Memo: images/images-generationAdapted (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.

guillaumemeyer/trendy/tree/main/skills/images/images-generation commit 749edb3ed4

Frequently asked questions

npx skillmds@latest add guillaumemeyer/images-generation