VigoZhao/AI-Visual-Prompt-Cookbook
VigoZhao/AI-Visual-Prompt-Cookbook has 839 GitHub stars and 80 forks. GitHot measured +1 stars in 24 hours, +12 in 7 days, and +31 in 15 days. Last checked 2026-11-10 02:03 UTC. Last push 2026-11-06.
Plug-and-play JSON style prompts for Nano Banana Pro, GPT Image & Midjourney. Copy one style.json, get a consistent look. New styles every week.
实测星标增长
- 24小时
- +1
- 7天
- +12
- 15天
- +31
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.zh-CN.md
原文AI Visual Prompt Cookbook
English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Bahasa Indonesia
复制一个 JSON,得到一种风格。 把一个 style.json 放进 ChatGPT、Claude、Nano Banana Pro、即梦或其他 LLM 图像工作流,替换变量,保留完整视觉系统。
这是一个面向 AI 图像生成的可复用视觉提示词风格库:每个风格都被整理成可直接使用的 style.json,并配套横竖两张预览图,方便浏览、复制和二次生成。
由 @VigoCreativeAI 策划整理,并在 OpenAI Codex 的协助下结构化。Star 这个仓库可以持续关注新的风格更新。
🖼️ 在线画廊 · 或浏览下方 All Styles 画廊 / 完整目录。
💬 用这里的风格做了图?来 Show and tell 晒一晒 · 想要还没有的风格?在这里许愿
快速入口
| 分类 | 适合做什么 | 先看这些 |
|---|---|---|
| 照片 + 涂鸦 | 社交随拍、生活方式场景、轻快贴纸覆盖层 | Playful Mascot Doodle Snapshot, Subway Doodle Photo Hybrid |
| Zine + 拼贴 | 时尚海报、音乐视觉、极繁编辑排版 | K-pop Apocalypse Ransom Zine, Y2K Grunge Hip-hop Cutout Poster |
| 字体海报 | 大标题系统、高冲击广告图、视觉冲击 | Impact Burst Halftone Comic Poster, Neon Kinetic Typographic Poster |
| 旅行 + 城市 | 目的地海报、街头场景、城市视觉日记 | Clean Triptych Travel Vlog Thumbnail, Tokyo Kawaii Travel Collage Poster |
| 编辑 + 极简 | 更干净的构图、结构化版式、安静的艺术指导 | Tri Color Hardcut Portrait Poster, Soft Analog Future Editorial Poster |
为什么做这个项目
大多数 AI 图像提示词都是一次性的文本块:难复用、难比较,也难稳定迭代。这个项目采用另一种方式:把每一种视觉风格拆解成结构化的 style.json,你可以把它放进 ChatGPT、Claude 或其他 LLM 图像生成流程里。换主题时,风格结构仍然保持稳定。
快速开始
- 浏览 精选风格、快速入口 或 All Styles。
- 打开某个风格目录,复制里面的
style.json。 - 把完整 JSON 放进 ChatGPT Images 2、Nano Banana Pro 或其他端到端多模态图像模型。
- 根据
environment_variables里的变量说明填写你的变量值,或直接修改examples[*].values里的案例值。 - 生成最终图像。
参见下面的 Complete Example,查看完整的输入到输出示例。
Recommended Image Models
这个工作流最适合端到端多模态图像模型:它们能读取较长的结构化 JSON 提示词,并一步生成最终图像。
- ChatGPT Images 2 (OpenAI, gpt-image-2) — 文字渲染强,支持 2K/4K 输出,可在生成前进行推理
- Nano Banana Pro (Google, Gemini 3 Pro Image) — 支持 4K 输出,多语言文字准确性好,主体一致性强
其他能接受长 JSON 提示词的多模态 LLM 也可能可用,但不是主要推荐。
Complete Example
输入 → 输出演示
这个示例使用 Mono Noir Type Portrait Poster Style。
Step 1 — The Style
prompt_template excerpt
Create a {ASPECT_RATIO} monochrome editorial poster in the Mono Noir Type Portrait Poster Style. Style fidelity lock: {STYLE_FIDELITY_ANCHORS}. Source content to avoid: {SOURCE_CONTENT_TO_AVOID}. Scene: {SUBJECT} {SUBJECT_ACTION} with {PRODUCT_OR_PROP} in {LOCATION}. Background elements: {BACKGROUND_ELEMENTS}. Wardrobe and styling: {WARDROBE_STYLE}. Composition: one large high-contrast black-and-white photographic subject, close crop, deep charcoal background, sparse negative space, shallow depth of field, serious noir editorial mood. If the aspect ratio is 16:9, make a landscape poster with the subject weighted to the right side and the headline block on the left. If the aspect ratio is 9:16, make a vertical poster with the headline stacked in the upper-left or middle-left field and the subject cropped large on the right or lower-right. Typography: render the exact readable lowercase headline text "{MAIN_TEXT}" as three short left-aligned lines...
Step 2 — Your Variables
SUBJECT = a tired architect with silver hair
SUBJECT_ACTION = studying a folded blueprint in a late-night pause
PRODUCT_OR_PROP = a rolled plan tube and a pencil held low
LOCATION = a dim concrete studio after midnight
BACKGROUND_ELEMENTS = soft charcoal wall gradient, blurred drafting table edge, deep empty space
MAIN_TEXT = focus / outlasts / noise.
SECONDARY_TEXT = studio log 02:14
ACCENT_SYMBOL = a tiny white plus
WARDROBE_STYLE = dark work jacket over a plain black shirt
ASPECT_RATIO = 16:9
Step 3 — The Final Prompt
Create a 16:9 monochrome editorial poster in the Mono Noir Type Portrait Poster Style. Style fidelity lock: black-and-white photographic portrait, deep charcoal background, giant lowercase left-aligned headline, first word in a white label, remaining words in white, high contrast, sparse negative space, close crop. Source content to avoid: no young woman with blunt bangs, no freckles close-up, no discipline beats procrastination text, no copied face or exact source crop. Scene: a tired architect with silver hair studying a folded blueprint in a late-night pause with a rolled plan tube and a pencil held low in a dim concrete studio after midnight. Background elements: soft charcoal wall gradient, blurred drafting table edge, deep empty space. Wardrobe and styling: dark work jacket over a plain black shirt. Composition: one large high-contrast black-and-white photographic subject, close crop, deep charcoal background, sparse negative space, shallow depth of field, serious noir editorial mood. If the aspect ratio is 16:9, make a landscape poster with the subject weighted to the right side and the headline block on the left. If the aspect ratio is 9:16, make a vertical poster with the headline stacked in the upper-left or middle-left field and the subject cropped large on the right or lower-right. Typography: render the exact readable lowercase headline text "focus
outlasts
noise." as three short left-aligned lines with tight leading; put the first headline word as black type inside a crisp white rectangular label, then set the remaining lines in heavy white type directly on the dark background. Add "studio log 02:14" only as tiny unobtrusive white microcopy if it fits. Use a tiny white plus only as a minimal typographic mark. Keep type sharp, flat, square-cornered, and massive. Photo treatment: realistic black-and-white studio photography, strong shadow falloff, visible facial or fabric texture, subtle grain, no color, no illustration, no collage, no extra panels, no logos, no watermark.
Step 4 — The Result
复制提示词入口
想先快速试效果?可以打开自动生成的 Copy Prompt Library,每个风格都有一段可直接复制的简版提示词。完整可复用风格系统仍然保留在各自的 style.json 里。
精选风格
先看这 6 个风格。每个风格都保持轻量:一个 JSON 加两张预览图。完整 181 个风格见在线画廊或英文 README 的 All Styles。
Toner RiotElectric-green character key art crushed into coarse circular screen and acid-lime square dither, with industrial titles and abrupt straight print splices. The image emerges from damaged information, not polished illustration. 打开 style.json · 复制提示词 · 目录 |
Jade Scarlet Panel PressA fused character-led neighborhood bulletin: scarlet comic panel energy and cream outlined lettering intersect jade-and-black street-print silhouettes, arranged as staggered editorial modules. 打开 style.json · 复制提示词 · 目录 |
Sulphur ShiftA shift-worker character zine on sulphur paper: workers, oversized tools and perforated recorder strips spat from machines compress each moment of operation into a rough-printed character poster. 打开 style.json · 复制提示词 · 目录 |
Ink Orbit ClubFlat, slightly naive hand-inked maker posters in densely lived-in workshops: cold teal/cyan and grey-green, strong fisheye perspective, fluorescent pink katakana and blue serif top mastheads. 打开 style.json · 复制提示词 · 目录 |
Vermilion Jade HalftoneHigh-density sci-fi film poster language built from teal-green paper, giant vermilion title glyphs, cream highlights and ink-black halftone; it keeps occlusion, misregistration and wear while reorganizing the layout around new stories at different scales. 打开 style.json · 复制提示词 · 目录 |
Vermilion Marker FolkFolk event poster in full-bleed vermilion with uneven thick black marker strokes: naive round-headed figures sharing an action, patches of dense dot texture, and a compact two-typeface information hierarchy. By default it redesigns the figures' interaction and layout around a new theme. 打开 style.json · 复制提示词 · 目录 |
文件结构
styles/<style-slug>/
style.json # 机器可读的提示词风格模板
preview-16x9.jpg # 横屏预览图
preview-9x16.jpg # 竖屏预览图
style.json v2.1 / v2.2
每个 style.json 都是自包含的:把完整文件复制给 LLM,然后根据 environment_variables 的变量说明填写新值,或直接改写某个 examples[*].values 案例。
prompt_template是带{VARIABLE}占位符的可复用风格提示词。environment_variables声明模板里可使用的所有变量。- 较新的风格带有
"schema_version": "2.2",只声明模板真正用到的变量(如SUBJECT、MAIN_TEXT、DESIGN_DIRECTION);较早的 v2.1 风格使用固定的 10 个标准变量。 examples提供可直接改写的案例;每个案例只包含case_name和values。style_fidelity_anchors和source_content_to_avoid分别说明要保留的风格锚点,以及不能复制的源内容。negative_prompt用来排除水印、Logo、直接复刻源图和偏离风格的输出。
仓库不会保存 prompt_9x16、prompt_16x9 或 full_prompt 这类渲染后的完整提示词。它们可以在生成时由 prompt_template 和变量值临时推导出来,这样 JSON 更轻,也不容易过期。
校验命令:
python3 scripts/validate-style-json.py .
All Styles
下面是最新的 9 个风格。全部 181 个风格请看在线画廊、英文 README 的 All Styles,或带完整描述的 docs/CATALOG.md。
|
Toner Riot |
Jade Scarlet Panel Press |
Sulphur Shift |
|
Ink Orbit Club |
Vermilion Jade Halftone |
Vermilion Marker Folk |
|
Salvage Body Editorial |
Scarlet Outline Monument |
Fisheye Desktop Zine |
发布规则
- 一个目录 = 一种风格
- 新风格会优先出现在精选风格和 All Styles 画廊中,完整描述同步添加到 docs/CATALOG.md
- main 分支只放每个风格的
style.json和两张预览 JPG - 完整图库不放在这个仓库里
- 不发布原始参考图、水印、平台标识、二维码、账号信息、私有提示词,或未经授权的品牌素材
Contributing
提交新风格时,请遵循 CONTRIBUTING.md 中的公开包结构、校验规则和 PR checklist。
许可证
代码、脚本和文档采用 MIT 许可证。style.json 的提示词内容采用 CC BY 4.0 授权——欢迎注明出处 @VigoCreativeAI 后复用和改编。预览图仅作为视觉参考随仓库展示。
探索相关项目
affaan-m/ECC
智能体执行与控制框架的性能优化系统。面向 Claude Code、Codex、Opencode、Cursor 等,涵盖技能、本能、记忆、安全与研究优先的开发。
300,313 星标NousResearch/hermes-agent
与你一同成长的智能体
262,134 星标multica-ai/andrej-karpathy-skills
一个用于改进 Claude Code 行为的 CLAUDE.md 文件,源自 Andrej Karpathy 对 LLM 编程陷阱的观察。
231,460 星标firecrawl/firecrawl
借助来自网络及其他来源的数据,强化你的 AI 智能体。正在构建面向超级智能的资料库。🔥
200,178 星标