feat(video-pipeline): 增强账号配置和分镜关键词支持
- 在 account.json 中新增 styles、ttsVoice、ttsInstruction、keywordStyle、transitions 等配置字段 - 分镜表 items 添加 keyword 字段,用于渲染关键词花字动画 - 重构 capcut_assemble.js 转场策略:前两段不加转场,rhythm 模式优化为只在关键位置添加 - 动画系统区分循环动画和入场动画,支持更丰富的动画组合(缩放、回弹伸缩等) - 更新 SKILL.md 和 manifest-schema.md 文档以反映新增字段和流程变更
This commit is contained in:
@@ -120,7 +120,7 @@ Step 1: 分镜脚本生成(子 Agent 执行)
|
||||
- 主 Agent 将用户文案 + 模板交给子 Agent
|
||||
- 子 Agent 按模板要求输出分镜表 JSON:
|
||||
```json
|
||||
[{"id":1,"shotDesc":"英文画面描述,40-80词","script":"中文口播文案,≤22字","duration":5,"directorRef":"tarantino"}]
|
||||
[{"id":1,"shotDesc":"英文画面描述,40-80词","script":"中文口播文案,≤22字","duration":5,"directorRef":"tarantino","keyword":"权力"}]
|
||||
```
|
||||
- 主 Agent 审查分镜表(时长合理、隐性动势完整、directorRef 已填)
|
||||
- 展示给用户确认,确认后进入 Step 2-A
|
||||
@@ -136,7 +136,7 @@ Step 2-B: 生成静态分镜图 + Manifest 初始化
|
||||
- 组装 items 并初始化 manifest(**不含 videoPrompt**):
|
||||
```bash
|
||||
node scripts/pipeline.js init --account <id> --mode <single|framePair> \
|
||||
--items '[{"shotDesc":"...","script":"...","duration":5,"imagePrompt":"...","directorRef":"tarantino"}]'
|
||||
--items '[{"shotDesc":"...","script":"...","duration":5,"imagePrompt":"...","directorRef":"tarantino","keyword":"权力"}]'
|
||||
```
|
||||
- 脚本自动从 account.json 继承:imageModel、videoModel、format、references
|
||||
- 所有 item.confirmed = false
|
||||
@@ -183,7 +183,7 @@ node scripts/pipeline.js validate-account --account <id>
|
||||
|
||||
# 初始化 manifest(Step 2-B 使用,AI 只提供创意内容,不含 videoPrompt)
|
||||
node scripts/pipeline.js init --account <id> --mode <single|framePair> \
|
||||
--items '[{"shotDesc":"...","script":"...","duration":5,"imagePrompt":"...","directorRef":"tarantino"}]'
|
||||
--items '[{"shotDesc":"...","script":"...","duration":5,"imagePrompt":"...","directorRef":"tarantino","keyword":"权力"}]'
|
||||
# 也可从文件读取 items(适合大量数据)
|
||||
node scripts/pipeline.js init --account <id> --mode single --items-file ./items.json
|
||||
|
||||
@@ -354,8 +354,6 @@ output/{name}_{YYYYMMDD}_{NNN}/
|
||||
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## 质量卡点(Agent 可执行)
|
||||
|
||||
每个阶段完成后 Agent 自动校验,不通过的自动修复。需要人工视觉判断的(画质、动画、BGM等)由用户在人工审查步骤处理。
|
||||
@@ -395,7 +393,7 @@ output/{name}_{YYYYMMDD}_{NNN}/
|
||||
|
||||
所有子技能共享以下资源(位于本目录):
|
||||
|
||||
- `scripts/` — 共享脚本(gemini-image-generator.js, mj-image-generator.js, grok-video-generator.js, veo-video-generator.js, kling-video-generator.js, qwen-tts.js, capcut_assemble.js, sync-to-jianying.js, oss-upload.js)
|
||||
- `scripts/` — 共享脚本(生图、生视频、TTS、成片组装、同步剪映、OSS 上传等)
|
||||
- `accounts/` — 账号配置(项目根目录,详见 [account-system.md](references/account-system.md))
|
||||
- `references/account-system.md` — 账号系统说明
|
||||
|
||||
|
||||
Reference in New Issue
Block a user