feat(video-from-script): 新增账号创建Q&A流程并移除独立风格文件系统
- 新增 `account-creation.md` 参考文档,定义结构化问答创建账号流程 - 将视觉风格信息内嵌到 `prompts/*.md` 中,移除独立的 `styles/` 目录 - 更新 SKILL.md 和 account-system.md 以反映新架构 - 更新账号校验逻辑适配新参考图管理方式 - 更新模板 `account.json` 添加 `references` 字段和默认视频模型
This commit is contained in:
@@ -11,7 +11,7 @@ description: 素材生产路由。根据用户意图分发到对应子技能:i
|
|||||||
2. **manifest.json 是唯一状态源**:任何操作(生图、上传、替换素材)完成后必须立即回写 manifest
|
2. **manifest.json 是唯一状态源**:任何操作(生图、上传、替换素材)完成后必须立即回写 manifest
|
||||||
3. **禁止 curl 调用生图/生视频 API**:必须通过 `pipeline.js` 或对应 generator 脚本执行
|
3. **禁止 curl 调用生图/生视频 API**:必须通过 `pipeline.js` 或对应 generator 脚本执行
|
||||||
4. **并行优先**:多个独立子任务必须用子 agent 并行,不要在主对话中串行完成
|
4. **并行优先**:多个独立子任务必须用子 agent 并行,不要在主对话中串行完成
|
||||||
5. **prompts/*.md 只被子 Agent 读取**:主 Agent 读 account.json + styles/*.md 获取风格信息,不读子 Agent 提示词模板
|
5. **prompts/*.md 只被子 Agent 读取**:主 Agent 读 account.json 获取配置信息,不读子 Agent 提示词模板
|
||||||
|
|
||||||
**禁止**:跳过分镜 / 不更新 manifest 就继续 / 一口气跑完 pipeline 不审查 / 主 Agent 替代子 Agent 生成提示词
|
**禁止**:跳过分镜 / 不更新 manifest 就继续 / 一口气跑完 pipeline 不审查 / 主 Agent 替代子 Agent 生成提示词
|
||||||
|
|
||||||
@@ -41,6 +41,8 @@ description: 素材生产路由。根据用户意图分发到对应子技能:i
|
|||||||
| "图生视频"、"图片转视频" | 生图 → AI视频 → 组装 | `image-generator` → Grok/VEO/Kling → `capcut` |
|
| "图生视频"、"图片转视频" | 生图 → AI视频 → 组装 | `image-generator` → Grok/VEO/Kling → `capcut` |
|
||||||
| "首尾帧"、"帧动画"、"关键帧" | 生图(成对) → 视频过渡 → 组装 | `image-generator`(帧对) → VEO/Kling → `capcut` |
|
| "首尾帧"、"帧动画"、"关键帧" | 生图(成对) → 视频过渡 → 组装 | `image-generator`(帧对) → VEO/Kling → `capcut` |
|
||||||
| "文案转视频"、"配音视频" | 生图 → TTS+字幕+组装 | `image-generator` → `capcut` |
|
| "文案转视频"、"配音视频" | 生图 → TTS+字幕+组装 | `image-generator` → `capcut` |
|
||||||
|
| "创建账号"、"新账号" | Q&A 收集信息 → 生成 prompts | 见 [account-creation.md](references/account-creation.md) |
|
||||||
|
| "修改账号"、"改提示词"、"换风格" | 读取现有 prompt → 确认修改范围 → 重写 | 直接编辑 prompts/*.md |
|
||||||
| 只说"做视频" | **询问**:图文成片 / 图生视频(单图/首尾帧)? | — |
|
| 只说"做视频" | **询问**:图文成片 / 图生视频(单图/首尾帧)? | — |
|
||||||
|
|
||||||
**"图生视频"的后续追问**:用户说"图生视频"时,追问视频模式:
|
**"图生视频"的后续追问**:用户说"图生视频"时,追问视频模式:
|
||||||
@@ -57,7 +59,7 @@ Agent 创建 manifest.json 后,用 `pipeline.js` 分阶段执行。**不要一
|
|||||||
|
|
||||||
| 角色 | 职责 |
|
| 角色 | 职责 |
|
||||||
|------|------|
|
|------|------|
|
||||||
| **Agent**(你) | 读取 account.json + styles/*.md → **分镜规划** → 图片提示词生成 → 视频提示词生成 → 审查每阶段结果 |
|
| **Agent**(你) | 读取 account.json → **分镜规划** → 图片提示词生成 → 视频提示词生成 → 审查每阶段结果 |
|
||||||
| **Pipeline** | 机械执行:生图 → 上传 → 生视频 → TTS → 成片。每完成一个 item 写盘,支持断点续跑 |
|
| **Pipeline** | 机械执行:生图 → 上传 → 生视频 → TTS → 成片。每完成一个 item 写盘,支持断点续跑 |
|
||||||
|
|
||||||
### 执行步骤
|
### 执行步骤
|
||||||
@@ -91,7 +93,7 @@ Step -1: 意图确认(进入任何步骤前必须完成,逐项确认,缺
|
|||||||
→ 以上 5 项全部确认后,agent 写出完整执行计划,让用户最终确认:
|
→ 以上 5 项全部确认后,agent 写出完整执行计划,让用户最终确认:
|
||||||
|
|
||||||
执行计划示例(根据实际任务调整):
|
执行计划示例(根据实际任务调整):
|
||||||
1. 读取 {account} 账号配置(id = 目录名)+ styles/*.md
|
1. 读取 {account} 账号配置(id = 目录名)
|
||||||
2. 子 Agent 读取 prompts/分镜.md → 根据用户文案生成分镜表(N shot)
|
2. 子 Agent 读取 prompts/分镜.md → 根据用户文案生成分镜表(N shot)
|
||||||
3. 子 Agent 读取 prompts/图片提示词.md → 为每个 shot 生成 imagePrompt
|
3. 子 Agent 读取 prompts/图片提示词.md → 为每个 shot 生成 imagePrompt
|
||||||
4. pipeline.js init → 创建 manifest.json + 输出目录
|
4. pipeline.js init → 创建 manifest.json + 输出目录
|
||||||
@@ -104,13 +106,12 @@ Step -1: 意图确认(进入任何步骤前必须完成,逐项确认,缺
|
|||||||
用户修改 → 调整计划后重新输出
|
用户修改 → 调整计划后重新输出
|
||||||
→ 禁止在用户未确认执行计划的情况下进入 Step 0
|
→ 禁止在用户未确认执行计划的情况下进入 Step 0
|
||||||
|
|
||||||
Step 0: 前置检查(账号+风格+提示词模板校验)
|
Step 0: 前置检查(账号+提示词模板校验)
|
||||||
- 读取 根目录 accounts/{account}/account.json
|
- 读取 根目录 accounts/{account}/account.json
|
||||||
- 检查 prompts/ 目录下的提示词模板是否存在(分镜.md、图片提示词.md、视频提示词.md)
|
- 检查 prompts/ 目录下的提示词模板是否存在(分镜.md、图片提示词.md、视频提示词.md)
|
||||||
- 检查 styles/ 目录下是否有风格文件
|
- 如果账号不存在或缺少模板:
|
||||||
- 如果账号不存在或缺少模板/风格:
|
→ 按 [account-creation.md](references/account-creation.md) 的 Q&A 流程创建账号
|
||||||
→ 暂停流程,通过 CLI 创建:`pipeline.js create-account --id <id> --name <名称> --references ./ref.png`
|
→ 基于通用模板(`_template/prompts/`)+ 用户回答生成 3 个 prompt 文件
|
||||||
→ 然后编辑 prompts/*.md 和 styles/*.md
|
|
||||||
- 校验账号完整性:`pipeline.js validate-account --account <id>`
|
- 校验账号完整性:`pipeline.js validate-account --account <id>`
|
||||||
- 全部就绪则继续 Step 1
|
- 全部就绪则继续 Step 1
|
||||||
|
|
||||||
|
|||||||
190
.claude/skills/video-from-script/references/account-creation.md
Normal file
190
.claude/skills/video-from-script/references/account-creation.md
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
# 账号创建流程
|
||||||
|
|
||||||
|
> Agent 通过结构化问答收集信息,基于通用 prompt 模板 + 风格注入,生成完整的账号配置。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 创建流程
|
||||||
|
|
||||||
|
```
|
||||||
|
用户说"创建账号"/"新账号"
|
||||||
|
↓
|
||||||
|
Phase 1: 账号身份(必须)
|
||||||
|
↓
|
||||||
|
Phase 2: 内容 DNA(必须)
|
||||||
|
↓
|
||||||
|
Phase 3: 视觉身份(必须,3种输入方式)
|
||||||
|
↓
|
||||||
|
Phase 4: 技术配置(有默认值,可跳过)
|
||||||
|
↓
|
||||||
|
汇总确认 → 生成文件 → 校验
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 1:账号身份
|
||||||
|
|
||||||
|
| # | 问题 | 必填 | 说明 |
|
||||||
|
|---|------|------|------|
|
||||||
|
| 1 | 账号名称? | ✅ | 用作目录名和显示名(中文即可,如"军事账号") |
|
||||||
|
| 2 | 一句话描述? | ✅ | 写入 account.json 的 description |
|
||||||
|
|
||||||
|
**输出**:确定目录名(= id)和 account.json 的 id/name/description。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 2:内容 DNA
|
||||||
|
|
||||||
|
| # | 问题 | 必填 | 注入位置 |
|
||||||
|
|---|------|------|---------|
|
||||||
|
| 3 | 核心内容方向?如:历史权谋、科技解说、情感故事、美食文化 | ✅ | 分镜.md → 角色定义 + 账号内容理解.核心方向 |
|
||||||
|
| 4 | 目标受众?如:30岁男性、18-25岁女性 | ✅ | 分镜.md → 账号内容理解.目标受众 |
|
||||||
|
| 5 | 内容气质?用 2-3 个关键词描述,如:冷峻洞察、温暖治愈、犀利反讽 | ✅ | 分镜.md → 账号内容理解.内容气质 |
|
||||||
|
|
||||||
|
**注入规则**:
|
||||||
|
- 角色定义改为"专精{Q3}类口播文案转化为{Q6}画面的分镜导演"
|
||||||
|
- 新增「账号内容理解」节(仅供子 Agent 理解上下文,不输出到分镜表)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 3:视觉身份
|
||||||
|
|
||||||
|
| # | 问题 | 必填 | 注入位置 |
|
||||||
|
|---|------|------|---------|
|
||||||
|
| 6 | 整体视觉基调?如:暗黑压迫、明亮温暖、冷冽极简、赛博霓虹 | ✅ | 分镜.md → 宏观视觉风格方向.整体基调 |
|
||||||
|
| 7 | 画风?如:写实摄影、漫画、水墨、水彩、油画、赛博朋克、3D渲染 | ✅ | 图片.md → 画风与质感 + 固定风格词尾 |
|
||||||
|
| 8 | 色彩倾向?(三选一) | ✅ | 图片.md → 色彩体系 + 固定风格词尾 |
|
||||||
|
| | A. 拖入参考图 → AI 分析提取色彩/质感 | | |
|
||||||
|
| | B. 文字描述(如"深蓝为主,金色点缀") | | |
|
||||||
|
| | C. 直接给色值(如"主色 #0A0A0A") | | |
|
||||||
|
| 9 | 质感/纹理?如:丝网印刷做旧、颗粒胶片、光滑数字、纸张纹理 | ❌ | 图片.md → 画风与质感 |
|
||||||
|
|
||||||
|
**色彩提取规则(Q8 选 A 时)**:
|
||||||
|
1. 分析参考图的 dominant colors,提取 3-4 个核心色
|
||||||
|
2. 分配角色:主色(大面积) / 辅色(中间调) / 点缀色(高光焦点) / 禁止色(与风格冲突的色系)
|
||||||
|
3. 输出色值 + 使用规则
|
||||||
|
|
||||||
|
**固定风格词尾生成规则**:
|
||||||
|
- 根据 Q7+Q8+Q9 生成 3 个模型版本的风格词尾
|
||||||
|
- MJ 版:英文逗号短语 + `--ar` + `--style raw --q 2 --v 6.1`
|
||||||
|
- Gemini 版:英文自然语言句子
|
||||||
|
- Kling 版:中文描述
|
||||||
|
|
||||||
|
**分镜.md 宏观视觉风格方向**:
|
||||||
|
- 整体基调:Q6
|
||||||
|
- 风格大类:Q7
|
||||||
|
- 人物气质:从 Q5 + Q6 推导
|
||||||
|
- 场景基调:从 Q6 推导
|
||||||
|
- 禁止出现:Q6 + Q7 的反面(如暗黑风 → 禁止明亮轻快)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 4:技术配置(有默认值)
|
||||||
|
|
||||||
|
| # | 问题 | 默认值 | 说明 |
|
||||||
|
|---|------|--------|------|
|
||||||
|
| 10 | 视频运动偏好? | 克制慢速 | 注入视频.md → 运动风格基调 |
|
||||||
|
| | 选项:克制慢速 / 流畅中速 / 快速激烈 | | |
|
||||||
|
| 11 | 画幅? | 9:16 | account.json 的 defaultFormat |
|
||||||
|
| 12 | 生图模型? | gemini | account.json 的 imageModel |
|
||||||
|
| 13 | 视频模型? | veo3-fast | account.json 的 videoModel |
|
||||||
|
| 14 | 参考图文件? | 无 | 用户稍后放入 references/ 目录,Agent 上传 OSS 回写 URL |
|
||||||
|
|
||||||
|
**运动偏好 → 视频提示词映射**:
|
||||||
|
|
||||||
|
| 用户选择 | 运动风格基调 |
|
||||||
|
|---------|-------------|
|
||||||
|
| 克制慢速 | 克制优于激烈,慢优于快,张力优于美感,隐忍优于爆发 |
|
||||||
|
| 流畅中速 | 流畅自然,节奏跟随文案情绪,张弛有度,不刻意制造压迫 |
|
||||||
|
| 快速激烈 | 快节奏推进,冲击力优先,镜头运动幅度大,情绪外放 |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 汇总确认
|
||||||
|
|
||||||
|
问答结束后,Agent 输出汇总表让用户确认:
|
||||||
|
|
||||||
|
```
|
||||||
|
## 账号创建确认
|
||||||
|
|
||||||
|
### 基本信息
|
||||||
|
- 名称:{name}
|
||||||
|
- 描述:{description}
|
||||||
|
- 目录:accounts/{id}/
|
||||||
|
|
||||||
|
### 内容方向
|
||||||
|
- 核心方向:{Q3}
|
||||||
|
- 目标受众:{Q4}
|
||||||
|
- 内容气质:{Q5}
|
||||||
|
|
||||||
|
### 视觉风格
|
||||||
|
- 基调:{Q6}
|
||||||
|
- 画风:{Q7}
|
||||||
|
- 色彩:{Q8 摘要}
|
||||||
|
- 质感:{Q9}
|
||||||
|
|
||||||
|
### 技术配置
|
||||||
|
- 运动:{Q10}
|
||||||
|
- 画幅:{Q11}
|
||||||
|
- 生图模型:{Q12}
|
||||||
|
- 视频模型:{Q13}
|
||||||
|
|
||||||
|
确认 "开始" → 创建账号
|
||||||
|
修改 → 调整后重新输出
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 生成规则
|
||||||
|
|
||||||
|
### 文件创建
|
||||||
|
|
||||||
|
确认后,Agent 按以下顺序生成:
|
||||||
|
|
||||||
|
1. **创建目录结构**
|
||||||
|
```
|
||||||
|
accounts/{id}/
|
||||||
|
├── account.json
|
||||||
|
├── prompts/
|
||||||
|
│ ├── 分镜.md
|
||||||
|
│ ├── 图片提示词.md
|
||||||
|
│ └── 视频提示词.md
|
||||||
|
└── references/ # 参考图目录(用户稍后放入)
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **生成 account.json**
|
||||||
|
- 从 `_template/account.json` 复制骨架
|
||||||
|
- 填入 id、name、description、模型、画幅等
|
||||||
|
|
||||||
|
3. **生成分镜.md**
|
||||||
|
- 读取 `_template/prompts/通用分镜.md`
|
||||||
|
- 在角色定义中注入 Q3 内容方向
|
||||||
|
- 新增「账号内容理解」节(Q3+Q4+Q5)
|
||||||
|
- 新增「宏观视觉风格方向」节(Q6+Q7+推导)
|
||||||
|
- 保留通用骨架:切割规则、导演构图词库、shotDesc 写法规范、输入输出格式、质量自检
|
||||||
|
|
||||||
|
4. **生成图片提示词.md**
|
||||||
|
- 读取 `_template/prompts/通用图片.md`
|
||||||
|
- 新增「账号视觉基础风格」节(Q7+Q8+Q9)
|
||||||
|
- 替换「固定风格词尾」占位内容为具体风格词(MJ/Gemini/Kling 三版)
|
||||||
|
- 保留通用骨架:角色定义、入参权重、导演光影词库、imagePrompt 结构、构图原则、输入输出、质量自检
|
||||||
|
|
||||||
|
5. **生成视频提示词.md**
|
||||||
|
- 读取 `_template/prompts/通用视频.md`
|
||||||
|
- 新增「账号运动风格基调」节(Q10 映射)
|
||||||
|
- 保留通用骨架:角色定义、入参权重、导演运动词库、三层运动设计、模型语法规范、输入输出、质量自检
|
||||||
|
|
||||||
|
### Prompt 生成原则
|
||||||
|
|
||||||
|
- **骨架不动**:切割规则、导演词库、写法规范、输出格式、质量自检等通用方法论完整保留,不做修改
|
||||||
|
- **只注入风格**:在通用骨架的固定位置插入账号专属内容
|
||||||
|
- **三个 prompt 风格一致**:分镜定义的视觉方向 → 图片提示词执行光影 → 视频提示词执行运动,三者必须对齐
|
||||||
|
- **词尾必须具体**:MJ/Gemini/Kling 三个版本的固定风格词尾必须替换为具体内容,不允许保留占位文本
|
||||||
|
|
||||||
|
### 校验
|
||||||
|
|
||||||
|
生成完成后:
|
||||||
|
1. 检查 3 个 prompt 文件都存在且非空
|
||||||
|
2. 检查 account.json 的 prompt 路径指向正确
|
||||||
|
3. 检查固定风格词尾无占位文本残留
|
||||||
|
4. 运行 `pipeline.js validate-account --account {id}`
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# 账号系统规范
|
# 账号系统规范
|
||||||
|
|
||||||
> 每个账号独立管理视觉风格、提示词策略和 CapCut 配置。
|
> 每个账号独立管理视觉风格、提示词策略和 CapCut 配置。
|
||||||
> 一个账号可以有多种视觉风格,每种风格是一个独立的 style 文件。
|
> 视觉风格直接内嵌在 prompts/*.md 中,无需单独的 styles/ 目录。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -9,27 +9,23 @@
|
|||||||
|
|
||||||
```
|
```
|
||||||
accounts/ # 项目根目录下
|
accounts/ # 项目根目录下
|
||||||
├── _template/ # 新账号模板(复制此目录创建新账号)
|
├── _template/ # 新账号模板(含通用 prompt 模板)
|
||||||
│ ├── account.json
|
│ ├── account.json
|
||||||
│ ├── prompts/ # 提示词模板目录(子 Agent 系统提示词)
|
│ ├── prompts/ # 通用提示词模板(生成账号 prompt 的基础)
|
||||||
│ │ └── .gitkeep
|
│ │ ├── 通用分镜.md
|
||||||
│ ├── references/ # 参考图目录
|
│ │ ├── 通用图片.md
|
||||||
│ │ └── .gitkeep
|
│ │ └── 通用视频.md
|
||||||
│ └── styles/ # 风格文件目录(可多个)
|
│ └── references/ # 参考图目录
|
||||||
│ └── .gitkeep
|
│ └── .gitkeep
|
||||||
└── {account}/ # 用户创建的账号(目录名 = account.json 的 id,输出目录用 name 命名)
|
└── {account}/ # 用户创建的账号(目录名 = account.json 的 id)
|
||||||
├── account.json
|
├── account.json
|
||||||
├── prompts/ # 提示词模板(账号专属)
|
├── prompts/ # 账号专属提示词(基于通用模板 + 风格注入生成)
|
||||||
│ ├── 分镜.md # 口播文案 → 分镜表
|
│ ├── 分镜.md # 口播文案 → 分镜表
|
||||||
│ ├── 图片提示词.md # shotDesc → imagePrompt
|
│ ├── 图片提示词.md # shotDesc → imagePrompt
|
||||||
│ └── 视频提示词.md # shotDesc → videoPrompt
|
│ └── 视频提示词.md # shotDesc → videoPrompt
|
||||||
├── references/ # 参考图(所有风格共用)
|
└── references/ # 参考图(生图时作为参考输入)
|
||||||
│ ├── ref_001.png
|
├── ref_001.png
|
||||||
│ └── ref_002.png
|
└── ref_002.png
|
||||||
└── styles/ # 风格文件(一个文件 = 一种视觉风格)
|
|
||||||
├── cyberpunk-character.md
|
|
||||||
├── dark-archive.md
|
|
||||||
└── neon-city.md
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -47,6 +43,9 @@ accounts/ # 项目根目录下
|
|||||||
"storyboardPrompt": "prompts/分镜.md",
|
"storyboardPrompt": "prompts/分镜.md",
|
||||||
"imageStylePrompt": "prompts/图片提示词.md",
|
"imageStylePrompt": "prompts/图片提示词.md",
|
||||||
"videoStylePrompt": "prompts/视频提示词.md",
|
"videoStylePrompt": "prompts/视频提示词.md",
|
||||||
|
"references": [
|
||||||
|
{ "file": "ref_001.png", "url": "https://oss.../ref_001.png" }
|
||||||
|
],
|
||||||
"capcut": {
|
"capcut": {
|
||||||
"effects": ["录制边框 III"],
|
"effects": ["录制边框 III"],
|
||||||
"filter": "电影感:40",
|
"filter": "电影感:40",
|
||||||
@@ -73,6 +72,7 @@ accounts/ # 项目根目录下
|
|||||||
| `storyboardPrompt` | string | 分镜提示词模板路径(相对于账号目录) |
|
| `storyboardPrompt` | string | 分镜提示词模板路径(相对于账号目录) |
|
||||||
| `imageStylePrompt` | string | 图片提示词模板路径(相对于账号目录) |
|
| `imageStylePrompt` | string | 图片提示词模板路径(相对于账号目录) |
|
||||||
| `videoStylePrompt` | string | 视频提示词模板路径(相对于账号目录) |
|
| `videoStylePrompt` | string | 视频提示词模板路径(相对于账号目录) |
|
||||||
|
| `references` | array | 参考图列表,每项含 file(本地文件名)和 url(OSS 公网地址) |
|
||||||
| `capcut.effects` | string[] | CapCut 特效名称列表 |
|
| `capcut.effects` | string[] | CapCut 特效名称列表 |
|
||||||
| `capcut.filter` | string | CapCut 滤镜,格式 "名称:强度" |
|
| `capcut.filter` | string | CapCut 滤镜,格式 "名称:强度" |
|
||||||
| `capcut.subtitleStyle` | object | 字幕样式(字号、颜色、高亮色、加粗) |
|
| `capcut.subtitleStyle` | object | 字幕样式(字号、颜色、高亮色、加粗) |
|
||||||
@@ -92,53 +92,37 @@ accounts/ # 项目根目录下
|
|||||||
|
|
||||||
这些文件定义了子 Agent 的角色、入参、出参、词库和示例。路径在 account.json 中以相对路径引用,Agent 读取 account.json 后自动定位。
|
这些文件定义了子 Agent 的角色、入参、出参、词库和示例。路径在 account.json 中以相对路径引用,Agent 读取 account.json 后自动定位。
|
||||||
|
|
||||||
### 与 style 文件的关系
|
### 生成方式
|
||||||
|
|
||||||
- **prompts/** — 子 Agent 的系统提示词(定义 HOW 生成提示词)
|
账号的 prompts 基于 `_template/prompts/通用*.md` 生成:
|
||||||
- **styles/** — 视觉规则参考(定义 WHAT 风格应该长什么样:颜色、构图、禁止项)
|
- 通用模板提供**方法论骨架**(切割规则、导演词库、写法规范、输出格式、质量自检)
|
||||||
- prompts 模板内部会引用 styles 中定义的色彩体系、构图规则等
|
- 创建账号时通过 Q&A 收集风格信息,注入到骨架的固定位置
|
||||||
|
- 详细流程见 [account-creation.md](account-creation.md)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 风格文件(styles/)
|
## 参考图(references/)
|
||||||
|
|
||||||
每种视觉风格一个文件,文件名即风格名。文件内包含视觉规则参考。
|
参考图用于生图时的风格引导(Gemini 图生图 / MJ --sref)。
|
||||||
|
|
||||||
### 风格文件结构
|
### 管理流程
|
||||||
|
|
||||||
```markdown
|
1. 用户将参考图放入 `accounts/{id}/references/` 目录
|
||||||
# 风格名称
|
2. Agent 上传到 OSS:`node scripts/oss-upload.js accounts/{id}/references/{图片文件}`
|
||||||
|
3. 将返回的 URL 写入 account.json 的 `references` 数组
|
||||||
一句话描述风格。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 核心视觉要素
|
|
||||||
|
|
||||||
### 色调方案
|
|
||||||
|
|
||||||
### 构图模式
|
|
||||||
|
|
||||||
### 示例
|
|
||||||
|
|
||||||
### 模型参数(MJ/Gemini/Kling)
|
|
||||||
|
|
||||||
### 禁止项
|
|
||||||
```
|
|
||||||
|
|
||||||
### 风格文件命名
|
|
||||||
|
|
||||||
使用中文命名,直观识别:
|
|
||||||
- `赛博东方角色.md`
|
|
||||||
- `暗黑禁书档案.md`
|
|
||||||
- `霓虹城市.md`
|
|
||||||
- `水墨山水.md`
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 创建新账号
|
## 创建新账号
|
||||||
|
|
||||||
### 一键创建(推荐)
|
### Q&A 创建(推荐)
|
||||||
|
|
||||||
|
用户说"创建账号"或"新账号"时,Agent 按 [account-creation.md](account-creation.md) 的结构化问答流程执行:
|
||||||
|
1. 逐项询问:账号身份 → 内容 DNA → 视觉身份 → 技术配置
|
||||||
|
2. 基于通用模板 + 用户回答生成 3 个 prompt 文件 + account.json
|
||||||
|
3. 校验完整性
|
||||||
|
|
||||||
|
### CLI 创建(辅助)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
node scripts/pipeline.js create-account \
|
node scripts/pipeline.js create-account \
|
||||||
@@ -149,18 +133,9 @@ node scripts/pipeline.js create-account \
|
|||||||
--references ./ref1.png,./ref2.png
|
--references ./ref1.png,./ref2.png
|
||||||
```
|
```
|
||||||
|
|
||||||
自动完成:创建目录 → 生成 account.json → 复制参考图 → 上传 OSS → 回写 URL → 生成风格骨架。
|
自动完成:创建目录 → 生成 account.json → 复制参考图 → 上传 OSS → 回写 URL。
|
||||||
|
|
||||||
### 手动创建
|
**注意**:CLI 创建只生成目录结构和 account.json 骨架,prompt 文件仍需通过 Q&A 流程或手动创建。
|
||||||
|
|
||||||
1. 复制 `_template/` 目录,重命名为账号 ID
|
|
||||||
2. 编辑 `account.json` 填写账号信息(含 prompts 路径)
|
|
||||||
3. 在 `prompts/` 中放入提示词模板(从 `工作流程/` 草稿区复制)
|
|
||||||
4. 在 `references/` 中放入参考图(所有风格共用)
|
|
||||||
5. 上传参考图到 OSS,URL 写入 account.json:
|
|
||||||
- `node scripts/oss-upload.js ../../accounts/{id}/references/{图片文件}`
|
|
||||||
- 将返回的 URL 写入 `styles.{styleName}.references[].url`
|
|
||||||
6. 在 `styles/` 中创建风格文件(至少一个)
|
|
||||||
|
|
||||||
### 校验账号
|
### 校验账号
|
||||||
|
|
||||||
@@ -168,9 +143,4 @@ node scripts/pipeline.js create-account \
|
|||||||
node scripts/pipeline.js validate-account --account military
|
node scripts/pipeline.js validate-account --account military
|
||||||
```
|
```
|
||||||
|
|
||||||
检查:id 匹配、必填字段、prompts 模板存在、参考图完整性、风格文件存在、OSS URL 有效。
|
检查:id 匹配、必填字段、prompts 模板存在、参考图完整性、OSS URL 有效。
|
||||||
|
|
||||||
## 添加新风格
|
|
||||||
|
|
||||||
在账号的 `styles/` 目录下新建 `.md` 文件即可,文件名即风格 ID。
|
|
||||||
Claude 调用时指定风格名,如 "用 cyberpunk-eastern-character 风格"。
|
|
||||||
|
|||||||
@@ -73,33 +73,21 @@ function validateAccount(accountId) {
|
|||||||
if (!config.defaultFormat) issues.push('缺少 defaultFormat')
|
if (!config.defaultFormat) issues.push('缺少 defaultFormat')
|
||||||
|
|
||||||
const refDir = path.join(accountDir, 'references')
|
const refDir = path.join(accountDir, 'references')
|
||||||
const styles = config.styles || {}
|
|
||||||
const hasStyleRefs = Object.values(styles).some(s => s.references && s.references.length > 0)
|
|
||||||
const localRefs = fs.existsSync(refDir)
|
const localRefs = fs.existsSync(refDir)
|
||||||
? fs.readdirSync(refDir).filter(f => /\.(png|jpg|jpeg|webp)$/i.test(f))
|
? fs.readdirSync(refDir).filter(f => /\.(png|jpg|jpeg|webp)$/i.test(f))
|
||||||
: []
|
: []
|
||||||
if (localRefs.length === 0 && !hasStyleRefs) {
|
const topRefs = config.references || []
|
||||||
|
if (localRefs.length === 0 && topRefs.length === 0) {
|
||||||
issues.push('无参考图(建议至少 1 张)')
|
issues.push('无参考图(建议至少 1 张)')
|
||||||
}
|
}
|
||||||
|
for (const ref of topRefs) {
|
||||||
const stylesDir = path.join(accountDir, 'styles')
|
if (!ref.url) issues.push(`参考图 ${ref.file} 缺少 url(未上传 OSS)`)
|
||||||
const styleFiles = fs.existsSync(stylesDir)
|
|
||||||
? fs.readdirSync(stylesDir).filter(f => f.endsWith('.md'))
|
|
||||||
: []
|
|
||||||
if (styleFiles.length === 0) {
|
|
||||||
issues.push('无风格文件(styles/ 下至少 1 个 .md)')
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const [sName, sConf] of Object.entries(styles)) {
|
|
||||||
for (const ref of (sConf.references || [])) {
|
|
||||||
if (!ref.url) issues.push(`styles.${sName}: 参考图 ${ref.file} 缺少 url(未上传 OSS)`)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (issues.length === 0) {
|
if (issues.length === 0) {
|
||||||
console.log(`✓ 账号校验通过: ${accountId}`)
|
console.log(`✓ 账号校验通过: ${accountId}`)
|
||||||
console.log(` ${config.name}, 模型: ${config.imageModel}+${config.videoModel || '(未指定)'}`)
|
console.log(` ${config.name}, 模型: ${config.imageModel}+${config.videoModel || '(未指定)'}`)
|
||||||
console.log(` 参考图: ${localRefs.length} 本地, 风格: ${styleFiles.length} 个`)
|
console.log(` 参考图: ${localRefs.length} 本地, ${topRefs.length} 已上传`)
|
||||||
} else {
|
} else {
|
||||||
console.error(`✗ 发现 ${issues.length} 个问题:`)
|
console.error(`✗ 发现 ${issues.length} 个问题:`)
|
||||||
issues.forEach(i => console.error(` - ${i}`))
|
issues.forEach(i => console.error(` - ${i}`))
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
| 生图、批量出图、MJ、Gemini | `image-generator` |
|
| 生图、批量出图、MJ、Gemini | `image-generator` |
|
||||||
| 成片、组装、剪映、图片轮播 | `capcut` |
|
| 成片、组装、剪映、图片轮播 | `capcut` |
|
||||||
| 做视频、图文成片、图生视频、首尾帧 | `video-from-script` |
|
| 做视频、图文成片、图生视频、首尾帧 | `video-from-script` |
|
||||||
| 创建账号、新账号 | 参考 [account-system.md](.claude/skills/video-from-script/references/account-system.md) |
|
| 创建账号、新账号 | 参考 [account-creation.md](.claude/skills/video-from-script/references/account-creation.md) |
|
||||||
|
|
||||||
# 工作流
|
# 工作流
|
||||||
|
|
||||||
@@ -27,4 +27,5 @@
|
|||||||
|
|
||||||
- [SKILL.md](.claude/skills/video-from-script/SKILL.md) — 主技能(强制规则、分镜规则、质量卡点、执行策略)
|
- [SKILL.md](.claude/skills/video-from-script/SKILL.md) — 主技能(强制规则、分镜规则、质量卡点、执行策略)
|
||||||
- [account-system.md](.claude/skills/video-from-script/references/account-system.md) — 账号规范
|
- [account-system.md](.claude/skills/video-from-script/references/account-system.md) — 账号规范
|
||||||
|
- [account-creation.md](.claude/skills/video-from-script/references/account-creation.md) — 账号创建 Q&A 流程
|
||||||
- [manifest-schema.md](.claude/skills/video-from-script/references/manifest-schema.md) — manifest 字段规范
|
- [manifest-schema.md](.claude/skills/video-from-script/references/manifest-schema.md) — manifest 字段规范
|
||||||
|
|||||||
@@ -4,11 +4,12 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"defaultFormat": "9:16",
|
"defaultFormat": "9:16",
|
||||||
"imageModel": "gemini",
|
"imageModel": "gemini",
|
||||||
"videoModel": "",
|
"videoModel": "veo3-fast",
|
||||||
"batchSize": 30,
|
"batchSize": 30,
|
||||||
"storyboardPrompt": "prompts/分镜.md",
|
"storyboardPrompt": "prompts/分镜.md",
|
||||||
"imageStylePrompt": "prompts/图片提示词.md",
|
"imageStylePrompt": "prompts/图片提示词.md",
|
||||||
"videoStylePrompt": "prompts/视频提示词.md",
|
"videoStylePrompt": "prompts/视频提示词.md",
|
||||||
|
"references": [],
|
||||||
"capcut": {
|
"capcut": {
|
||||||
"effects": [],
|
"effects": [],
|
||||||
"filter": "",
|
"filter": "",
|
||||||
|
|||||||
@@ -1,169 +0,0 @@
|
|||||||
# dark-noir-military
|
|
||||||
|
|
||||||
暗黑漫画军事风格 — 深紫与焦橙双色调,纯黑背景,半调网点纹理,做旧丝网印刷质感,强戏剧性侧光。基于口播文案分镜导演方法论,注入隐性动势(Implied Motion),使静态图片天然具备运动趋势。
|
|
||||||
|
|
||||||
参考图:
|
|
||||||
- `references/ref_001_grunge_portrait.png` — 紫色油彩刮痕变体
|
|
||||||
- `references/ref_002_halftone_popart.png` — 波普网点权威人物变体
|
|
||||||
- `references/ref_003_warrior_manga.png` — 日式漫画武将变体
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 图片提示词
|
|
||||||
|
|
||||||
### 核心视觉要素
|
|
||||||
- 主体为人物(军事/权力/悬疑角色),表情刚毅/冷峻/压抑
|
|
||||||
- 半调网点(halftone dots)纹理贯穿全画面
|
|
||||||
- 做旧丝网印刷质感(gritty risograph print)
|
|
||||||
- 强戏剧性侧光(high contrast chiaroscuro),大面积阴影剪影
|
|
||||||
- 深紫 `#4B0082` + 焦橙 `#E07B00` + 纯黑 `#0A0A0A` 严格三色体系
|
|
||||||
|
|
||||||
### 隐性动势(Implied Motion)
|
|
||||||
|
|
||||||
> 在图片提示词中,通过描述「动作的进行时态」或「趋势中的瞬间」,使图片隐含运动方向,方便后续视频生成。
|
|
||||||
|
|
||||||
**人物动作趋势:**
|
|
||||||
`slowly turning head` / `eyes narrowing` / `jaw tightening` / `lips parting slightly` /
|
|
||||||
`fingers tightening on glass` / `shoulders slowly rising` / `coat swept by unseen wind` /
|
|
||||||
`exhaling deeply` / `leaning forward imperceptibly` / `gaze drifting downward`
|
|
||||||
|
|
||||||
**场景变化趋势:**
|
|
||||||
`smoke curling upward` / `shadows lengthening` / `light fading at edges` /
|
|
||||||
`rain beginning to blur the glass` / `dust slowly settling` / `candle flame flickering` /
|
|
||||||
`fog creeping in from the distance` / `city lights blurring into streaks`
|
|
||||||
|
|
||||||
**情绪张力趋势:**
|
|
||||||
`tension building in stillness` / `a breath held before breaking` /
|
|
||||||
`the moment before collapse` / `silence stretching thin` /
|
|
||||||
`the last second of control` / `something about to shatter`
|
|
||||||
|
|
||||||
### 构图模式
|
|
||||||
- 竖版 9:16,特写或半身为主
|
|
||||||
- 极端面部特写:eye-level 或微仰角
|
|
||||||
- 强调明暗对比,人物从阴影中浮现
|
|
||||||
- 大面积黑色背景,主体集中在画面中心偏上
|
|
||||||
|
|
||||||
### 图片 Prompt 模板
|
|
||||||
|
|
||||||
**模板A — Gemini / Nanobanana(中英混排,最佳响应):**
|
|
||||||
```
|
|
||||||
[中文主体描述],[中文隐性动势],[英文动势强化词],[中文环境/光线],暗黑漫画风格,深紫色与焦橙色双色调,纯黑背景,半调网点纹理,做旧丝网印刷质感,强戏剧性侧光,大面积阴影剪影,都市悬疑电影构图,无文字,无水印,竖版构图 9:16,dark noir illustration, deep purple and burnt orange duotone, halftone dot grain, gritty risograph print, high contrast chiaroscuro, bold black shadows, urban thriller aesthetic, editorial graphic novel style, no text, no watermark
|
|
||||||
```
|
|
||||||
|
|
||||||
**模板B — MidJourney(纯英文,MJ参数):**
|
|
||||||
```
|
|
||||||
[情绪词] [主体描述], [隐性动势], [环境], [光线], [构图], dark noir comic style, limited color palette of deep purple and burnt orange on black background, halftone dot texture, gritty screen print effect, high contrast dramatic lighting, bold graphic shadows, cinematic close-up composition, editorial illustration, urban thriller aesthetic, no text, no watermark --ar 3:4 --style raw --q 2 --v 6.1
|
|
||||||
```
|
|
||||||
|
|
||||||
**结构层级对照:**
|
|
||||||
| 层级 | 中文写法(Nanobanana) | 英文写法(MJ) |
|
|
||||||
|---|---|---|
|
|
||||||
| 主体 | `中年西装男子` | `middle-aged suited man` |
|
|
||||||
| **隐性动势** | `缓缓抬起头,眼神从低沉转向冷峻` | `head slowly lifting, eyes shifting from hollow to cold` |
|
|
||||||
| 环境 | `背后的人影正在消散` | `silhouettes dissolving behind him` |
|
|
||||||
| 光线 | `单侧冷白边缘光从上方打入` | `cold rim light from above` |
|
|
||||||
| 构图 | `极端面部特写,低角度仰视` | `extreme close-up, low angle` |
|
|
||||||
|
|
||||||
### 负向提示词(每条附加)
|
|
||||||
```
|
|
||||||
【负向】彩色背景,蓝色调,绿色调,写实照片风格,卡通可爱风,人物姓名,画面文字,logo,水印,过度曝光,模糊
|
|
||||||
```
|
|
||||||
|
|
||||||
### 示例
|
|
||||||
|
|
||||||
**Nanobanana 示例:**
|
|
||||||
```
|
|
||||||
中年西装男子半身特写,头缓缓低垂,目光从正视转为向下沉落,下颌微微收紧,背景中模糊的人影正在向黑暗消散,压抑氛围弥漫,冷白边缘光从头顶单侧打入,head slowly bowing, gaze sinking downward, jaw tightening, silhouettes dissolving into darkness behind him, cold rim light from above, extreme close-up, 暗黑漫画风格,深紫色与焦橙色双色调,纯黑背景,半调网点纹理,做旧丝网印刷质感,强戏剧性侧光,大面积阴影剪影,都市悬疑电影构图,无文字,无水印,竖版构图 9:16,dark noir illustration, deep purple and burnt orange duotone, halftone dot grain, gritty risograph print, high contrast chiaroscuro, editorial graphic novel style, no text, no watermark
|
|
||||||
```
|
|
||||||
|
|
||||||
**MJ 示例:**
|
|
||||||
```
|
|
||||||
calculating middle-aged man in a dark suit, head slowly bowing, gaze sinking downward, jaw tightening imperceptibly, blurred silhouettes of figures dissolving in the background, oppressive atmosphere closing in, single cold rim light from above, extreme close-up composition, dark noir comic style, limited color palette of deep purple and burnt orange on black background, halftone dot texture, gritty screen print effect, high contrast dramatic lighting, bold graphic shadows, cinematic close-up composition, editorial illustration, urban thriller aesthetic, no text, no watermark --ar 3:4 --style raw --q 2 --v 6.1
|
|
||||||
```
|
|
||||||
|
|
||||||
### MJ/Gemini 参数
|
|
||||||
- MJ: `--ar 3:4 --style raw --q 2 --v 6.1`
|
|
||||||
- Gemini: 无额外参数,画幅由提示词中 `竖版构图 9:16` 控制
|
|
||||||
|
|
||||||
### 图片禁止项
|
|
||||||
- 彩色背景、蓝色调、绿色调
|
|
||||||
- 写实照片风格、卡通可爱风
|
|
||||||
- 真实人名、画面文字、logo、水印
|
|
||||||
- 过度曝光、整体模糊
|
|
||||||
- 主色调偏离紫橙黑体系
|
|
||||||
- 静态描述(standing/sitting/looking)单独使用,必须附加动势词
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 视频提示词
|
|
||||||
|
|
||||||
### 核心原则
|
|
||||||
- **以图为锚,以文为魂**:视频色调/构图/人物状态必须与图片保持一致
|
|
||||||
- **动势继承**:图片提示词中的隐性动势必须在视频中被接收并放大
|
|
||||||
- **片段自洽**:每条视频首尾可衔接,开头承接图片状态,结尾留有余势
|
|
||||||
|
|
||||||
### 镜头运动类型
|
|
||||||
| 运动名称 | 英文 | 情绪效果 | 适用场景 |
|
|
||||||
|---|---|---|---|
|
|
||||||
| 缓慢推进 | slow push in / creeping zoom | 压迫感上升,悬疑收紧 | 人物内心独白,威胁逼近 |
|
|
||||||
| 缓慢拉远 | slow pull back / creeping zoom out | 孤立感,宏观俯瞰 | 孤独叙事,结局揭示 |
|
|
||||||
| 环绕运镜 | slow orbit / circular dolly | 权力感,人物立体化 | 强权人物出场,对峙 |
|
|
||||||
| 手持微颤 | subtle handheld shake | 真实感,紧张不安 | 跟踪,暗中观察 |
|
|
||||||
| 荷兰角倾斜 | dutch angle tilt | 不稳定,道德扭曲 | 阴谋,背叛,失控 |
|
|
||||||
| 垂直升降 | slow vertical rise / crane up | 格局升级,视角切换 | 从细节到全局 |
|
|
||||||
| 极慢速度 | ultra slow motion | 强调细节,时间凝固 | 关键动作,情绪爆发前 |
|
|
||||||
| 定机微动 | static with micro drift | 沉默张力,压迫平静 | 对峙,沉默,等待 |
|
|
||||||
|
|
||||||
### 光线变化动势
|
|
||||||
| 光效 | 英文 | 情绪效果 |
|
|
||||||
|---|---|---|
|
|
||||||
| 阴影缓缓吞噬画面 | shadows slowly consuming the frame | 危险临近,失控 |
|
|
||||||
| 橙光从边缘渗入 | warm orange light bleeding from edge | 希望/威胁的暗示 |
|
|
||||||
| 单光源缓慢摇曳 | single light source gently swaying | 不稳定,脆弱 |
|
|
||||||
| 逆光轮廓渐清晰 | backlit silhouette slowly sharpening | 人物揭示,权力感 |
|
|
||||||
| 闪烁的环境光 | flickering ambient light | 危机,系统崩溃感 |
|
|
||||||
|
|
||||||
### 人物微动势
|
|
||||||
| 动势 | 英文 |
|
|
||||||
|---|---|
|
|
||||||
| 眼神从空洞转冷峻 | eyes shifting from hollow to cold |
|
|
||||||
| 呼出的气息可见 | breath visible as cold vapor exhaled slowly |
|
|
||||||
| 嘴角细微下压 | corner of mouth almost imperceptibly tightening |
|
|
||||||
| 手指缓缓收紧 | fingers slowly tightening around glass |
|
|
||||||
| 转头停在一半 | head turn arrested mid-motion |
|
|
||||||
| 眼皮缓缓下垂 | eyelids slowly lowering with exhaustion |
|
|
||||||
|
|
||||||
### 视频 Prompt 模板
|
|
||||||
```
|
|
||||||
Opening on [镜头起始状态/构图], camera [运镜方式] — [主体动势演绎]. [环境/光线动态]. [情绪氛围收尾]. aspect ratio 9:16, cinematic vertical frame, 24fps film grain, duration [Xs], no text overlay, no subtitles
|
|
||||||
```
|
|
||||||
|
|
||||||
### 示例
|
|
||||||
```
|
|
||||||
Opening on a medium close-up of a calculating middle-aged man in a dark suit, head already bowed, camera beginning an imperceptibly slow creep inward toward his face — a creeping push in that tightens like a closing trap. His jaw tightens by a single degree. His gaze never rises. The blurred silhouettes of figures in the background continue their silent dissolution into darkness, as if the world is emptying itself around him. A cold rim light from above traces the edge of his skull, orange warmth bleeding faintly at the frame's periphery — warmth he has long stopped reaching for. The shot holds in stillness until stillness itself becomes a statement. aspect ratio 9:16, cinematic vertical frame, 24fps film grain, duration 4s, no text overlay, no subtitles
|
|
||||||
```
|
|
||||||
|
|
||||||
### 叙事连贯性规则
|
|
||||||
| 片段关系 | 衔接策略 |
|
|
||||||
|---|---|
|
|
||||||
| 情绪递进(A→更强A) | 镜头更近 + 动势更慢 + 光线更暗 |
|
|
||||||
| 情绪转折(A→B) | 镜头切换视角 + 光线色温转变 |
|
|
||||||
| 时间跳跃 | 运动方向反转 或 速度突变 |
|
|
||||||
| 场景切换 | 上一片段以虚焦结尾,下一片段从虚焦拉清 |
|
|
||||||
| 高潮强调 | 静止定机 + 极慢速度 + 单一光源特写 |
|
|
||||||
|
|
||||||
### 时长与动势匹配
|
|
||||||
| 画面类型 | 推荐时长 | 隐性动势强度 |
|
|
||||||
|---|---|---|
|
|
||||||
| 人物情绪特写 | 3–4s | 微表情(眼神 / 呼吸 / 嘴角) |
|
|
||||||
| 动作 + 情绪复合 | 4–5s | 肢体趋势(转身 / 抬头 / 握拳) |
|
|
||||||
| 场景全景 / 环境叙事 | 5–6s | 环境动势(烟雾 / 光线 / 风) |
|
|
||||||
|
|
||||||
### VEO/Grok 后缀
|
|
||||||
- VEO: `enhance_prompt=true, enable_upsample=true`
|
|
||||||
- Grok: 无额外参数
|
|
||||||
|
|
||||||
### 视频禁止项
|
|
||||||
- 大幅度环境切换、场景变化、人物位置跳变
|
|
||||||
- 快速剪辑/闪切效果
|
|
||||||
- 任何文字叠加/字幕
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "禁忌帝王学",
|
|
||||||
"name": "禁忌帝王学",
|
|
||||||
"description": "禁书档案×东方密室美学×历史权谋。被删除的权力技术,历史课不教的真相。暗调古籍+烛火+朱砂,昭和大正禁书档案风格。",
|
|
||||||
"pipeline": "image-video",
|
|
||||||
"defaultFormat": "9:16",
|
|
||||||
"imageModel": "gemini",
|
|
||||||
"videoModel": "veo",
|
|
||||||
"batchSize": 10,
|
|
||||||
"styles": {
|
|
||||||
"东方神话": {
|
|
||||||
"references": [
|
|
||||||
{
|
|
||||||
"file": "下载 (3).jpg",
|
|
||||||
"url": "https://i.ibb.co/GQtg388Z/6fcf1869c871.jpg"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"storyboardPrompt": "prompts/分镜.md",
|
|
||||||
"imageStylePrompt": "prompts/图片提示词.md",
|
|
||||||
"videoStylePrompt": "prompts/视频提示词.md",
|
|
||||||
"capcut": {
|
|
||||||
"effects": [],
|
|
||||||
"filter": "电影感:30",
|
|
||||||
"subtitleStyle": {
|
|
||||||
"font": "SourceHanSerifCN_Regular",
|
|
||||||
"fontSize": 18,
|
|
||||||
"color": "#FFFFFF",
|
|
||||||
"bold": false,
|
|
||||||
"inAnimation": "向右滑动",
|
|
||||||
"inAnimationDuration": 1000000,
|
|
||||||
"outAnimation": "向左滑动",
|
|
||||||
"outAnimationDuration": 1000000,
|
|
||||||
"alpha": 0.9,
|
|
||||||
"transformY": 350,
|
|
||||||
"hasShadow": true,
|
|
||||||
"shadowColor": "#000000",
|
|
||||||
"shadowAlpha": 0.5
|
|
||||||
},
|
|
||||||
"defaultBGM": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 331 KiB |
@@ -1,193 +0,0 @@
|
|||||||
# 东方神话史诗 — 阈限梦核版
|
|
||||||
|
|
||||||
> Liminal Space × 80s Film Grain × VHS Aesthetic × 传统东方神话
|
|
||||||
> 封闭空间 + 静止 + 怀旧 + 超现实 + 十二星座
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 1. 核心原则
|
|
||||||
|
|
||||||
| 维度 | 规则 |
|
|
||||||
|------|------|
|
|
||||||
| 空间 | 室内外均可,liminal(阈限空间),强调空旷、被遗弃的寂静感 |
|
|
||||||
| 氛围 | empty, still, silent, frozen moment — 空旷但不是宏大,是"被遗弃的寂静" |
|
|
||||||
| 美学 | 80s film grain, VHS aesthetic, analog photography, color bleeding, scan lines |
|
|
||||||
| 情绪 | nostalgic, uncanny, surreal, dreamlike — 怀旧、不安、超现实 |
|
|
||||||
| 人物 | 用纯尺度/位置词:`a small silhouette in the distance` / `a tiny presence at far end`,体现渺小,禁用外貌/服装/颜色描述 |
|
|
||||||
| 光照 | dim, tungsten, single light beam, fluorescent — 不是辉煌光芒,是衰弱的余光 |
|
|
||||||
| 色调 | faded, warm analog tones, desaturated — 褪色、偏暖、低饱和 |
|
|
||||||
|
|
||||||
### ⚠ --sref 参考图规则(必须遵守)
|
|
||||||
|
|
||||||
使用 --sref 时,**提示词中禁止出现任何人物描述词**(figure, person, character, hanfu 等)。MJ 会自动从参考图继承人物形象和风格。
|
|
||||||
|
|
||||||
| 模式 | 提示词内容 | 结果 |
|
|
||||||
|------|-----------|------|
|
|
||||||
| 有 --sref | 纯场景描述(建筑+光照+氛围),**零人物词** | ✅ 通过,参考图自动注入人物 |
|
|
||||||
| 有 --sref | 场景 + "lone figure" / "hanfu" 等人物词 | ❌ 触发 deepfake 审核 |
|
|
||||||
| 无 --sref | 场景 + "a lone figure in [color] hanfu" | ✅ 通过,MJ 自行生成人物 |
|
|
||||||
|
|
||||||
参数:`--sref [URL] --sw 50`,最多1张参考图。无 --sref 时不加 --sw。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 2. Prompt 结构
|
|
||||||
|
|
||||||
**模式 A:带 --sref 参考图(推荐)**
|
|
||||||
```
|
|
||||||
[空间类型], [建筑 + 超现实元素]. [光照 + 氛围细节]. [星座元素].
|
|
||||||
[色调] palette, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
```
|
|
||||||
⚠ 零人物词。参考图自动提供人物形象和风格。
|
|
||||||
|
|
||||||
**模式 B:无 --sref**
|
|
||||||
```
|
|
||||||
[空间类型], [建筑 + 超现实元素]. A lone figure in [颜色] hanfu [姿态], still.
|
|
||||||
[光照 + 氛围细节]. [星座元素].
|
|
||||||
[色调] palette, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal, deep depth of field, everything sharp --ar 9:16 --style raw --s 750
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 3. 十二星座提示词
|
|
||||||
|
|
||||||
> 完整 imagePrompt + videoPrompt 见下方第 6 节。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 4. MJ 参数规范
|
|
||||||
|
|
||||||
| 参数 | 规范值 | 说明 |
|
|
||||||
|------|--------|------|
|
|
||||||
| --style | raw | 必须,保留 film grain 质感 |
|
|
||||||
| --s | 750 | stylize值 |
|
|
||||||
| --sw | ≤50 | ⚠ 仅配合 --sref |
|
|
||||||
| --sref | 最多1张 | 超过容易触发审核 |
|
|
||||||
| --ar | 9:16 | 竖版 |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 5. 视频Prompt规则
|
|
||||||
|
|
||||||
**收敛原则**:
|
|
||||||
- 基于图片已有内容,仅描述镜头微动 + 光效/星座缓慢变化
|
|
||||||
- 禁止大幅度环境切换、场景变化、人物位置跳变
|
|
||||||
- 每条不超过 40 词
|
|
||||||
|
|
||||||
**videoPrompt 模板**:
|
|
||||||
```
|
|
||||||
[镜头运动] of [空间]. [光效/微粒微动]. [星座] constellation [缓慢出现/变亮]. [氛围微动]. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
**镜头运动词表**(选一):
|
|
||||||
| 运动 | 英文 | 适用 |
|
|
||||||
|------|------|------|
|
|
||||||
| 静止 | Static shot | 默认,走廊/殿堂 |
|
|
||||||
| 前推 | Slow dolly forward | 走廊、隧道 |
|
|
||||||
| 横摇 | Slow pan | 对称空间 |
|
|
||||||
| 微推 | Slow push forward | 封闭空间 |
|
|
||||||
| 漂移 | Slow gentle drift | 水下、悬浮 |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 6. 十二星座 videoPrompt
|
|
||||||
|
|
||||||
### 3.1 白羊座 Aries — 空火走廊
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Empty fire temple corridor stretching into shadow, ancient dragon carvings on stone walls, dying embers in braziers casting dim orange glow. Stone pillars receding endlessly, ember particles frozen in warm air. A small silhouette in the distance. Aries constellation faintly glowing on distant ceiling. Warm amber faded palette, tungsten dim glow, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal still atmosphere, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Slow dolly forward through fire temple corridor. Dying embers in braziers pulse dim orange. Faint amber glow slowly appears on distant ceiling. Ember particles drift in warm air. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.2 金牛座 Taurus — 废弃温室
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Abandoned celestial greenhouse, overgrown ancient trees with golden leaves breaking through cracked jade ceiling. Dust floating in single shaft of warm light. Crystal waterways dried up, bioluminescent flowers still glowing faintly in dim corners. A small silhouette among overgrown roots. Taurus constellation in faded emerald on dusty glass. Warm gold faded green palette, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal overgrown stillness, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot of abandoned celestial greenhouse. Single shaft of warm light shifts gently. Bioluminescent flowers pulse faintly in dim corners. Faded emerald glow appears on dusty glass ceiling. Dust floats in light beam. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.3 双子座 Gemini — 镜面长廊
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Infinite mirror corridor reflecting twin versions of a celestial observatory interior. Floating constellation maps drifting between mirror walls, starlight reflected infinitely into darkness. Two small silhouettes on opposite ends. Gemini constellation in dual silver-gold on ceiling. Silver gold faded palette, fluorescent light hum, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal mirror infinity, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot of infinite mirror corridor. Slow pan between twin reflections. Floating star maps drift imperceptibly. Silver-gold light shifts on ceiling. Starlight reflects softly into mirror depth. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.4 巨蟹座 Cancer — 空月池
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Empty moonlit pool room, vast jade chamber with perfectly still water reflecting crescent moon through glass ceiling. Moon jellyfish floating motionless above water surface. Ancient lotus carved into jade walls glowing faintly. A small silhouette kneeling at pool edge. Cancer constellation in silver-blue on water surface. Silver-blue moonlit palette, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal still water, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot of empty moonlit pool room. Moonlight slowly shifts across still water. Moon jellyfish drift almost imperceptibly above surface. Silver-blue light ripples faintly on water. Lotus carvings glow faintly on jade walls. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.5 狮子座 Leo — 空金殿
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Empty golden throne room, vast silent hall with jade pillars receding into haze. Single beam of golden light from ceiling crack illuminating dust particles drifting. Dragon carvings on walls fading into shadow. A small silhouette in the distance before the empty throne. Leo constellation blazing gold on distant ceiling mural. Warm gold shadow palette, tungsten dim lighting, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal empty grandeur, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Slow dolly forward into empty golden throne room. Single beam of golden light illuminates drifting dust particles. Golden glow slowly brightens on distant ceiling mural. Jade pillars recede into haze. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.6 处女座 Virgo — 晶石圣所
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Enclosed crystal sanctuary interior, translucent crystal tree trunks growing through jade floor and ceiling. Bioluminescent leaves casting pale jade glow in dim space. Crystal pathways empty, ancient stone lanterns unlit but glowing faintly within. A small silhouette at the tree base. Virgo constellation in green-gold on crystal canopy. Jade green pale gold palette, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal bioluminescent stillness, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot of crystal sanctuary interior. Bioluminescent leaves pulse pale jade rhythmically. Crystal tree trunks shimmer faintly. Green-gold light slowly appears on crystal canopy above. Stone lanterns glow softly within. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.7 天秤座 Libra — 暮光殿
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Twilight balance temple interior, twin massive jade doors on opposite walls, ancient balance scale mechanism filling the center. Floating ritual instruments motionless in air. Fading light from twin windows casting long symmetrical shadows. A small silhouette at the fulcrum. Libra constellation in perfect symmetry on ceiling. Twilight gold indigo palette, fading dual light, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal symmetry, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot of twilight balance temple. Twin windows cast fading light that slowly dims. Floating ritual instruments drift imperceptibly. Symmetrical twilight glow holds balance on ceiling. Long symmetrical shadows stretch slowly. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.8 天蝎座 Scorpio — 地下熔廊
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Underground volcanic corridor, ancient stone tunnel with glowing mineral veins in walls. Dim ruby light pulsing slowly from cracks in floor. Guardian reliefs carved into stone walls emanating faint glow. A small silhouette in the corridor center. Scorpio constellation in garnet on tunnel ceiling. Deep ruby dark palette, geological dim glow, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal underground stillness, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Slow push forward into underground volcanic corridor. Mineral veins in walls pulse ruby glow slowly. Garnet light brightens on tunnel ceiling. Guardian reliefs emanate faint rhythmic glow. Dim warm light from floor cracks. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.9 射手座 Sagittarius — 废弃星阁
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Abandoned celestial observatory interior, massive dome ceiling open to void sky. Ancient star-maps on walls faded and peeling, stone instruments covered in dust. Starlight streaming through single dome crack. A small silhouette at the observatory center. Sagittarius constellation in silver on dome ceiling. Midnight blue silver faded palette, single starlight beam, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal abandoned cosmos, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot inside abandoned celestial observatory. Starlight beam through dome crack shifts slowly. Silver starlight fades in on dome ceiling. Ancient star-maps peel slightly on walls. Dust drifts in single light beam. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.10 摩羯座 Capricorn — 冰封长廊
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Frozen ice palace corridor, frost crystals covering jade walls and ceiling. Dim blue light filtering through ice-encrusted windows. Black iron chains frozen mid-swing, frozen waterfalls visible through ice walls. A small silhouette at the corridor end. Capricorn constellation in aurora blue on ice ceiling. Deep blue ice silver palette, cold dim light, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal frozen stillness, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Slow dolly forward into frozen ice palace corridor. Frost crystals glint on jade walls. Aurora blue glow slowly brightens on ice ceiling. Dim blue light filters gently through ice-encrusted windows. Frozen chains sway almost imperceptibly. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.11 水瓶座 Aquarius — 空云浴殿
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Empty cloud palace bathhouse, vast jade pool with perfectly still water reflecting nothing. Steam rising from warm water, bioluminescent lotus floating on surface. Empty jade archways receding into mist. A small silhouette at the pool edge. Aquarius constellation in soft cyan on water surface. Silver-blue warm mist palette, dim steamy light, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal empty bathhouse, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Static shot of empty cloud palace bathhouse. Steam rises slowly from still warm water. Bioluminescent lotus pulses soft cyan. Soft cyan glow appears on water surface. Jade archways recede into gentle mist. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3.12 双鱼座 Pisces — 沉没水殿
|
|
||||||
|
|
||||||
```text
|
|
||||||
imagePrompt: Submerged crystal throne room, jade architecture visible through murky bioluminescent water. Coral growing on throne, pearls scattered on floor, jellyfish floating motionless. Dragon statue coiled around dome visible through crystal ceiling, ocean depths beyond. A small silhouette floating before the throne. Pisces constellation glowing aqua through water. Jade green aqua murky palette, bioluminescent dim glow, 80s film grain, VHS aesthetic, analog photography, liminal space, surreal underwater stillness, deep depth of field, everything sharp --ar 9:16 --style raw --s 750 --sref [URL] --sw 50
|
|
||||||
|
|
||||||
videoPrompt: Slow gentle drift through submerged crystal throne room. Coral on throne sways softly in current. Aqua light glows through water above. Jellyfish float almost motionless. Bioluminescent particles drift through murky jade-green water. Cinematic, photorealistic, 4K.
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
*— End of Framework —*
|
|
||||||
Reference in New Issue
Block a user