AI-Visual-Prompt-Cookbook

VigoZhaoMIT活跃维护

提供即插即用的 JSON 风格提示词,复制一个 style.json 就能让 Nano Banana Pro、GPT Image 和 Midjourney 生成风格统一的图像,每周更新新样式。

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.

v2026.11.09发布于 2026-11-09 15:07 UTC839star +2 / 7 天80fork同步于 2026-11-10 17:55 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/VigoZhao/AI-Visual-Prompt-Cookbook.git
打开 styles/<style-name>/style.json 复制全文,粘贴到 ChatGPT、Claude 或 Nano Banana Pro 中替换变量后生成
硬件要求按 README 说明

README 未说明本地硬件要求;工作流依赖云端多模态图像模型(如 gpt-image-2、Nano Banana Pro / Gemini 3 Pro Image),无需本地显存。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把视觉风格封装成可复用的 style.json,丢给多模态模型就能稳定出图

提供即插即用的 JSON 风格提示词,复制一个 style.json 就能让 Nano Banana Pro、GPT Image 和 Midjourney 生成风格统一的图像,每周更新新样式。

核心能力

  • 每个风格一个 style.json,含 prompt_template 与变量声明
  • 替换 environment_variables 或 examples 里的值即可复用
  • 提供 182 个风格、364 张预览图,覆盖海报、拼贴、产品等类目
  • 附 Copy Prompt Library,每个风格给一份可直接粘贴的提示词
  • 支持 6 种语言 README,含简体中文

容易踩的坑

本身不含模型,需自备 ChatGPT Images 2 或 Nano Banana Pro 等能读长 JSON 的多模态模型;需手动填写 environment_variables 或 examples[*].values 中的变量,否则模板占位符会原样进入提示词;README 推荐的是端到端多模态模型,普通文生图模型对长 JSON 提示词支持可能不佳

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v2026.11.09
  1. v2026.11.092026.11.09 Style Drop最新正式版2026-11-09 · 2026-11-09 15:07 UTC

    One new visual style:

    • Oblique Interval — styles/oblique-interval/

    The library now includes 183 styles and 366 preview images. All six READMEs, docs/CATALOG.md, the copy-prompt library, gallery thumbnails, and the GitHub Pages data were refreshed.

  2. v2026.11.072026.11.07 Style Drop2026-11-07 · 2026-11-07 15:07 UTC
    查看更新说明

    One new visual style:

    • Nocturne Orbit Manga — styles/nocturne-orbit-manga/

    The library now includes 182 styles and 364 preview images. All six READMEs, docs/CATALOG.md, the copy-prompt library, gallery thumbnails, and the GitHub Pages data were refreshed.

  3. v2026.11.062026.11.06 Style Drop2026-11-06 · 2026-11-06 15:19 UTC
    查看更新说明

    One new visual style:

    • Toner Riot — styles/toner-riot/

    The library now includes 181 styles and 362 preview images. All six READMEs, docs/CATALOG.md, the copy-prompt library, gallery thumbnails, and the GitHub Pages data were refreshed.

  4. v2026.11.042026.11.04 Style Drop2026-11-04 · 2026-11-04 15:06 UTC
    查看更新说明

    One new visual style:

    • Jade Scarlet Panel Press — styles/jade-scarlet-panel-press/

    The library now includes 180 styles and 360 preview images. All six READMEs, docs/CATALOG.md, the copy-prompt library, gallery thumbnails, and the GitHub Pages data were refreshed.

  5. v2026.11.032026.11.03 Style Drop2026-11-03 · 2026-11-03 15:07 UTC
    查看更新说明

    One new visual style:

    • Sulphur Shift — styles/sulphur-shift/

    The library now includes 179 styles and 358 preview images. All six READMEs, docs/CATALOG.md, the copy-prompt library, gallery thumbnails, and the GitHub Pages data were refreshed.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Quick Links

    CategoryGood forStart with
    Photo + DoodleSocial snapshots, lifestyle scenes, playful overlaysPlayful Mascot Doodle Snapshot, Cozy Bedroom Doodle Companion
    Zine + CollageFashion posters, music visuals, maximalist editorial layoutsK-pop Apocalypse Ransom Zine, Y2K Grunge Hip-hop Cutout Poster
    Type PostersBig headline systems, loud campaign graphics, visual punchImpact Burst Halftone Comic Poster, Neon Kinetic Typographic Poster
    Travel + CityDestination posters, street scenes, urban diariesClean Triptych Travel Vlog Thumbnail, Tokyo Kawaii Travel Collage Poster
    Editorial + MinimalCleaner compositions, structured layouts, quieter art directionTri Color Hardcut Portrait Poster, Soft Analog Future Editorial Poster
    Product + CampaignLaunch ads, product heroes, retail graphicsSunlit Coastal Product Blitz, Electric Blue Silhouette Product Launch

    Why This Exists

    Most AI image prompts are one-off text blobs: hard to reuse, hard to compare, and hard to iterate on. This repo takes a different approach: each visual style is distilled into a structured style.json you can drop into any LLM-based image generation workflow. Same JSON, more consistent style direction across generations.

    Quick Start

    1. Browse the Featured Styles, Quick Links, or All Styles.
    2. Open a style folder and copy the style.json.
    3. Paste the full JSON into ChatGPT, Claude, Nano Banana Pro, or any LLM-based image workflow.
    4. Provide your own values for the variables declared in environment_variables, or edit a case in examples[*].values.
    5. Generate the final image prompt and send it to your image model.

    See the Complete Example below for a full input-to-output walkthrough.

    Recommended Image Models

    This workflow works best with end-to-end multimodal image models that can read long structured JSON prompts and generate the final image in one step.

    • ChatGPT Images 2 (OpenAI, gpt-image-2) — strong text rendering, 2K/4K output, reasoning before generation
    • Nano Banana Pro (Google, Gemini 3 Pro Image) — 4K output, multilingual text accuracy, strong subject consistency

    Other multimodal LLMs that accept long JSON prompts may also work but are not the primary recommendation.

    Complete Example

    Input → Output Walkthrough

    This example uses Mono Noir Type Portrait Poster Style.

    Step 1 — The Style
    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

    Prefer the short path? Browse the generated Copy Prompt Library for a copy-ready prompt per style. The full reusable style systems still live in each style.json.

    Featured Styles

    Six visual systems to start with. Every style ships as one JSON plus two preview images. Browse the complete set of 182 in the All Styles gallery below.

    Package Shape

    styles/<style-slug>/
      style.json          # Machine-readable prompt template
      preview-16x9.jpg    # Landscape preview
      preview-9x16.jpg    # Portrait preview
    

    style.json v2.1 / v2.2

    Every style.json is self-contained: copy the whole file into your LLM, then provide values for the variables declared in environment_variables or edit one of the examples[*].values cases.

    • prompt_template is the reusable style prompt with {VARIABLE} placeholders.
    • environment_variables declares every placeholder the template can use.
    • Newer styles set "schema_version": "2.2" and declare only the variables their template uses (for example SUBJECT, MAIN_TEXT, DESIGN_DIRECTION); older v2.1 styles use the ten standard variables.
    • examples contains ready-to-edit cases; each case stores only case_name and values.
    • style_fidelity_anchors and source_content_to_avoid tell the model what to preserve and what not to copy.
    • negative_prompt keeps watermarks, logos, direct source recreations, and off-style outputs away.

    Rendered prompts such as prompt_9x16, prompt_16x9, or full_prompt are intentionally not stored. They are derived at generation time from prompt_template plus chosen values, so the JSON stays compact and does not drift.

    Validate the library with:

    python3 scripts/validate-style-json.py .
    

    All Styles

    Browse all 182 styles below.

    The complete library, including the featured styles above. Parts of a series share one card. For full descriptions and all file links per style, see docs/CATALOG.md.