imagegen

Installation
SKILL.md

imagegen

Generate and edit images for the current project exclusively through the Codex CLI (codex exec) and its built-in image_gen tool, counting toward the user's Codex usage limits. This skill targets ChatGPT Images 2.5; the backend served to a session depends on availability.

Requirements

  • Codex CLI installed (codex --version), on a recent version whose agent exposes the built-in image_gen tool.
  • Logged in with a ChatGPT account: codex login.
  • For local alpha inspection: Python 3 with Pillow (python3 -m pip install pillow).

When to use

  • Generate a new image: concept art, product shot, hero/banner, game asset, infographic.
  • Generate using one or more reference images for style, composition, or mood.
  • Edit an existing image: object removal/replacement, lighting or weather changes, background replacement, compositing, text localization, sketch-to-render.
  • Produce a transparent-background cutout (see references/transparency.md).
  • Produce several variants of one asset.

When not to use

Installs
14
GitHub Stars
3
First Seen
May 12, 2026