freestylefly/awesome-gpt-image-2

▲ 22,081 stars today★ 31,975⑂ 3,081

Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。

31,975Star
3,081Fork
0Watch
0Issue
JavaScriptLanguage
-License
Created · last push · repository size 0 KB · default branch -

README

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/GPT-Image2 Prompt System

Prompt as Code | GPT-Image2 Industrial Prompt Engine & Template Library, 500+ Reverse-Engineered Cases, 20+ Industrial Templates

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Stars https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Forks https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Cases https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Original https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Sponsor

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/freestylefly/awesome-gpt-image-2 | Trendshift

English | 简体中文 | 日本語

GPT Image 2.5 Spotlight

Explore the 2.5 spotlight: learn about Sunburst and Flare, then explore a shared-prompt comparison with a draggable divider, side-by-side view, image enlargement, and generation settings.

The spotlight runs independently. Existing GPT-Image2 cases, templates, Skill, and generation tools remain available. This update does not add live 2.5 image generation.

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/GPT Image 2.5 spotlight preview — case 532 recreation

🌐 Visual Website

Use the live site at gpt-image2.canghe.ai to browse the gallery as a product experience: open large previews, copy full prompts, filter by style or scenario, test generation after Google sign-in, and jump back to the source case on GitHub.

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/GPT-Image2 Gallery website preview

Community 交流群

Join the GPT-Image2 discussion group to exchange prompts, workflows, and creative ideas with other users. Visit the community page to join.

Follow the WeChat official account 苍何 or scan the QR code below to receive project updates, new cases, and practical tutorials.

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/苍何 WeChat official account QR code and search card

❤️ Sponsors

Want to appear here? Support the project through GitHub Sponsors, or search 苍何 on WeChat and send your product name plus a short sponsorship note.

| Sponsor | Description | | ------- | ----------- | | https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/APIMart | Thanks to APIMart for sponsoring this project! APIMart is a low-cost API platform for AI image & video generation — GPT-Image-2 from $0.006/image, 160+ images per dollar. One async API covers both image and video: submit a task, get an ID, fetch results via polling or callback. Batch tens of thousands of images without timeouts, switch models without changing code. Pay-as-you-go with no monthly fee — sign up here to get started. | | https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/hiapi | Thanks to hiapi for sponsoring this project! hiapi is an AI image & video generation API platform — GPT-Image-2 (text-to-image, image edit, 1K–4K) alongside video models like Seedance, Kling and Wan, all through one unified async API: submit a task, get a task_id, fetch results by polling or callback, batch without timeouts, switch models without code changes. Every result is stored on hiapi's own CDN with persistent storage, so your image/video URLs stay available long-term and can be fetched anytime — no rushing to download and back them up yourself. Native Remote MCP and Agent Skills plug straight into Claude Code & Cursor. Chinese UI & docs, WeChat Pay, pay-as-you-go with no monthly fee — new users get $1 free credit (~50 images). Sign up here. | | https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/PackyCode | Thanks to PackyCode for sponsoring this project! PackyCode is a stable, high-performance API relay provider for Claude Code, Codex, Gemini, and more. Automatic failover, smart routing, and unlimited concurrency help turn AI coding into a reliable productivity tool. Register here to get started. | | https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/PPToken | Project sponsor. PPToken provides API relay and key distribution for ChatGPT, Claude, Gemini, and other mainstream AI models, with low-latency access, high availability, pay-as-you-go billing, and flexible subscription plans. | | https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Liqiu API | Thanks to Liqiu API for sponsoring this project! Liqiu API is a stable, transparent, dedicated AI API relay offering access to ChatGPT, Claude, Grok, Gemini, and more. It uses pay-as-you-go billing, with multipliers starting at 0.1x, and emphasizes reliable service with around-the-clock maintenance for developers. Register here to get started. |

⚡️ Project Vision

After GPT-Image2 became widely available, AI image generation moved from "can it make an image?" to "can it make stable, controllable, reusable images?" This project turns scattered community examples into Prompt-as-Code assets that are easier for agents and automation workflows to reuse.

The core goal is simple: compress prose-style prompts into structured protocols. When you need batch generation, template systems, or production workflows, this structure is more valuable than a pile of isolated examples.

📖 Quick Links

🗂️ Category Overview

Start with the case album to find a visual direction, then open the prompt template categories to turn that direction into reusable structure.

🖼️ Case Album

🧩 UI & Interfaces
73 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/UI and interfaces
Apps, websites, dashboards, social screenshots, and product interfaces.
View Cases

📊 Charts & Infographics
53 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Charts and infographics
Infographics, knowledge maps, technical explainers, and structured diagrams.
View Cases

📰 Posters & Typography
90 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Posters and typography
Event posters, covers, type-driven visuals, and strong layout compositions.
View Cases

🛍️ Products & E-commerce
42 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Products and e-commerce
Product shots, detail pages, packaging, selling points, and ads.
View Cases

🏷️ Brand & Logos
27 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Brand and logos
Logos, identity systems, brand touchpoints, and campaign visuals.
View Cases

🏛️ Architecture & Spaces
12 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Architecture and spaces
Architecture renders, interiors, city maps, and spatial concepts.
View Cases

📷 Photography & Realism
78 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Photography and realism
Portraits, phone photography, film texture, and commercial photography.
View Cases

🎨 Illustration & Art
59 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Illustration and art
Illustration, art styles, material experiments, and decorative images.
View Cases

🧍 Characters & People
31 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Characters and people
Character design, pose references, cards, and 3D toys.
View Cases

🎬 Scenes & Storytelling
21 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Scenes and storytelling
Storyboards, narrative scenes, livestream frames, and worldbuilding.
View Cases

🏮 History & Classical Chinese Themes
16 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/History and classical Chinese themes
Classical scrolls, historical figures, traditional themes, and poetry visuals.
View Cases

📚 Documents & Publishing
11 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Documents and publishing
White papers, manuals, encyclopedic plates, and publishing layouts.
View Cases

🧪 Other Use Cases
28 cases

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Other use cases
Creative experiments, special tasks, mixed workflows, and practical cases.
View Cases

🖼️ Full Gallery

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Full gallery
Browse all 544 cases by gallery part and category.
Open Gallery

⭐ Latest Additions

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/Latest additions
The newest community cases and workflows collected in the repo.
View Latest

🧩 Prompt Template Categories

The prompt body remains in the original template document for now. This homepage only adds an English navigation layer.

Template Page 1 / 4: Design & Information

| Category | Template Entry | Core Capability | |---|---|---| | 🧩 UI & Interfaces | View Prompts | Components, page hierarchy, screenshot texture | | 📊 Charts & Infographics | View Prompts | Modules, arrows, data structure, readability | | 📰 Posters & Typography | View Prompts | Layout, headline systems, people, visual impact |

Template Page 2 / 4: Commerce & Space

| Category | Template Entry | Core Capability | |---|---|---| | 🛍️ Products & E-commerce | View Prompts | Product selling points, packaging, detail-page structure | | 🏷️ Brand & Logos | View Prompts | Logos, identity, brand touchpoint systems | | 🏛️ Architecture & Spaces | View Prompts | Perspective, materials, indoor and outdoor lighting |

Template Page 3 / 4: Imaging & Characters

| Category | Template Entry | Core Capability | |---|---|---| | 📷 Photography & Realism | View Prompts | Lenses, lighting, realistic textures | | 🎨 Illustration & Art | View Prompts | Brushwork, materials, art styles | | 🧍 Characters & People | View Prompts | Character design, pose sheets, consistency |

Template Page 4 / 4: Narrative & Extensions

| Category | Template Entry | Core Capability | |---|---|---| | 🎬 Scenes & Storytelling | View Prompts | Storyboards, worldbuilding, emotional pacing | | 🏮 History & Classical Chinese Themes | View Prompts | Dynasties, clothing, scroll-style narrative | | 📚 Documents & Publishing | View Prompts | Page systems, tables of contents, layout rules | | 🧪 Other Use Cases | View Prompts | Mixed tasks, experimental workflows, special outputs |

🤖 Agent Skill

This repository includes an agent skill for choosing GPT-Image2 styles, templates, categories, and scene tags from the same data used by the website.

Package links: npm / GitHub Packages

https://github.com/freestylefly/awesome-gpt-image-2/blob/HEAD/City life system map generated with the GPT-Image2 style library skill

Example output from a city-life-system-map request using the style library skill.

Quick Install for Agent Skills

Recommended for Claude Code, Codex, Cursor, and other tools supported by skills:

npx skills add freestylefly/awesome-gpt-image-2 --skill gpt-image-2-style-library --agent claude-code codex --global --yes --copy

Install to every supported local agent:

npx skills add freestylefly/awesome-gpt-image-2 --global --all --copy

Claude Code Plugin Marketplace

Run these commands inside Claude Code:

/plugin marketplace add freestylefly/awesome-gpt-image-2
/plugin install gpt-image-2-style-library@awesome-gpt-image-2

npm CLI

If you prefer npm, install the CLI and then sync the skill into local agent folders:

npm install -g gpt-image-2-style-library
gpt-image-2-style-library install all

You can also run it without a global install:

npx gpt-image-2-style-library install all

Install from GitHub Packages:

npm login --scope=@freestylefly --registry=https://npm.pkg.github.com
npm install -g @freestylefly/gpt-image-2-style-library --registry=https://npm.pkg.github.com
gpt-image-2-style-library install all

install all writes the skill to the common local folders used by Codex and Claude Code, including ~/.codex/skills, ~/.claude/skills, and ~/.agents/skills. Restart the agent session after installing.

Use it with a request like:

Use gpt-image-2-style-library to create an infographic prompt about Codex.

For local source development:

npm run generate:style-skill
npm run install:skill

The skill source lives at agents/skills/gpt-image-2-style-library. Its generated reference comes from data/style-library.json, so the website and Agent workflow share one style library.

🔐 Website Auth & Generation

The visual site supports direct APIMart generation with a personal browser-only API key. Without a personal key, signed-in users continue through Supabase Auth, platform credits, and the server-side APIMart key.

Required Vercel environment variables:

VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
[email protected],[email protected]
APIMART_API_KEY=
APP_URL=https://gpt-image2.canghe.ai
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
VITE_GA_MEASUREMENT_ID=
GA4_PROPERTY_ID=
GOOGLE_ANALYTICS_CLIENT_ID=
GOOGLE_ANALYTICS_CLIENT_SECRET=
GOOGLE_ANALYTICS_REFRESH_TOKEN=

Setup checklist:

More Today's Trending projects

1

debpalash / VoiceStudio

Python★ 29,840⑂ 3,606▲ 2,776 stars
2

JustVugg / colibri

C★ 32,609⑂ 3,430▲ 2,173 stars
3

bilawalsidhu / gods-eye-view

JavaScript★ 33,945⑂ 6,772▲ 1,831 stars
4

alibaba / open-code-review

Go★ 26,516⑂ 1,906▲ 1,571 stars
5

ever-co / ever-gauzy

TypeScript★ 6,164⑂ 994▲ 1,130 stars
6

pacifio / atlas

Rust★ 4,440⑂ 274▲ 1,091 stars