Loading...
Loading...
Use when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent background, product shots, concept art, covers, or batch variants); run the bundled CLI (`scripts/image_gen.py`) and require `OPENAI_API_KEY` for live calls.
npx skill4agent add openai/skills imagegengpt-image-1.5scripts/image_gen.pytmp/imagegen/output/imagegen/--out--out-diruvuv pip install openai pillowuvpython3 -m pip install openai pillowOPENAI_API_KEYOPENAI_API_KEYgpt-image-1.5gpt-image-1-miniOPENAI_API_KEYopenaiclient.images.edit(...)scripts/image_gen.pyscripts/image_gen.pyUse case: <taxonomy slug>
Asset type: <where the asset will be used>
Primary request: <user's main prompt>
Scene/background: <environment>
Subject: <main subject>
Style/medium: <photo/illustration/3D/etc>
Composition/framing: <wide/close/top-down; placement>
Lighting/mood: <lighting + mood>
Color palette: <palette notes>
Materials/textures: <surface details>
Quality: <low/medium/high/auto>
Input fidelity (edits): <low/high>
Text (verbatim): "<exact text>"
Constraints: <must keep/must avoid>
Avoid: <negative constraints>references/sample-prompts.mdUse case: stylized-concept
Asset type: landing page hero
Primary request: a minimal hero image of a ceramic coffee mug
Style/medium: clean product photography
Composition/framing: centered product, generous negative space on the right
Lighting/mood: soft studio lighting
Constraints: no logos, no text, no watermarkUse case: precise-object-edit
Asset type: product photo background replacement
Primary request: replace the background with a warm sunset gradient
Constraints: change only the background; keep the product and its edges unchanged; no text; no watermarkreferences/prompting.mdreferences/sample-prompts.mdreferences/sample-prompts.mdreferences/cli.mdreferences/image-api.mdreferences/codex-network.mdreferences/cli.mdscripts/image_gen.pyreferences/image-api.mdreferences/prompting.mdreferences/sample-prompts.mdreferences/codex-network.md