AI news and explainers at 7 AM weekdays, plus a Sunday weekly at 8Get it in your inbox

METAL LAB

freestylefly/awesome-gpt-image-2

12,376+628 todayJavaScript

A library of 532 reverse-engineered prompts that turn GPT-Image2 into a predictable image-making tool

This repository collects and analyzes 532 real-world prompt examples for GPT-Image2, an AI image generator, breaking them down into reusable structured pieces instead of one-off sentences. It organizes these cases into 13 categories such as UI, posters, product shots, and infographics, and distills them into more than 20 industrial-grade templates you can fill in with your own content. The prompt knowledge is also packaged as an Agent Skill so AI coding tools like Claude Code and Codex can use it directly.

What it does

  1. Prose-style prompts are split into atomic parts such as subject, lighting, material, and layout so they can be recombined like building blocks
  2. 532 collected cases are sorted into 13 categories, including UI & Interfaces, Charts & Infographics, Posters, Products & E-commerce, Brand & Logos, Architecture, Photography, Illustration, Characters, Scenes, History, Documents, and Other
  3. Over 20 industrial templates distilled from these cases are published in docs/templates.md for direct reuse
  4. The same data is shipped as an npm package and an Agent Skill, installable in Claude Code, Codex, and other agent tools with a single command
  5. A companion website (gpt-image2.canghe.ai) lets people browse the gallery, copy full prompts, and test generation after signing in

Why it matters

Instead of guessing at a good prompt sentence every time, users can plug their content into a proven structure, which saves time for anyone doing repetitive or batch image generation. For developers building AI agents or automation pipelines, having prompts organized as reusable, code-like assets makes them much easier to integrate into workflows.

Terms in this repo

  • Prompt · the instruction text you give an image-generation AI to describe what to create
  • GPT-Image2 · the AI image generation model this repository's prompts are designed for
  • Agent Skill · a packaged extension that AI coding tools like Claude Code or Codex can load and use automatically
  • Reverse-engineered · analyzing a finished result backward to figure out the prompt that likely produced it

Repository description (English)

Prompt as Code | GPT-Image2 工业级提示词引擎与模板库,470+ 个案例逆向工程,20+ 套工业级模板,并提炼出Skills,持续更新中

Open on GitHub

Trending repos

All repos →

Latest from METAL LAB