generate-image

Installation
SKILL.md

Requires GEMINI_API_KEY environment variable and uv package manager.

Workflow

  1. Understand — Determine mode (t2i, i2i, multi-reference), gather parameters (model, aspect ratio, resolution, output path). Exit: mode and parameters are clear.
  2. Craft prompt — Apply the prompting principles below to write the prompt. For t2i, use narrative prose. For i2i/multi-reference, use directive grammar with reference blocks. Exit: prompt is written and follows the relevant checklist.
  3. Confirm — Show the user the exact prompt, input images (if any), model, resolution, and aspect ratio. Ask for confirmation. Exit: user approves.
  4. Generate — Run the script with confirmed parameters. Exit: images are saved and displayed.
  5. Iterate — Present results. Offer refinements (prompt tweaks, parameter changes, follow-up edits). Exit: user is satisfied or moves on.

Default Output & Logging

When the user doesn't specify a location, save images to:

~/Documents/generated images/

Every generated image gets a companion .md file with the prompt and model used (e.g., logo.pnglogo.md).

Related skills
Installs
12
GitHub Stars
249
First Seen
Mar 7, 2026