Files
video-create/.claude/skills/video-from-script/references/prompt-rules.md
sion123 001d28f4c6 feat(video-from-script): 将分镜规划与提示词生成规则抽取为独立引用文件
将 SKILL.md 中内联的分镜规划规则和提示词生成规则分别抽取为独立的 `storyboard-rules.md` 和 `prompt-rules.md` 引用文件,减少主文档体积并支持子 Agent 独立读取执行。同时修复 manifest 前缀生成使用 account name 而非 ID。
2026-04-29 23:38:56 +08:00

47 lines
2.0 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
- `videoPrompt`:运动描述(英文,给 Grok/VEO/Kling
### 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 词)