Lab / Templates / Function-Syntax Weighted 2×2 Creature Variations Template
part of pack Concept Poster · multi-zone single composition with heavy text

Function-Syntax Weighted 2×2 Creature Variations Template

Function-style prompt + 数字权重 layer + 跨域 translation + meta-prompting → 2x2 grid 4 个 creature variants 带 per-cell label · 一次出 4 个 viral concept

项目内首验证 2026-05-01 · 单样本 · 7 unique 维度全 PASSED · 出片 Michelin-quality. 首样本: 4 extinct animals (Triceratops/T-Rex/Mammoth/Pteranodon) as sushi sculptures · 2x2 grid · 全标签. **3 个 framework-级新发现:** (a) **gpt-image-2 honor 显式 function-syntax prompt** · `Function NameXXX($Arg1, $Arg2)` + numbered steps + 权重 ::N + Negative ::-1 这套 LLM 风格 · 在 image gen 上有效 · 不是被忽略当 keyword bag · 启示: 复杂 multi-stage creative task 可以用 function 包装 vs flat description (b) **数字权重 ::N 作 priority hint 有效** · ::5 (Anchor) · ::4 (Morphology) · ::3 (Material) · ::2 (Light) · ::1 (Render) · ::-1 (Negative) · 不像 SDXL 那么强权重 · 但**层级感清晰** · 高权重 anchor 更显眼 · 启示: 跟 显式 'negative prompt:' (cinematic motion 验) 同属 prompt-engineering primitive 拓展 (c) **2x2 + 4 short labels (≤20 chars) ALL PASS** · 之前 Noor 'Noor 🌸' (5 chars) 经验上限上调 · 现在: "TYRANNOSAURUS REX" (17 chars) 全 readable + 拼写正确 · 但**仍是 grid 内多 short label · 不是 long-form text · 不要 extrapolate 到段落级** 其他 PASSED 维度: · Meta-prompting: model 自完成"分析 → 推断"两步 (auto-enumerate 4 iconic + auto-map 食材) · Cross-domain translation: animal anatomy ↔ sushi ingredients (mammoth fur → rice grains 完美) · 2x2 grid: cells 均匀 · production sweet spot (47s vs 5x5 14min) · Auto-enumeration: model 偏向 high-recognition subjects (跟 5x5 fox 同模式) Production use: · 餐饮品牌 marketing · 创意菜单 mock · viral SNS 4-cell 系列 · pre-viz 4 concept 看哪个最 viral · template 化: 替换 "extinct animals" + "sushi" 为其他 cross-domain pair (e.g., 神话动物 × 乐高 / 童话角色 × bento) Sister storyboard-5x5-style-grid (同 grid axis · 5x5 是 style 维 · 此条是 subject 维 4 variation). Sister templates-ink-wash-painting (同 placeholder template · 但 ink wash 单 subject · 此条 grid). Sister templates-surreal-mural-portrait (同 in-image text · 但 mural 是单 string · 此条 4 labels).

observed_once · ¥0.5 · aspect 1:1 · providers · gpt_image_2 · id · templates-function-weighted-2x2-creature
Function-Syntax Weighted 2×2 Creature Variations Template
sample · experiments/sushi_monster_test/sushi_monster_extinct_v1.png
Run Record
2026-05-01T13:29:20+08:00
✓ pass¥0.546.7s wall· 2.2MB
provider · gpt_image_2 (apimart) · aspect_ratio=1:1 · size=1:1 · n=1
prompt · inline (no library entry · 1121 chars)
refs · none (pure T2I)
task_id · task_01KQH056E732CBV7HB527XTREQ
script · experiments/sushi_monster_test/test_v1_extinct.py
view full sidecar yaml
date: '2026-05-01T13:29:20+08:00'
result: pass
prompt:
  text: >-
    <instructions>

    Input = 4 iconic extinct animals

    Act as a Master Sushi Chef.

    1. Analyze the Creature to find its Body Parts (e.g., Wings, Scales, Claws).

    2. Infer the Sushi Ingredients to mimic those parts (e.g., Scales = Cucumber/Avocado; Wings =
    Salmon Sashimi).

    Function Sushi_Monster ($Creature, $Ingredients)

    Anchor: [Edible Sculpture of $Creature] :: [Fresh Sashimi and Rice]::5

    Morphology: Culinary creature design, the anatomy of [$Creature] constructed entirely from
    [$Ingredients], rice grains forming the muscle mass, seaweed (Nori) forming the outline/details,
    sashimi slices forming the armor/feathers::4

    Material Physics: Glistening raw fish texture, sticky rice, wet surface tension, appetizing food
    colors, organic soft-body physics::3

    Illumination: Bright sushi bar lighting, clean wood reflections, appetizing gloss::2

    Render Stack: Macro food photography, 8k, sharp focus, Michelin plating aesthetic::1

    Negative: [Real animal, scales, fur, feathers, dry, inedible, plastic, messy]:: -1

    Output: 2x2 grid. Execute Function for 4 variations of the creature. Name of the Creature
    underneath.

    </instructions>
refs: []
provider:
  id: gpt_image_2
  relay: apimart
  config:
    aspect_ratio: '1:1'
    size: '1:1'
    'n': 1
output:
  path: ./sushi_monster_extinct_v1.png
  bytes: 2305723
  wall_seconds: 46.7
  task_id: task_01KQH056E732CBV7HB527XTREQ
script: experiments/sushi_monster_test/test_v1_extinct.py
cost_yuan: 0.5
notes: >
  Function-syntax prompt · weighted layers (::5..::-1) · 2x2 grid · 4 extinct animals as sushi.

  46.7s wall · 出片 Michelin-quality 食物摄影级.


  7 unique 维度全 PASSED:


  (1) **Function-syntax prompt** · HONORED
      · `Function Sushi_Monster($Creature, $Ingredients)` 被当作 instructional 框架
      · Model 不只读 keywords · 是真的执行了"分析 → 推断 → 生成"步骤
      · 形似 LLM agent 的 prompt structure 在 image gen 上有效
      → gpt-image-2 能 honor 显式 function/instruction 风格 prompt

  (2) **Weighted layers (::5/::4/::3/::2/::1/::-1)** · STRONG · 可见 hierarchy
      · Anchor (5) Edible Sculpture · 最强 honor (Mammoth 最纯 sculpture · T-Rex 较 textural)
      · Morphology (4) `rice=muscle / nori=outline / sashimi=armor` · 完美执行 (Mammoth 米粒清晰可数)
      · Material Physics (3) glistening 鱼皮光泽 visible
      · Illumination (2) 木台反光 + 暖灯
      · Render Stack (1) Michelin plating · wasabi/garnish 全在
      · Negative (-1) `real animal/fur/dry` · 0 leakage
      → 数字权重作 priority hint 在 gpt-image-2 上有效 · 即使不像 SDXL 强权重

  (3) **Meta-prompting** · PERFECT · model 自完成两步推理
      · Step 1 自选: Triceratops · T-Rex · Woolly Mammoth · Pteranodon (经典 4 种)
      · Step 2 自映射:
        - Triceratops: salmon body + nori horns + rice details
        - T-Rex: tuna red scales + nori lines + rice teeth
        - Mammoth: rice grain "fur" (每粒可见) + sashimi underside
        - Pteranodon: salmon wings + nori frame
      → 模型可被赋予"内部决策"任务 · 不只 keyword pattern matching

  (4) **Cross-domain semantic translation** · EXCELLENT
      · Mammoth fur → individual rice grains 排列 (creative 解)
      · Triceratops frill → salmon arc with nori spots
      · T-Rex teeth → small rice clumps
      · Pteranodon wing membrane → smooth salmon slice
      → 跨域 anatomy ↔ ingredient 翻译能力强 · 不是简单 texture overlay

  (5) **2x2 grid** · PERFECT · 项目内最小 grid · cells 比例均匀
      → 4-cell 是 production sweet spot (vs 5x5 14min · 2x2 47s)

  (6) **Per-cell labels** · ALL 4 PRESENT and READABLE
      · "TRICERATOPS" / "TYRANNOSAURUS REX" / "WOOLLY MAMMOTH" / "PTERANODON"
      · serif typeface · 一致 gold/cream 色 · 一致 position (cell 底部)
      · 拼写全对 · 包括 "TYRANNOSAURUS REX" 17 chars 长 string
      → **NEW finding**: 2x2 grid + 4 short label (≤20 chars) ALL PASS · 之前 Noor 经验 ≤5 chars · 上限上调

  (7) **Auto-enumeration** · STRONG
      · "iconic extinct animals" → 选了 4 最 iconic (T-Rex/Triceratops/Mammoth/Pteranodon)
      · 没选 obscure 的 (Quagga / Thylacine 等)
      · model 默认偏向 high-recognition subjects · 跟 5x5 fox 同模式

  Production use:
    · 餐饮品牌 marketing (sushi 店 menu / 创意菜单)
    · educational content (creature anatomy as food)
    · viral SNS 系列 (4 cells 易于 social 分享)
    · 替换 "extinct animals" 为其他 theme · template 化潜力高
    · pre-viz: 用此格式快速 mock up 4 个 concept 看哪个最 viral

  Sister storyboard-5x5-style-grid (同 grid axis · 但 5x5 是 style enumeration · 此条是 cross-domain
  creature variants).

  Sister templates-ink-wash-painting (同 template-with-placeholders + 显式 function · 但 ink wash 是
  single subject · 此条是 4-variation grid).
prompt not yet extracted to library
Verbatim prompt lives in the experiment script. Pending migration to recipes/image_gen/gpt_image_2/prompts/.

Cross-Reference

methodology · — no dedicated recipe doc · referenced in memory only —
axis · §Templates · 参数化 prompt 产品 · 用户填占位符 / 加 ref · 商业化路径明确 · 商务头像 / NYC 旅行 / GRWM 等

Sister capabilities · same axis

NYC Travel Vlogger · No-Ref (Mood Vibe)
observed_once
9-panel mood-driven travel collage · pure T2I · 模型造虚构 vlogger · creative pre-viz / mood vibe / 灰区"假旅行账号" 用途 · JSON-structured prompt · landmark precision · polished influencer aesthetic (NOT phone-diary)
NYC Travel Vlogger · Personal (with Ref)
observed_once
1 张真人照 + JSON multi-scene prompt → 9-panel "你在 NYC 旅行" 海报 · identity 跨 9 panel 保 + landmarks 9/9 准 + NO age-up · personal branding / LinkedIn / 母亲节礼物 / 童装 marketing
Porcelain Sculpture Portrait Template
observed_once
真照 + selective identity copy prompt → 3D relief mixed-media 雕塑 (porcelain + rose-gold + pearl filigree) · 显式 disentangle structure-vs-pose · gallery / gift / luxury brand collateral
Surreal Mural Portrait Template
observed_once
复合 prompt (subject + 超现实 merge + 环境 mural + cursive 文字) → suburban 墙上的写实壁画 · subject 融入 environment · 街景 + 玫瑰 + 泡泡糖 + Instagram-ready
Pet Crayon Poster Template
observed_once
宠物名 + 复合 prompt → 蜡笔/naive sketch 风海报 · centered + warm yellow + vintage print + 中文 title · 礼物/SNS 头像/宠物 marketing
Photo Annotation Overlay · JP Vlog Style
observed_once
真照 + 中文 annotation rules → 源照 100% 保留 + 手绘 doodle 注解 + 日记 tone 短句 + Japanese-kawaii aesthetic · 小红书/RED viral vlog 模板
Oriental Ink Wash Painting Template
observed_once
东方水墨 template (含 [SUBJECT][COLOR1][COLOR2] 占位符) → 真 水墨画 · 自动补印章 + 落款诗 + 远山 + 松 · museum-quality · 工艺品 / 装饰画 / 文化 marketing
Watercolor Landscape Template
observed_once
风景 prompt → loose expressive watercolor 风景画 · 多元素平衡 (建筑+自然+海+天空) · gallery-worthy 油画质感 · 印刷品/家居装饰/旅游 marketing
Pencil Sketch Portrait Template
observed_once
JSON-structured prompt → 真 graphite-on-paper portrait · 7 anchor 全 honor (subject/pose/hair/clothing/medium/strokes/paper grain) · production-grade illustration · gift / commission / SNS / brand
One-Line Gesture Redraw Template
observed_once
单 ref portrait → 单条连续黑线 (不抬笔) · loose / 负空间大 / 极简姿态画 · pack avatar-redraw-2026q2 variant
MS Paint Stick Figure Redraw Template
observed_once
单 ref portrait → 童画 stick-figure / MS Paint mouse-drawn 感 · 跟 pathetic 同祖 但显式 stick limbs · pack avatar-redraw-2026q2 variant
Torn Paper Collage Redraw Template
observed_once
单 ref portrait → 撕边彩纸拼贴 · 不齐叠层 · 跨 medium 物理材质 · 出片 gallery-quality · pack avatar-redraw-2026q2 variant
Notebook Margin Doodle Redraw Template
observed_once
单 ref portrait → 圆珠笔走神课堂涂鸦 + 自动生成 annotation/arrows/side jokes · 模型 invent text · pack avatar-redraw-2026q2 variant
Pasta-Line Flat Lay Redraw Template
observed_once
单 ref portrait → spaghetti pieces 拼出轮廓 · 跨 medium 物理材质 · sparse gap-heavy · pack avatar-redraw-2026q2 variant
Whimsical Children's Book Redraw Template
observed_once
单 ref portrait → 童趣手绘绘本风 · 黑线轮廓 + 柔和 pastel 色块 + 抽象背景装饰 · 完整 DNA prompt · pack avatar-redraw-2026q2 variant
Pathetic Redraw Template
observed_once
1 张真人照 + viral "pathetic / clumsy / MS Paint" prompt → 刻意烂的儿童画版你 · meme / 自嘲 / SNS 分享 · viral GPT Image 2 trend
Business Headshot Template
observed_once
1 张真人照 + 模板 prompt → 商务化档案头像海报 · 身份保持 + 自动翻译 (中文姓名→EN) + 信息条 (姓名/职位/机构) · 1:1
Cinematic Motion Shot Template
observed_once
1 张真人照 + DSLR cinematic prompt → 9:16 全身动态镜头 · 身份保持 + 显式 negative prompt + face lock 直接指令 · golden hour 户外
High-Angle Fisheye Fashion Portrait Template
observed_once
pure T2I 5-item wardrobe + 高角度 fisheye + studio 渐变 → 杂志封面级 editorial streetwear · 无 ref · 1:1
Real Human + Named Anime IP Photo Template
observed_once
Real-human ref (face lock) + 命名 anime IP (e.g., Ninja Hattori) 同框 · model 智解 stylized 为 mascot suit performer · "我和 X" 周边/SNS · 1:1
Pastel Cyberpunk Portrait · Anti-Neon Template
validated_2plus
Anti-cyberpunk-cliché · 暖 pastel 调 + 显式 'no neon' negative + gallery aesthetic · 高端品牌 / 时尚 / 二次元 IP 现实化 · 4:5 portrait
Selective Color Portrait with Heavy Brand Text Template
observed_once
Selective color (face / frames in color · rest B&W) + 拥挤 brand-heavy 背景 + 6+ readable text strings + advanced "object-as-mask" 概念 · pure T2I · 1:1
Lego Brick Concept Poster Template
observed_once
主题占位符 → 原创积木风格字体 + 概念视觉隐喻 + 多 zone 信息图 (字体样本 + 模块结构 + 颜色图例 + 细线标注) + 高级克制非玩具感 · 收藏级 design exhibition poster