awesome-gpt-image-2
Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。
freestylefly
@freestylefly
⬇ 0
★ 32,200
JavaScript
安装
dsh plugin add github:freestylefly/awesome-gpt-image-2
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。
该插件未提供要点说明,请参考仓库 README。
agentsai-image-generationchatgptdsh-plugingpt-image-2
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/freestylefly/awesome-gpt-image-2 |
| 许可证 | MIT |
| 主要语言 | JavaScript |
| 下载量 | 0 |
| GitHub 星标 | 32,200 |
| 最近推送 | 2026-09-11 |
| 收录日期 | 2026-09-19 |
| 分类 | 会话与消息 |
事实信息来自公开插件目录快照(2026-09-19),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
[图片: GPT-Image2 Prompt System]
Prompt as Code | GPT-Image2 Industrial Prompt Engine & Template Library, 500+ Reverse-Engineered Cases, 20+ Industrial Templates
[图片: Stars]
[图片: Forks]
[图片: Cases]
[图片: Original]
[图片: Sponsor]
[图片: 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.
Sunburst: image generation and precise editing.
Flare: fast, high-quality everyday image generation.
4 real recreations: #532 lemon campaign, #527 Rio diorama, #523 Manhattan watercolor, and #510 Bichon Shop icon. Each preserves its original gallery image and uses the full gallery prompt for one new built-in image generation, without a reference image. A case selector opens any example directly. Images, prompts and generation records. Original generation conditions and exact tool model IDs remain unverified; demonstration examples are labeled separately.
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.
[图片: 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.
[图片: 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.
[图片: 苍何 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
[图片: 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.
[图片: 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.
[图片: 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.
[图片: 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.
[图片: 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.
🧱 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
📖 Quick Links
Full case gallery
Gallery Part 1: cases 1-165
Gallery Part 2: cases 166-544
Industrial prompt templates and pitfalls guide
Agent skill: GPT-Image2 Style Library
MIT License
Full disclaimer
🗂️ 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
[图片: UI and interfaces]
Apps, websites, dashboards, social screenshots, and product interfaces.
View Cases
📊 Charts & Infographics
53 cases
[图片: Charts and infographics]
Infographics, knowledge maps, technical explainers, and structured diagrams.
View Cases
📰 Posters & Typography
90 cases
[图片: Posters and typography]
Event posters, covers, type-driven visuals, and strong layout compositions.
View Cases
🛍️ Products & E-commerce
42 cases
[图片: Products and e-commerce]
Product shots, detail pages, packaging, selling points, and ads.
View Cases
🏷️ Brand & Logos
27 cases
[图片: Brand and logos]
Logos, identity systems, brand touchpoints, and campaign visuals.
View Cases
🏛️ Architecture & Spaces
12 cases
[图片: Architecture and spaces]
Architecture renders, interiors, city maps, and spatial concepts.
View Cases
📷 Photography & Realism
78 cases
[图片: Photography and realism]
Portraits, phone photography, film texture, and commercial photography.
View Cases
🎨 Illustration & Art
59 cases
[图片: Illustration and art]
Illustration, art styles, material experiments, and decorative images.
View Cases
🧍 Characters & People
31 cases
[图片: Characters and people]
Character design, pose references, cards, and 3D toys.
View Cases
🎬 Scenes & Storytelling
21 cases
[图片: Scenes and storytelling]
Storyboards, narrative scenes, livestream frames, and worldbuilding.
View Cases
🏮 History & Classical Chinese Themes
16 cases
[图片: History and classical Chinese themes]
Classical scrolls, historical figures, traditional themes, and poetry visuals.
View Cases
📚 Documents & Publishing
11 cases
[图片: Documents and publishing]
White papers, manuals, encyclopedic plates, and publishing layouts.
View Cases
🧪 Other Use Cases
28 cases
[图片: Other use cases]
Creative experiments, special tasks, mixed workflows, and practical cases.
View Cases
🖼️ Full Gallery
[图片: Full gallery]
Browse all 544 cases by gallery part and category.
Open Gallery
⭐ Latest Additions
[图片: 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
[图片: 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=
SUPER_ADMIN_EMAILS=2689458656@qq.com,canghe0818@gmail.com
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:
Apply supabase/migrations/202605090001_user_credits.sql to the Supabase project.
Apply supabase/migrations/20260509090000_membership_billing.sql to add membership plans, credit packs, Stripe order records, and credit adjustment RPCs.
Apply supabase/migrations/20260721090000_alipay_webpay.sql before enabling Alipay website payments, then configure each credit pack's reviewed CNY price. See Alipay website payment setup.
Apply supabase/migrations/20260722090000_paid_community.sql before enabling the paid community. Keep COMMUNITY_PAYMENT_ENABLED=false until the protected QR, Alipay onboarding, and production payment/refund checks are complete. See the paid community runbook.
Apply supabase/migrations/20260512090000_google_account_center.sql to add account usage summaries and forced credit charging for super admins.
Apply supabase/migrations/20260512143000_pricing_admin_metrics.sql to update the $5 / 300 credits catalog and add admin dashboard metrics.
Apply supabase/migrations/20260515090000_case_favorites.sql to add per-user case favorites.
Apply supabase/migrations/20260828090000_apimart_generation_tasks.sql to add APIMart task IDs, actual USD costs, expiring result URLs, and provider indexes.
Add https://gpt-image2.canghe.ai and local dev URLs such as http://127.0.0.1:5173 to Supabase Auth redirect URLs.
Enable the Google Provider after adding Google OAuth credentials in the Supabase Dashboard.
To force Google-only sign-in, disable the Email Provider in Supabase Auth settings.
Keep SUPABASE_SERVICE_ROLE_KEY only in server-side environments such as Vercel Environment Variables.
Configure Stripe Checkout with the webhook URL https://gpt-image2.canghe.ai/api/billing/webhook.
Subscribe the Stripe webhook to checkout.session.completed, invoice.payment_succeeded, customer.subscription.updated, and customer.subscription.deleted.
Keep STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET only in server-side Vercel Environment Variables.
Create a GA4 property for gpt-image2.canghe.ai, add the measurement ID to VITE_GA_MEASUREMENT_ID, and copy the numeric property ID to GA4_PROPERTY_ID.
Create a Google OAuth Web Client with http://localhost:8080/oauth2callback as an authorized redirect URI, then add GOOGLE_ANALYTICS_CLIENT_ID and GOOGLE_ANALYTICS_CLIENT_SECRET to local .env.local.
Run npm run ga4:oauth, open the generated URL, approve the analytics.readonly permission, paste the callback URL into the terminal, then add the returned GOOGLE_ANALYTICS_REFRESH_TOKEN to Vercel as a Sensitive environment variable.
🖼️ Featured Cases
Case 1: Infographic Visualization
[图片: Urban Metabolism Atlas]
An engineering-whitepaper-style infographic case for studying modular structure, information hierarchy, and bilingual labels.
View full case
Case 2: Social Media Interface Screenshot
[图片: Ailln AI]
A mixed "product interface + social content screenshot" case for controlling text blocks, UI frames, and content cards.
View full case
Case 6: Illustration Art
[图片: Japanese fantasy illustration]
A Japanese fantasy illustration example for studying atmosphere, color, and large-scene composition.
View full case
Case 17: Interaction Design Diagram
[图片: Interaction design diagram]
A classic "structured breakdown + explanatory layout" case for product diagrams and poster-like technical explainers.
View full case
Case 166: Twelve Gold Saints Card Set
[图片: Twelve Gold Saints card set]
A multi-card, unified-style case for studying batch generation and series design.
View full case
Case 310: Snack Brand Technical Breakdown
[图片: Snack brand technical breakdown]
A strong hybrid of brand narrative, structural breakdown, and commercial presentation. Useful as an "infographic + brand visual" reference.
View full case
Canghe Original Tests
Case 330: Moonlit Livestream Scene
[图片: Moonlit livestream scene]
A high-fidelity livestream screenshot reference for UI atmosphere, comments, and realistic people.
View Case
Case 334: RAG Technical Explainer
[图片: RAG technical explainer]
A reference for technical concepts, process arrows, and Chinese explanation modules.
View Case
Case 338: Red Cliff Classical Scroll
[图片: Red Cliff classical scroll]
A complete example of scroll format, classical Chinese narrative, and full-text layout.
View Case
Case 331: Hand-Drawn Xi'an Watercolor Map
[图片: Hand-drawn Xi'an watercolor map]
A lightweight reference for city maps, hand-drawn routes, and landmark labels.
View Case
Case 332: Tea Pi Product Poster
[图片: Tea Pi product poster]
A beverage product image combining Chinese selling points and a clean commercial poster style.
View Case
Case 339: Apple-Style Nature Science Poster
[图片: Apple-style nature science poster]
Minimal studio photography, a natural subject, and science-poster information layout.
View Case
Latest Community Additions
Only the latest collection and import run is shown here. Older imports stay in the full gallery.
Case 539: Raw Sketchy Portrait Poster
[图片: Raw Sketchy Portrait Poster]
A customizable rough-ink portrait poster prompt combining an oversized subject, close companion, minimal scenery, restrained palette, and intentionally imperfect print texture.
View Case
Case 540: Dreamlike Futuristic World Poster
[图片: Dreamlike Futuristic World Poster]
A vertical editorial art-poster prompt for surreal future cities with sculptural architecture, oversized plants, tiny people, vintage travel texture, and luxury pacing.
View Case
Case 541: 50/50 Mixed-Media Memory Card
[图片: 50/50 Mixed-Media Memory Card]
A reference-photo editing prompt that keeps the top photo intact and converts the lower half into a handmade paper memory card with wax-crayon sketching.
View Case
Case 542: Black-and-White Typographic Portrait Poster
[图片: Black-and-White Typographic Portrait Poster]
A high-contrast monochrome typographic portrait prompt that fuses side-profile silhouettes, rough ink texture, microtext, and a large readable text block.
View Case
Case 543: Travel Souvenir Enamel Pin Badge
[图片: Travel Souvenir Enamel Pin Badge]
A product-design prompt that turns a travel photo into a glossy enamel pin badge with gold dividers, scene hierarchy, simplified figure rules, and fabric backdrop.
View Case
Case 544: Preschool Vocabulary Learning Card
[图片: Preschool Vocabulary Learning Card]
A preschool learning-card prompt for clean object-and-part vocabulary layouts with realistic produce, dotted arrows, simple illustration, and clear labels.
View Case
🧩 Template Entry
The full template library lives in docs/templates.md. Use the Prompt Template Categories above for quick category jumps, or open Industrial prompt templates and pitfalls guide for the complete template text.
🚀 How To Use This Repository
Start from the featured cases and decide what output type you want to imitate.
Open the full gallery and find nearby cases. Copy structure first, then style words.
Return to the template page and fill your business variables into the general or JSON templates.
📄 Notes & Disclaimer
Acknowledgements & Sources
During collection and research, this project references public prompt-library content from YouMind and OpenNana for learning, summarization, and methodology research. Copyright belongs to the original authors or platforms. If any content is infringing or inappropriate, please contact us and we will correct or remove it promptly.
Disclaimer
This project only organizes publicly accessible community prompts and example images for learning and research. It does not claim ownership of any third-party original content.
All prompt cases and generated images in this repository were initially inspired by public community sources, especially YouMind and OpenNana. The project aims to break down strong examples into reusable structured protocols for learning, summarization, and automated testing with large-model agents.
We make every effort to preserve original sources, including author profiles, original post links, and source repository links.
For third-party content, we follow source repository statements, licenses such as CC BY 4.0, and the relevant platform rules.
If you are the original author or rights holder and believe an entry should not be displayed, please open an Issue with the entry link. We will review it and remove it quickly when appropriate.
This repository does not guarantee that third-party content can be used commercially. Please obtain authorization from the original rights holder before commercial use.
If this library helps you, please star the repository.
Star History
[图片: Star History Chart]
📜 License
This project is open source under the MIT License. You can use, modify, distribute, and build on it freely while preserving the license notice.
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。