附录 A · 提示词模板库
📊 结构化提示词模板库:把「不变的风格」与「变化的主体/动作」拆开管理(方法论见第 4 章,真实项目实战见第 11 章)。替换大括号部分即可用于你的项目。适用:自然语言流模型(Nano Banana / GPT-Image / Qwen / Z-Image);tag 流写法见 A.6。
A.1 核心公式:三段拼接
完整 prompt = {STYLE} + {SUBJECT} + {POSE}
全局风格 主体设定 形态/表情/动作原则:STYLE 锁死进版本管理;SUBJECT 只写记忆点;POSE 描述动作不描述风格。
A.2 {STYLE} 全局风格段模板
cute {ART_STYLE}, {PROPORTION}, {SHADING}, {PALETTE} color palette,
soft rim light, light from upper left, {FRAMING}, {BACKGROUND},
{RENDER_STYLE}, high quality填入示例(Q 版吉祥物风):
cute chibi fantasy creature mascot, 2.5-heads-tall proportion, oversized round
sparkling eyes, perfectly rounded silhouette, no sharp edges, clean lineless
flat shading with soft gradient shadows, warm pastel color palette,
soft rim light, light from upper left, full body, centered composition,
plain white background, children's book illustration, kawaii, high quality常用替换词库:
| 槽位 | 备选 |
|---|---|
{ART_STYLE} | chibi mascot / pixel art sprite / flat vector icon / isometric game asset / painterly concept art |
{SHADING} | lineless flat shading with soft gradient shadows / cel shading with clean outlines / soft volumetric lighting |
{PALETTE} | warm pastel / muted earth tones / vibrant neon / limited 16-color retro palette |
{BACKGROUND} | plain white background(要抠图)/ simple gradient background / isometric grid background |
{RENDER_STYLE} | children's book illustration / game asset render / studio-quality 2D illustration |
A.3 {SUBJECT} 主体段写法
只写「区别于其他角色的记忆点」,3~5 个特征足够:
a small {ANIMAL_TYPE} spirit, {COLOR_SCHEME},
{KEY_FEATURE_1}, {KEY_FEATURE_2}, {KEY_FEATURE_3}例:
a small fox-like fire spirit, soft cream and orange fur,
oversized fluffy tail with a tiny warm flame glowing at the tip反模式
不要在 SUBJECT 里重复 STYLE 已有的信息(「cute」「chibi」),重复会稀释记忆点权重;也不要写超过 6 个特征——模型会顾此失彼。
A.4 {POSE} 表情/动作段词库
状态类(养成/宠物游戏直接用):
idle: standing idle, gentle smile, relaxed pose, looking at viewer
happy: beaming happy smile, squinting joyful eyes, little sparkles around
hungry: hungry and pitiful, drooping eyes, small teardrop, pouting mouth
sleepy: sleepy, closed eyes, drooping ears, small "zzz" bubble floating above
upset: upset, puffed cheeks, teary big eyes, slightly quivering动作类:
fed: leaning forward with tiny open mouth, a small berry floating just in front
bath: taking a bath, surrounded by soap bubbles, holding a tiny towel
play: bouncing joyfully in mid-air, playing with a small glowing ball
petted: being gently patted on the head, eyes closed, blissful smile
attack: dynamic action pose, motion lines, determined expression
hit: flinching, closed eyes, small stars around head
celebrate: jumping high with joy, confetti and star burst around, arms wide open形态段(拼在 POSE 位置):
幼体: baby form, 2-heads-tall, extra chubby, slightly oversized head, shorter tiny limbs
成体: grown form, 2.5-heads-tall, more defined features, confident standing poseA.5 定稿设定图模板
{STYLE}, {SUBJECT},
character design sheet, three views (front view, side view, back view),
expression chart with 4 faces (happy, hungry, sleepy, upset),
consistent proportions, flat white background用途与流程见第 4 章 · 定稿—量产两步法。
A.6 tag 流写法(Illustrious / NoobAI / SDXL 系)
质量标签打头 + 逗号分隔 + 权重语法:
masterpiece, best quality, chibi, cute fantasy mascot creature, full body,
standing, simple background, white background, flat color, soft gradient
shading, pastel colors, rounded silhouette, no outline配套负面词(仅 tag 流模型生效):
realistic, photorealistic, photo, human, human hands, detailed fur strands,
complex background, scenery, text, watermark, logo, signature, extra limbs,
extra tails, deformed, mutated, scary, dark horror, sketch, blurry, lowresA.7 其他资产类型的 prompt 起手式
| 资产 | 模板要点 |
|---|---|
| 无缝贴图 | {MATERIAL}, seamless tileable texture, top-down view, flat lighting, PBR albedo + ComfyUI 无缝节点 |
| 等距建筑 | isometric view, 45 degree angle, game asset, single building, plain background, light from upper left |
| UI 图标 | Recraft:{THEME} game icon set, flat design, consistent stroke width, rounded corners + 图标清单 |
| 特效贴图 | game VFX texture, {EFFECT} on pure black background, centered, glowing particles |
| 3D 输入图 | 复用标准像(白底 + 全身 + 均匀光照),必要时加三视图 |
| 音效 | short {MATERIAL} {ACTION}, single hit, dry, close perspective(物理描述而非情感描述) |
A.8 版本管理约定
{STYLE}改动任何一词 = 版本号 +1(style v1.3),记进项目 changelog;- 每个主体的定稿记录:
assets/prompts/{subject}.md存最终 prompt + seed + 模型版本; - 量产脚本里的 prompt 素材与手册同步更新,手册是唯一事实源。