AIHubMix Image Generation
Inputs
ui_brief.md,requirements.md, or a short product/UI prompt.- Target platform: web, dashboard, mobile, app, landing, or admin console.
- Constraints: brand, audience, states, density, and forbidden styles.
Environment
Read credentials only from environment or .env:
HERMES_UI_IMAGE_API_KEY,HERMES_UI_IMAGE_BASE_URL,HERMES_UI_IMAGE_MODELAIHUBMIX_API_KEYor compatibleOPENAI_API_KEYAIHUBMIX_BASE_URLAIHUBMIX_IMAGE_MODEL
Workflow
- Convert the product spec into one concrete visual prompt.
- Generate or dry-run one draft image at a time.
- Save outputs under
tmp/ui-drafts/or a project-localui-drafts/. - Ask Wyatt to approve direction before block-level design.
- After approval, write
DESIGN_TOKENS.mdandCOMPONENT_SPEC.md.
Hard rules
- Never print API keys, tokens,
.env, cookies, or account files. - Do not hard-code model names; use
HERMES_UI_IMAGE_MODELorAIHUBMIX_IMAGE_MODEL. - Image drafts are for UI direction only; final frontend implementation must still follow the G0-G9 gate.
- Do not generate UI that requests or displays company raw data.