image-generation
Generate an image end-to-end: capture the brief, route to the right provider, author
a provider-specific prompt, reuse seeds for consistency, invoke the adapter, and apply
governance. All adapters are scaffold-tier (dry-run) until promoted to stable.
When to use
- User asks to generate, create, or produce an image from a brief.
- End-to-end image production (routing + prompting + adapter invocation + governance).
- When a consistent series of images needs seed/ref-image reuse across renders.
Procedure
- Capture the brief — extract: subject, output format (raster/vector/banner/icon),
style intent, any existing ref images or seed values for consistency.
- Route the provider via
image-provider-routing —
match job shape (text-in-image → Ideogram, photoreal → Flux, vector → Recraft,
general → Gemini/GPT Image 2).
- Author the prompt via
prompt-engineering-image —
apply provider-specific grammar (text-literal first for Ideogram, noun-phrase for Flux,
style: param for Recraft, natural language for Gemini/GPT).
- Reuse ref-image / seed for consistency — if the brief is part of a series, carry
the seed value or ref-image path forward. Seed reuse is the primary consistency lever;
re-describing the subject each time is not.
- Invoke the adapter (dry-run today) — run
node_modules/@event4u/agent-config/src/scripts/ai-image/adapters/<provider>.sh
with the assembled params. Validate the returned artifact path or dry-run confirmation.
All adapters are experimental (scaffold-tier); no live generation occurs until a
maintainer promotes the adapter via provider-lifecycle-discipline.
- Apply governance — run the rights check (
image-likeness-and-rights) when the
brief names a real person, brand mark, or living artist's style. Attach the AI-disclosure
footer per media-governance-routing before delivering the output.
Output format
- Blueprint — provider choice + routing rationale + prompt string ready to copy.
- Provider + prompt — adapter file reference, key params (aspect ratio, style,
negative prompts), and any seed/ref-image value carried forward.
- Artifact path / dry-run note — the path returned by the adapter, or an explicit
note: "adapter is experimental (scaffold-tier) — dry-run plan only; no rendered
asset until promotion per
provider-lifecycle-discipline."
Gotcha
- Scaffold-tier adapters produce plans, not pixels — all four adapters (
ideogram.sh,
flux.sh, recraft.sh, gemini-image.sh) are scaffold-tier (dry-run only). This
skill produces the blueprint + dry-run confirmation; actual renders require a maintainer
to capture a smoke trace and promote the adapter to stable. Claiming a rendered asset
exists when no adapter is stable misleads the caller.
- Seed reuse is the consistency lever — re-describing the subject more precisely
in each prompt does not lock character or style; carrying the seed value or ref-image
path forward does. Drop the seed and character drift is inevitable across a series.
Good example: Brief for a product-shot series → route to Flux (photoreal), author
noun-phrase prompt, carry seed: 42 across all five renders, invoke adapter, note
"experimental — dry-run plan only."
Bad example: Invoking the adapter and telling the user "here is your rendered image"
while all adapters are still scaffold-tier.
Do NOT
- Do NOT claim a rendered asset is produced while adapters are scaffold-tier — surface
the dry-run caveat explicitly every time.
- Do NOT skip
image-likeness-and-rights when the brief names a real person, a brand
mark, or a named living artist's style.
- Do NOT bypass
image-provider-routing — selecting the wrong provider for the job
shape (e.g. Flux for a text-in-image logo) produces garbled output.
- Do NOT ignore seed/ref-image values when consistency across a series is required —
seed reuse is the only reliable consistency mechanism.
See also
1---2name: image-generation3description: Generate an image from a brief — provider-agnostic blueprint then provider-specific translation, with ref-image/seed reuse for consistency. Use when generating/creating an image.4---56# image-generation78Generate an image end-to-end: capture the brief, route to the right provider, author9a provider-specific prompt, reuse seeds for consistency, invoke the adapter, and apply10governance. All adapters are scaffold-tier (dry-run) until promoted to `stable`.1112## When to use1314- User asks to generate, create, or produce an image from a brief.15- End-to-end image production (routing + prompting + adapter invocation + governance).16- When a consistent series of images needs seed/ref-image reuse across renders.1718## Procedure19201. **Capture the brief** — extract: subject, output format (raster/vector/banner/icon),21 style intent, any existing ref images or seed values for consistency.222. **Route the provider** via [`image-provider-routing`](../image-provider-routing/SKILL.md) —23 match job shape (text-in-image → Ideogram, photoreal → Flux, vector → Recraft,24 general → Gemini/GPT Image 2).253. **Author the prompt** via [`prompt-engineering-image`](../prompt-engineering-image/SKILL.md) —26 apply provider-specific grammar (text-literal first for Ideogram, noun-phrase for Flux,27 `style:` param for Recraft, natural language for Gemini/GPT).284. **Reuse ref-image / seed for consistency** — if the brief is part of a series, carry29 the seed value or ref-image path forward. Seed reuse is the primary consistency lever;30 re-describing the subject each time is not.315. **Invoke the adapter (dry-run today)** — run32 `node_modules/@event4u/agent-config/src/scripts/ai-image/adapters/<provider>.sh`33 with the assembled params. Validate the returned artifact path or dry-run confirmation.34 All adapters are `experimental` (scaffold-tier); no live generation occurs until a35 maintainer promotes the adapter via `provider-lifecycle-discipline`.366. **Apply governance** — run the rights check (`image-likeness-and-rights`) when the37 brief names a real person, brand mark, or living artist's style. Attach the AI-disclosure38 footer per `media-governance-routing` before delivering the output.3940## Output format41421. **Blueprint** — provider choice + routing rationale + prompt string ready to copy.432. **Provider + prompt** — adapter file reference, key params (aspect ratio, style,44 negative prompts), and any seed/ref-image value carried forward.453. **Artifact path / dry-run note** — the path returned by the adapter, or an explicit46 note: "adapter is experimental (scaffold-tier) — dry-run plan only; no rendered47 asset until promotion per `provider-lifecycle-discipline`."4849## Gotcha5051- **Scaffold-tier adapters produce plans, not pixels** — all four adapters (`ideogram.sh`,52 `flux.sh`, `recraft.sh`, `gemini-image.sh`) are **scaffold-tier** (dry-run only). This53 skill produces the blueprint + dry-run confirmation; actual renders require a maintainer54 to capture a smoke trace and promote the adapter to `stable`. Claiming a rendered asset55 exists when no adapter is stable misleads the caller.56- **Seed reuse is the consistency lever** — re-describing the subject more precisely57 in each prompt does not lock character or style; carrying the seed value or ref-image58 path forward does. Drop the seed and character drift is inevitable across a series.5960**Good example:** Brief for a product-shot series → route to Flux (photoreal), author61noun-phrase prompt, carry `seed: 42` across all five renders, invoke adapter, note62"experimental — dry-run plan only."6364**Bad example:** Invoking the adapter and telling the user "here is your rendered image"65while all adapters are still scaffold-tier.6667## Do NOT6869- Do NOT claim a rendered asset is produced while adapters are scaffold-tier — surface70 the dry-run caveat explicitly every time.71- Do NOT skip `image-likeness-and-rights` when the brief names a real person, a brand72 mark, or a named living artist's style.73- Do NOT bypass `image-provider-routing` — selecting the wrong provider for the job74 shape (e.g. Flux for a text-in-image logo) produces garbled output.75- Do NOT ignore seed/ref-image values when consistency across a series is required —76 seed reuse is the only reliable consistency mechanism.7778## See also7980- [`image-provider-routing`](../image-provider-routing/SKILL.md) — select the right provider before writing the prompt.81- [`prompt-engineering-image`](../prompt-engineering-image/SKILL.md) — translate the brief into provider-specific prompt grammar.82- [`image-likeness-and-rights`](../../rules/image-likeness-and-rights.md) — rights check before generating real-person likenesses or brand marks.83- [`provider-lifecycle-discipline`](../../rules/provider-lifecycle-discipline.md) — lifecycle tier gates; read before any adapter invocation.