Skip to content

提示词全公开

这里公开《静默纪元·守护》预告片制作中实际使用的提示词。好的提示词是我现在的生产标准,坏的提示词标注了问题、根因和造成的实际影响。

提示词架构总览

整个项目的提示词分成五层:

全局规则 → 禁止项 → 风格/色调后缀

锚点层:场景锚点 + 角色锚点 + 物件锚点

镜头描述层:构图、动作、情绪、机位

I2V 运动层:运动模板 + 首帧约束

连续性约束层:屏障尺度、环境连续性、角色一致性

好的提示词

1. 全局规则与禁止项

这两段是所有提示词的基础底板,每一条都是用返工烧出来的。

全局视觉后缀:

text
painterly cinematic realism, soft shadows, muted color palette,
16:9 aspect ratio, not raw photography, not cel-shaded, not game render

全局禁止项:

text
no ancient palace, no fantasy costume, no hanfu, no xianxia, no game armor,
no glamorous hero design, no cyberpunk neon city, no cute anime chibi face,
no overly bright colors, no western medieval ruins, no mythological deity look,
no giant barrier dome, no huge shield over a city, no floating sky orb

这两段解决了早期反复出现的问题:模型总想把"中国科幻"画成仙侠、赛博朋克或超级英雄片。禁止项比描述项更省 token,效果也更稳定。


2. 屏障尺度约束

这是整个项目最关键的约束,也是返工最多的单点。

text
small human-scale spherical barrier, about 3 meters in diameter,
only large enough for three people,
near terrain or low-floating with terrain,
not a city-scale dome, not floating high in the sky, not covering buildings

为什么这样写: 早期只写"3米屏障",模型完全无视数字。后来绑定到"三人+地垫"作为比例参照物,模型才开始画对。每一条"not"都是因为模型确实画出了那个错误。

屏障环境连续性后缀:

text
the barrier preserves the same protected former-home fragment inside it,
inside it preserves a cramped floor mat, bedding, family silhouettes,
and small former-home remnants as needed;
child-toy traces are optional, muted, inside-only, and never a focal clue,
the protected fragment moves with the barrier;
outside location must match story time

3. 锚点生成 Prompt

锚点是角色一致性的根基。每个锚点包含参考风格、空间关系、禁止项。

场景锚点示例:

IDPrompt
SC02_BARRIER_INSIDEInterior of a small 3-meter translucent pale-blue spherical barrier inside/overlapping an old apartment space, only enough room for three sleeping family members and Chen Mo, quiet blue membrane light, record book and scratch marks, cool grey shadows, minimal warm accents.
SC03_BARRIER_EXTERIORWide modern concrete ruins under dark crimson sky, collapsed apartment blocks, exposed rebar, broken asphalt; a tiny 3-meter pale-blue spherical barrier sits near ground level like a small bead in the middle distance, buildings much larger than the barrier.
SC08_ENERGY_LOOPLocal pale-blue energy loop: Chen Mo is the only awake/active figure inside a small 3-meter barrier, while Lin Xiao and Xiao Yu remain asleep inside the same barrier in the background; the barrier floats about 10 meters above ruined ground with a clear air gap and no slab/platform support, and the basin-sized bottom node connects palm energy to nearby ground veins and back, close local circuit only, not a city-scale field.

角色锚点示例:

IDPrompt
CH01_CHEN_YOUNGChen Mo, 32-year-old ordinary Chinese warehouse worker father, short black hair, tired but gentle eyes, modern dark blue work uniform, average build, grounded working-class realism, not heroic.
CH06_XIAOYUXiao Yu, 2-year-old Chinese girl, pink bunny pajamas, round toddler face, natural child proportions, sleepy innocent expression, not anime cute, not older than 2, slight family resemblance but not copied face.
CH07_DUDUDudu, old American shorthair silver tabby house cat, grey-white striped pattern, aged face, realistic cat anatomy, melancholic but not anthropomorphic. Disaster-era Dudu must override the clean home reference: thin gaunt body, dirty matted fur, white muzzle and eye fur, cloudy tired eyes, left front paw old scar/wound, rear leg dragging with a clear hind-leg limp; no blood/gore and not a healthy fluffy pet cat.

4. Prompt 通用模板

每个镜头 prompt 都遵循这个结构,不手写整句:

text
[主风格锚点]
Use [STYLE_*] as visual style reference: match rendering quality, painterly realism,
lighting hardness, and color restraint.

[场景锚点]
Use [SC_*] as scene reference: keep spatial structure, material logic, and environmental palette.
If the barrier is visible, it must remain a small human-scale sphere about 3 meters in diameter...

[角色锚点]
Use [CH_*] as character reference: keep face identity, age, body type, clothing, and emotional restraint.

[物件锚点]
Use [OBJ_*] as object reference if present: keep design, texture, color, and placement logic.

[镜头描述]
[specific shot composition, action, framing, lens distance]

[色调]
[color_map suffix for scene]

[全局后缀]
painterly cinematic realism, soft shadows, muted color palette, 16:9 aspect ratio...

[禁止项]
no ancient palace, no fantasy costume, no hanfu, no xianxia...

5. I2V 运动模板

所有动态镜头的 motion prompt 从下列模板派生:

运动类型模板
蓝光能量形成ethereal pale blue soul-energy [specific action], slow motion, soft bioluminescence, gentle particles, no explosion, no superhero effect, keep faces stable
蓝光能量流动pale blue energy streams [specific flow path], gradual and organic, soft bioluminescence, subtle pulsing, no magic circle, no lightning blast
人物微动subtle human motion, natural restrained movement, [specific action], gentle breathing, not dramatic, keep character faces stable
动物行走natural animal gait, realistic movement, [animal] walking through [environment], melancholic but not anthropomorphic, keep anatomy stable
屏障波动translucent blue energy surface [specific action], gradual and organic, fragile membrane texture, small 3-meter human-scale spherical barrier, not shattering, not explosive, not city-scale dome
屏障消散small 3-meter translucent blue spherical barrier gradually dissolving, light particles floating upward, quiet organic disintegration, no explosion, no magic spell, not city-scale dome
静态情绪镜near-still cinematic motion, barely perceptible breathing, subtle light shimmer, restrained emotion, keep faces stable
人群建设survivors [specific work action], slow rhythmic practical movement, grounded realism, no heroic posing, no battle scene

已通过的 I2V 样例:

屏障形成(V1):

text
pale blue soul-energy light expanding gently from an ordinary Chinese man's hands,
forming a small fragile spherical protective barrier inside an old apartment living room,
the barrier remains a small human-scale sphere about 3 meters in diameter,
only large enough for three people,
subtle particles, slow motion, restrained cinematic movement, keep faces stable

嘟嘟雪中行走(V3):

text
an old grey tabby house cat walking slowly through snow-covered modern ruins,
injured and worn after disaster: thin gaunt body, dirty matted grey-white tabby fur,
rear leg dragging with a clear hind-leg limp, left front paw old healed wound,
low tired posture, snowflakes falling gently,
distant small pale blue 3-meter sphere low-floating above snow-covered ruins like a tiny bead,
melancholic grounded motion, keep cat anatomy stable

6. 色调映射表

每个场景绑定了强制色调后缀,防止不同镜头色调漂移:

场景强制色调
SC01_HOMEwarm tungsten interior, ochre and wood tones, soft practical lighting
SC02_BARRIER_INSIDEpale blue bioluminescence, cool grey shadows, minimal warm accents
SC03_BARRIER_EXTERIORdark crimson overcast sky, collapsed apartment blocks, exposed rebar, broken asphalt, ordinary household debris, blue glow focal point
SC04_RUIN_SNOWdark crimson overcast sky, grey-white snow over drifted modern city ruins, half-buried high-rise remnants like tombstones, distant pale white mountain glow, tiny low-floating blue cocoon focal point
SC06_SETTLEMENTdark crimson sky, warm campfire orange, muted wheat green, dusty earth tones
SC08_ENERGY_LOOPcool blue energy glow, cracked concrete apartment floor, exposed rebar, household debris, subtle warm skin tones

7. 首帧生产 Prompt 实例(PU001-PU006)

以下是实际投入生产的 6 个首帧 prompt,已删敏。完整展示了锚点引用、风格约束和禁止项的实际用法。

PU004 — 小雨夜灯入睡:

text
First frame for shot 4 unit 1.
Close quiet bedroom scene. Xiao Yu, a two-year-old girl in pink bunny pajamas,
sleeps under a small warm night lamp.
The light casts a soft shadow from her eyelashes.
Bedding is ordinary, slightly worn, safe and intimate.
No supernatural glow, no disaster, no dramatic expression.
Camera: close-up from bedside, tender but restrained.

Reference the locked project anchors by description:
SC01_HOME: old ordinary Chinese apartment home before disaster...
CH06_XIAOYU: Xiao Yu, 2-year-old Chinese girl, pink bunny pajamas,
toddler proportions, sleepy innocent eyes.

Style: grounded Chinese sci-fi animated concept art, painterly cinematic realism,
ordinary working-class Chinese family life, restrained emotion, practical modern materials,
muted colors, soft shadows, cinematic 16:9 composition...

Avoid: no readable text, no watermark, no subtitles, no ancient palace,
no fantasy costume, no hanfu, no xianxia, no game armor, no cyberpunk neon city,
no glamorous idol face, no cute anime chibi face, no western medieval ruins,
no superhero pose, no barrier dome, no magic circle, no floating orb

坏的提示词:16 个踩坑记录

以下是实际生产中出过问题的 prompt 策略,每个标注了问题、根因和造成的影响。


坑 1:没有传本地图片参考

问题: 早期场景脚本只是文字 prompt,没有真正传本地图片参考。

根因: Agent 以为"把锚点描述写进 prompt"就等于"用了参考图"。实际上模型从未见过锚点图的视觉输出。

影响: 早期 SC01-SC08 生成的图片风格和空间关系不统一,角色面孔在不同镜头间漂移,全部降级为风格/空间测试图,浪费约 20-30 次生成

修正: 需要传图参考时,使用 generate_character_ref_variants.pygenerate_home_scene_reference_candidates.py


坑 2:角色锚点未锁定前生成含人物场景

问题: 在角色锚点图还没生成/锁定时,就开始跑含人物的场景镜头。

根因: 急于推进生产,跳过了锚点锁定这一前置步骤。

影响: 人物脸和姿态被场景 prompt 污染,后续以此为参考的镜头全部需要返工。SC01-SC08 含人物的早期候选全部作废

修正: 锚点锁定 → 场景空间测试 → 含人物生产,这个顺序不能跳。


坑 3:STYLE_C_WORLD 的屏障尺度被错误继承

问题: STYLE_C_WORLD 参考图(S2/V3)里有超大远景屏障,模型学习了这个尺度。

根因: 提示词里写了"只取色调/气氛,不取屏障尺度",但模型不区分"风格参考"和"内容参考"。

影响: 多张 SC03/SC04 候选图中屏障被画成城市级穹顶,每个场景约浪费 3-5 次生成。后来把屏障尺度约束从"说明"升级为"强制后缀",每张图都追加。

修正: STYLE_C_WORLD 只能取色调/气氛,不能取屏障尺度。必须在 prompt 末尾用「not」强制否决。


坑 4:"3米小屏障"文字不够稳定

问题: prompt 里写"直径约 3 米",模型画出来的屏障大小仍然忽大忽小。

根因: 模型不理解绝对尺寸。需要绑定画面内可识别的比例参照物。

影响: SC02 系列 A-H 约 27 张候选中,屏障尺度漂移是最高频的返工原因之一。

修正: 绑定比例参照——约中央地垫长边 1.3-1.5 倍、约一层楼高,只包住中央地垫/睡铺和三人。


坑 5:小雨三色积木变成视觉钉子

问题: 旧规则把小雨的(红/黄/蓝)三色积木当作必须出现的视觉元素。

根因: 2026-05-10 用户指出其剧情价值不足且抢戏。积木在多个镜头中变成了醒目的三色符号,抢走了人物焦点。

影响: 已跑的多张 SC03/SC08 候选图中出现不合理的鲜艳三色符号,需要清洗。生产清单、看板描述、锚点队列、可复用脚本全部回改。

修正: 玩具/积木只是可选弱化生活痕迹,只能在屏障内,不能在屏障外重复,也不能在远景中成为醒目三色符号。


坑 6:"猫毯"诱发模型生成动物形主体

问题: 旧家场景 prompt 中写了"猫毯"(猫形毯子),模型反复把毯子画成猫。

根因: 模型对名词的语义关联强于修饰关系。"猫毯"被解析为"猫+毯"而非"猫图案的毯子"。

影响: SC01 家庭场景中出现莫名其妙的猫形物体,干扰空间关系。

修正: 旧家沙发只能写"旧靠垫/素色毯子"。真正的猫锚点是 CH07_DUDU/OBJ07_CAT_PATTERN


坑 7:SC02 近景情绪 vs 空间母版二选一

问题: SC02 既需要展示屏障内部的空间结构(旧家碎片),又需要传递人物情绪。

根因: 单个 prompt 同时追求两个目标,模型顾此失彼。只追求近景情绪→丢掉旧家空间母版;只追求空间→变成外部看完整球体。

影响: SC02 系列 A-H 约 27 张候选的返工,很大程度上是这个矛盾造成的。

修正: 主 SC02 和 SC02B 分工——主 SC02 负责空间结构,SC02B 负责近景情绪+屏障边缘光。


坑 8:SC08 被画成全家互动或大型能量场

问题: SC08 的职责是展示陈默维持能量回路的局部过程,但模型反复画成"一家人温馨互动"或"城市级能量大场面"。

根因: prompt 里写了林晓和小雨在屏障内沉睡,模型倾向于把"三人在场"理解为"三人互动"。能量回路的"蓝色光效"被模型放大为城市级能量场。

影响: SC08 LOOP + SCALE 共约 21 张候选返工。这是继 SC02 之后返工第二多的单场景。

修正: 明确写出"陈默是唯一清醒/主动","林晓和小雨仍在屏障内沉睡","局部能量沿裂缝/钢筋绕小屏障循环,不是城市级场"。


坑 9:长 prompt 触发 5000 字符限制

问题: SC02_BARRIER_INSIDE_REF_CANDIDATE_H 的 prompt 超过 5000 字符,API 直接拒绝。

根因: 每个锚点都展开写全量描述 + 全局后缀 + 禁止项 + 色调后缀,叠加后超限。

影响: 单次生成失败。后续所有 prompt 做了压缩。

修正: 锚点改为短引用("Use SC02 as scene reference")+ 只在必要时展开。压缩后成功。


坑 10:参考太重——SC02 的核心坑

问题: SC02 的多张高细节参考图同时传入,模型被拉回"照抄旧图"。

根因: 多张参考图之间本身有空间关系差异,模型试图同时满足所有参考,导致几何漂移、被褥越堆越多、完整室内幻觉。

影响: SC02 系列最核心的返工原因。多次重跑修好一个问题又引入新问题。

修正: SC02 连续性修正优先 1 张压缩轻参考图,必要时最多 2 张。


坑 11:API 返回 200 但无图片

问题: SC02_BARRIER_INSIDE_REF_CANDIDATE_I 多次返回 HTTP 200 但没有图片数据。

根因: 可能是 prompt 触发内容安全过滤但未返回错误码,也可能是远端生成链路断连。

影响: Agent 重复无脑重试同一 prompt,浪费 API 调用次数。

修正: 不要重复无脑重试同一 prompt。先缩短、减少参考图或拆目标。


坑 12:双重参考近景对齐导致过拟合

问题: SC02_BARRIER_INSIDE_REF_CANDIDATE_Y 使用两张参考图做近景对齐。

根因: 两张参考图的对齐要求在当前链路上既容易过拟合(照抄某一帧的构图),也容易碰到代理/远端断连。

影响: 候选 Y 的产出不稳定,有效产出率低。

修正: 优先沿 Z 的单轻参考方法继续。一张高质量参考 > 两张冲突参考。


坑 13:整组反复重跑锚点场景

问题: 不要整组反复重跑 SC01/SC02/SC03/SC04/SC08。

根因: 每次重跑整组,模型会修好一个问题但引入新问题。A 版修好了屏障尺度但角色变了,B 版修好了角色但空间漂移了。

影响: 大量 token 和时间消耗在无效迭代上。5 个场景 × 多次整组重跑 = 数百次生成。

修正: 后续一次只修一个锚点、一个问题。单点修复 > 整组重跑。


坑 14:跳过开工前检查清单

问题: 任何正式批量生产前,必须回到开工前检查清单的门槛。

根因: 局部看起来可用(某张图不错),就跳到批量生产。但锚点未锁定、场景参考未统一、连续性约束未写入 prompt 模板。

影响: 82 个 PU 的生产中,前期 PU 的返工率远高于后期——因为前期跳过了检查清单。

修正: 开工前检查清单不可跳过。锚点锁定、参考统一、模板验证、预跑 2-3 个 PU 作为金丝雀。


坑 15:PowerShell 中文输出乱码

问题: PowerShell 输出中文时乱码。

根因: Windows 终端默认编码不是 UTF-8。

影响: Agent 读取脚本输出时解析失败,导致流程中断。

修正: [Console]::OutputEncoding=[System.Text.Encoding]::UTF8; Get-Content -Encoding UTF8 ...


坑 16:默认 5 秒 I2V 不是工作流

问题: B1 最初 PU001-PU006 全部跑 5s/720P。

根因: 默认参数 = 偷懒。5 秒不足以演绎分镜内容。

影响: 用户指出后补跑 PU002=8s、PU005=6s、PU006=8s,浪费了初次 5s 跑的费用。

修正: I2V 要按镜头时长规划。默认 5 秒不是工作流,需要逐镜评估时长需求。


坏提示词的共性

回过头看这 16 个坑,有四个反复出现的模式:

  1. 跳过前置步骤(坑 2、14):锚点未锁定就开跑,跳过了开工检查清单。
  2. 把"说明"当成"约束"(坑 3、4、8):以为在 prompt 里写了"不要 XXX"模型就会遵守。实际上需要强制后缀 + not 否决 + 比例参照物。
  3. 一次修太多(坑 7、10、13):整组重跑、多参考图、同时追求空间+情绪——结果修好一个引入另一个。
  4. Agent 无脑重试(坑 11、13):同样的 prompt 失败后不改策略继续跑,浪费 token 和 API 调用。

使用建议

如果你要做类似项目,建议按这个顺序引入这些 prompt:

  1. 先复制全局规则 + 禁止项,作为所有 prompt 的底板
  2. 生成你的角色/场景/物件锚点,在锚点锁定前不跑含人物镜头
  3. 用通用模板结构组装每个镜头的 prompt,不手写整句
  4. I2V 从运动模板派生,绑定量化约束(秒数、分辨率)
  5. 建立你的禁止项清单——每遇到一个新问题就加一条

AIGC workflow notes from a real IP production.