Sign in
Explore
Skills · SkillImages & VideoGraphic designReviewed

imagegen

Generate or edit raster images such as photos, illustrations, sprites and transparent cutouts, when the output should be a bitmap, not code.

Kind
Skill
Works with
Codex
Source
openai/skills @ 49f948faa925
Path
skills/.system/imagegen/SKILL.md
Jobs
UI/UX work
Topics
Graphic design

Credit

Made by
openai
Original
github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/imagegen/ (the skill folder)
  • 6 file(s) the skill refers to
  • 8 other files in the folder: LICENSE.txt, agents/openai.yaml, references/cli.md, references/codex-network.md and 4 more
Runs scripts
Yes
  • scripts/image_gen.py
  • shell block in the text
  • shell block in the text (references/cli.md)
  • script file in the folder (scripts/image_gen.py)
Uses the network
Yes
  • downloads Python packages
  • downloads Python packages (scripts/image_gen.py)
Needs secrets
Yes
  • OPENAI_API_KEY
Reads environment variables
  • CODEX_HOME
  • OPENAI_API_KEY
  • IMAGE_GEN
Reads outside the project
  • ~/.codex (references/cli.md)
  • ~/.codex/config.toml (references/codex-network.md)
  • /usr/bin/env (scripts/image_gen.py)
Calls other skills
  • installed
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/image_gen.py: Fallback CLI for explicit image generation or editing with GPT Image models.
What it does
  • Needs a paid account or key
Source revision
49f948faa925
Licence
Apache-2.0
Last activity
28 Oct 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Image Generation Skill

Generates or edits images for the current project (for example website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, or infographics).

## Top-level modes and rules

This skill has exactly two top-level modes:

- **Default built-in tool mode (preferred):** built-in `image_gen` tool for normal image generation and editing. Does not require `OPENAI_API_KEY`.
- **Fallback CLI mode (explicit-only):** `scripts/image_gen.py` CLI. Use only when the user explicitly asks for the CLI path. Requires `OPENAI_API_KEY`.

Within the explicit CLI fallback only, the CLI exposes three subcommands:

- `generate`
- `edit`
- `generate-batch`

Rules:
- Use the built-in `image_gen` tool by default for all normal image generation and editing requests.
- Never switch to CLI fallback automatically.
- If the built-in tool fails or is unavailable, tell the user the CLI fallback exists and that it requires `OPENAI_API_KEY`. Proceed only if the user explicitly asks for that fallback.
- If the user explicitly asks for CLI mode, use the bundled `scripts/image_gen.py` workflow. Do not create one-off SDK runners.
…