Files
video-create/.claude/skills/video-from-script/references/prompt-rules.md
sion123 dd7a1ad6a6 feat(video-from-script): 更新 imagePrompt 模型适配规则
在单图模式提示词中增加 imagePrompt 对不同模型的约束说明,明确 MJ 禁止写实人像描述,并补充 Kling 的适配规则。
2026-04-30 01:05:38 +08:00

55 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 提示词生成规则
**前置条件**:账号必须有风格文件。无风格 → 提醒用户创建,不跳过。
**输入**:分镜表 + style.md + account.json
**输出**:每个 shot 生成 imagePrompt / videoPrompt / keyword / keywordColor英文
## 单图模式提示词
每条文案生成:
- `imagePrompt`:画面描述(英文,给 Gemini/MJ/Kling
- `videoPrompt`:运动描述(英文,给 Grok/VEO/Kling
### imagePrompt 模型适配
| 模型 | 约束 |
|------|------|
| Gemini | 无特殊限制 |
| MJ | **禁止写实人像描述**face, body, skin, portrait 等触发审核人物用抽象表达silhouette, figure from behind, shadow或用场景/物体代替 |
| Kling | 无特殊限制,参考图走 style_image |
### videoPrompt 规则
- 描述**运动**而非内容("zoom in" 而非 "a cat"
- 与 imagePrompt 画面内容对应
- 简洁1-2 句,不超过 50 词)
- **收敛原则**:基于图片已有内容,仅描述镜头运动和微动效果
- **禁止**:大幅度环境切换、场景变化、人物位置跳变
- **推荐写法**镜头运动slow zoom/pan/dolly+ 光效微动 + 保持静止氛围
- **画幅继承**manifest.json 顶层 `format` 字段(如 `"9:16"`)会自动传给 VEO/Kling无需在 prompt 中指定
## 首尾帧模式提示词
每条文案生成:
- `imagePrompt`:起始帧画面(英文,与 single 模式复用同一字段)
- `lastFramePrompt`:结束帧画面(英文)
- `videoPrompt`:过渡描述(英文,给 VEO/Kling
### 首尾帧提示词设计原则
| 原则 | 说明 | 示例 |
|------|------|------|
| 同一场景 | 首尾帧是同一地点/主体的不同状态 | 都是工厂,不是两个地方 |
| 视角一致 | 相机角度/高度/距离相同 | 都是 wide shot |
| 状态对比 | imagePrompt"静止/之前"lastFramePrompt"运动/之后" | 空车间 → 生产线运转 |
| 过渡自然 | videoPrompt 描述从首到尾的变化 | "machines start up rhythmically" |
| 光照连贯 | 光源方向一致,可以有渐变 | 冷光 → 暖光可以,不能反转光源 |
### videoPrompt 规则(首尾帧)
- 描述**过渡过程**而非单帧状态
- "from X to Y" 或 "X begins, Y happens" 格式
- 必须同时呼应 imagePrompt起始帧和 lastFramePrompt结束帧中的元素
- 简洁1-2 句,不超过 50 词)