freestylefly / awesome-gpt-image-2

freestylefly / awesome-gpt-image-2

Prompt as Code | GPT-Image2 Industrial Prompt Engine & Template Library, 500+ Reverse-Engineered Cases, 20+ Industrial Templates English | 简体中文 | 日本語 Updated irregularly with new workflows. Stars are welcome. This project is sponsored by Ciyuan API, an AI aggregation platform for cost-effective GPT Image 2 access.

Prompt as Code(提示词即代码)| GPT-Image2 工业级提示词引擎与模板库,包含 500+ 逆向工程案例,20+ 工业级模板。支持英语 | 简体中文 | 日本語。不定期更新工作流,欢迎点赞(Star)。本项目由 Ciyuan API 赞助,这是一个提供高性价比 GPT Image 2 访问的 AI 聚合平台。

🌐 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.

🌐 可视化网站:使用在线站点 gpt-image2.canghe.ai 浏览图库,获得产品级体验:打开大图预览、复制完整提示词、按风格或场景筛选、通过 Google 账号登录后测试生成,并跳转回 GitHub 上的原始案例。

Paid Community The GPT-Image2 discussion group is now a paid community. Sign in on the community page, make a one-time ¥9.90 Alipay payment, and the protected group QR will appear only after the server confirms payment. For payment, access, refund, or product questions, follow the WeChat official account 苍何 or scan the card below and send a message.

付费社区:GPT-Image2 讨论组现已转为付费社区。在社区页面登录,支付 9.90 元人民币(支付宝一次性付款),服务器确认支付后将显示受保护的群二维码。如有支付、访问、退款或产品相关问题,请关注微信公众号“苍何”或扫描下方卡片发送消息。

❤️ 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.

❤️ 赞助商:想要出现在这里吗?通过 GitHub Sponsors 支持本项目,或在微信搜索“苍何”并发送您的产品名称及简短的赞助说明。

Sponsor Description 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.

赞助商说明:感谢 APIMart 赞助本项目!APIMart 是一个低成本的 AI 图像与视频生成 API 平台——GPT-Image-2 低至 0.006 美元/张,1 美元可生成 160 多张图片。一个异步 API 同时覆盖图像和视频:提交任务、获取 ID、通过轮询或回调获取结果。支持批量处理数万张图片且无超时,切换模型无需更改代码。按量付费,无月费——点击此处注册开始使用。

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.

感谢 hiapi 赞助本项目!hiapi 是一个 AI 图像与视频生成 API 平台——提供 GPT-Image-2(文生图、图像编辑、1K–4K)以及 Seedance、可灵(Kling)、万像(Wan)等视频模型,全部通过统一的异步 API 调用:提交任务、获取 task_id、通过轮询或回调获取结果,支持批量处理无超时,切换模型无需更改代码。所有结果存储在 hiapi 自有的 CDN 上并持久化保存,因此您的图片/视频链接可长期有效并随时获取——无需急于下载备份。支持原生远程 MCP 和 Agent Skills,可直接接入 Claude Code 和 Cursor。提供中文界面与文档、支持微信支付、按量付费无月费——新用户赠送 1 美元免费额度(约 50 张图片)。点击此处注册。

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.

感谢 PackyCode 赞助本项目!PackyCode 是一个为 Claude Code、Codex、Gemini 等提供稳定、高性能 API 中转的服务商。自动故障转移、智能路由和无限并发,助力将 AI 编程转化为可靠的生产力工具。点击此处注册开始使用。

Thank you to DolOffer for supporting this project. DolOffer is a platform focused on digital product recommendations and deal sharing, helping users quickly discover useful tools, services, and limited-time benefits. It offers popular subscriptions including YouTube Premium, Claude, ChatGPT Plus, Spotify, and Apple Music at prices as low as 30% of official pricing or even lower, with genuine stable service and worry-free support. Register through our exclusive link and enter promo code AI8888 when topping up to get an extra 10% off.

感谢 DolOffer 支持本项目。DolOffer 是一个专注于数字产品推荐与优惠分享的平台,帮助用户快速发现实用的工具、服务和限时福利。它提供包括 YouTube Premium、Claude、ChatGPT Plus、Spotify 和 Apple Music 在内的热门订阅服务,价格低至官方价格的 3 折甚至更低,提供正版稳定服务与无忧售后。通过我们的专属链接注册,并在充值时输入优惠码 AI8888,可额外获得 10% 的折扣。

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.

项目赞助商。PPToken 为 ChatGPT、Claude、Gemini 及其他主流 AI 模型提供 API 中转与 Key 分发服务,具备低延迟访问、高可用性、按量计费及灵活的订阅方案。

Project sponsor. Ciyuan API is an AI aggregation platform for stable, low-latency large-model API services, and supports this project in making GPT Image 2 exploration more practical for developers.

项目赞助商。Ciyuan API 是一个提供稳定、低延迟大模型 API 服务的 AI 聚合平台,支持本项目,使 GPT Image 2 的探索对开发者而言更具实用性。

Community sponsor channel. GitHub Sponsors helps fund ongoing case collection, website maintenance, industrial template distillation, and Agent Skill updates.

社区赞助渠道。GitHub Sponsors 助力资助持续的案例收集、网站维护、工业级模板提炼以及 Agent Skill 的更新。

⚡️ 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.

⚡️ 项目愿景:在 GPT-Image2 广泛普及后,AI 图像生成已从“它能生成图片吗?”转向“它能生成稳定、可控、可复用的图片吗?”本项目将零散的社区示例转化为“提示词即代码”(Prompt-as-Code)资产,使其更易于被 Agent 和自动化工作流复用。核心目标很简单:将散文式的提示词压缩为结构化的协议。当您需要批量生成、模板系统或生产工作流时,这种结构比一堆孤立的示例更有价值。

🧱 Atomic schema: split subjects, lighting, materials, layout, and visual details into composable parts ⚙️ Workflow friendly: designed for agents, scripts, and automation systems 🧬 Structured control: improve controllability for layout, copy, and information hierarchy

🧱 原子化架构:将主体、光影、材质、布局和视觉细节拆分为可组合的部分 ⚙️ 工作流友好:专为 Agent、脚本和自动化系统设计 🧬 结构化控制:提升布局、文案和信息层级的可控性

📖 Quick Links Full case gallery Gallery Part 1: cases 1-165 Gallery Part 2: cases 166-532 Industrial prompt templates and pitfalls guide Agent skill: GPT-Image2 Style Library MIT License Full disclaimer

📖 快速链接 完整案例图库 图库第一部分:案例 1-165 图库第二部分:案例 166-532 工业级提示词模板与避坑指南 Agent Skill:GPT-Image2 风格库 MIT 许可证 完整免责声明

🗂️ 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): Apps, websites, dashboards, social screenshots, and product interfaces. View Cases 📊 Charts & Infographics (52 cases): Infographics, knowledge maps, technical explainers, and structured diagrams. View Cases 📰 Posters & Typography (86 cases): Event posters, covers, type-driven visuals, and strong layout compositions. View Cases 🛍️ Products & E-commerce (41 cases): Product shots, detail pages, packaging, selling points, and ads. View Cases 🏷️ Brand & Logos (27 cases): Logos, identity systems, brand touchpoints, and campaign visuals. View Cases 🏛️ Architecture & Spaces (12 cases): Architecture renders, interiors, city maps, and spatial concepts. View Cases 📷 Photography & Realism (77 cases): Portraits, phone photography, film texture, and commercial photography. View Cases 🎨 Illustration & Art (58 cases): Illustration, art styles, material experiments, and decorative images. View Cases 🧍 Characters & People (29 cases): Character design, pose references, cards, and 3D toys. View Cases 🎬 Scenes & Storytelling (20 cases): Storyboards, narrative scenes, livestream frames, and worldbuilding.

🖼️ 案例图库 🧩 UI 与界面(73 个案例):App、网站、仪表盘、社交媒体截图和产品界面。查看案例 📊 图表与信息图(52 个案例):信息图、知识图谱、技术说明和结构化图表。查看案例 📰 海报与排版(86 个案例):活动海报、封面、字体驱动的视觉效果和强有力的布局构图。查看案例 🛍️ 产品与电商(41 个案例):产品拍摄、详情页、包装、卖点展示和广告。查看案例 🏷️ 品牌与 Logo(27 个案例):Logo、识别系统、品牌触点和活动视觉。查看案例 🏛️ 建筑与空间(12 个案例):建筑渲染、室内设计、城市地图和空间概念。查看案例 📷 摄影与写实(77 个案例):人像、手机摄影、胶片质感和商业摄影。查看案例 🎨 插画与艺术(58 个案例):插画、艺术风格、材质实验和装饰性图像。查看案例 🧍 角色与人物(29 个案例):角色设计、姿势参考、卡牌和 3D 玩具。查看案例 🎬 场景与叙事(20 个案例):分镜脚本、叙事场景、直播画面和世界观构建。