Goal
Generate a single high-quality image using OpenAI gpt-image-1 and save it into ./assets/generated/.
Inputs to collect (ask only if missing)
- •Purpose: (e.g., Instagram feed 1:1, story 9:16, banner 16:9, icon 1:1)
- •Style: (photorealistic, flat illustration, 3D, minimal, etc.)
- •Text on image? If yes: exact text and language (warn about small text legibility)
- •Brand constraints (colors, logos, layout rules)
- •Output filename (default:
image.png)
Output
- •Generate the image file in
./assets/generated/<filename>.png - •Print the saved path and a short summary of the prompt used.
Execution steps
- •Draft a final image prompt (concise, unambiguous).
- •Run
python3 .agents/skills/imagegen-gpt/scripts/generate_image.py --prompt "<PROMPT>" --out "./assets/generated/<filename>.png". - •If the command fails due to missing API key, instruct the user to set
OPENAI_API_KEYand re-run. - •If the user requests multiple variants, run multiple times with different
--seedvalues and distinct filenames.