wuyoscar/GPT-Image2-Skill

GPT Image 2/2.5/2.6 prompt gallery, image prompt library, agentic skill, and CLI for OpenAI image generation/editing

GPT Image 2 Skill — Prompt gallery, agent skills, and CLI

What it is

A collection of 171 ready-to-use image prompts (across 31 categories) for OpenAI's GPT Image 2, 2.5, and 2.6 models, plus two agent skills and a command-line tool that let you generate and edit images directly from a terminal or an AI coding agent.

What's inside

  • Prompt gallery — numbered entries with reference images, organized by category (gaming, photography, anime/manga, infographics, isometric, technical illustration, etc.). Each entry includes the exact prompt text and the command used to produce it.
  • Two agent skills:
    • gpt-image — generates and edits images
    • get-prompt-from-image — extracts the prompt from an existing image
  • CLI — a command-line interface that defaults to the gpt-image-2.6-flare model. You can pass a prompt, reference images (-i), size, quality, output format, and more.
  • Animation workflow — the CLI can turn a sprite sheet into a GIF (gpt-image animate), and includes a local HTML player for previewing animations (pause, frame scrubbing, speed control, download).
  • Sample outputs — five worked examples with GPT Image 2.6 (e.g., a "failed camera roll" photo, a cyber engineer's inventory, an overthinker's brain cutaway) and two with GPT Image 2.5 (an exploded watch diagram, a night cafe cutaway).

How it works

You pick a prompt from the gallery (or write your own), optionally attach a reference image, and run a command like:

gpt-image --model gpt-image-2.6-flare -p "<PROMPT>" --size 1024x1536 --quality high -f output.png

The tool sends the request to OpenAI's image API and saves the result. For animations, you can generate a sprite sheet and then assemble it into a GIF:

gpt-image animate --sheet sheet.png --columns 4 --rows 2 --duration 160 -f cursor.gif

Who it's for

  • People who want to reuse proven prompts instead of writing image prompts from scratch.
  • Developers using agent runtimes (Claude Code / Codex, OpenClaw, Hermes Agent) that can load skills.
  • Anyone who wants a repeatable, scriptable way to generate images with GPT Image models.

Key details

  • License: MIT
  • Python: ≥ 3.11
  • Docs: English and Chinese
  • Last updated: 2026-11-09
  • Output formats: PNG, JPEG, WebP (for still images); GIF (for animations)
  • Reference images: can be attached via -i; PDF pages must be exported to PNG/WebP/JPG first

Limitations noted in the README

  • The animation player does not repair inconsistent generated frames.
  • Some generated images miss small details (e.g., a character's name used as a company name, or a color never shown in a comic panel) — the README documents these in its run records.
  • Editable SVG or PowerPoint shapes require a separate authoring step; the tool outputs raster images only.

Related

  • Project
  • Project
  • Project
  • Project
  • Project