@aswless_854771076/ai_short_studio_cli 0.1.141 → 0.1.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/canvas/node/write-video-prompt.d.ts +19 -0
- package/dist/commands/canvas/node/write-video-prompt.js +33 -0
- package/dist/domain/vvicat-api.d.ts +1 -0
- package/dist/domain/vvicat-api.js +5 -0
- package/package.json +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/SKILL.md +2 -2
- package/skills/using-vvicat-ai-short-studio-cli/references/assets-and-storyboard.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/async-pipeline.md +4 -4
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/seedance-community-skills.md +23 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/write-drama-video-prompts.md +10 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseCommand } from '../../../base-command.js';
|
|
2
|
+
export default class CanvasNodeWriteVideoPrompt extends BaseCommand {
|
|
3
|
+
static description: string;
|
|
4
|
+
static args: {
|
|
5
|
+
nodeId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
+
};
|
|
7
|
+
static flags: {
|
|
8
|
+
project: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
+
file: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
type: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
'expected-version': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
'base-url': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
|
+
locale: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
episode: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
};
|
|
18
|
+
run(): Promise<void>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { readFile } from 'node:fs/promises';
|
|
2
|
+
import { Args, Flags } from '@oclif/core';
|
|
3
|
+
import { BaseCommand } from '../../../base-command.js';
|
|
4
|
+
import { commandApi, projectFlag, resolveCanvasNodeVersionId } from '../../../command-helpers.js';
|
|
5
|
+
export default class CanvasNodeWriteVideoPrompt extends BaseCommand {
|
|
6
|
+
static description = '由 Agent 写入逐镜视频提示词的不可变版本;写入后该镜不能再运行自动提示词生成。';
|
|
7
|
+
static args = { nodeId: Args.string({ required: true }) };
|
|
8
|
+
static flags = {
|
|
9
|
+
...BaseCommand.baseFlags,
|
|
10
|
+
project: projectFlag,
|
|
11
|
+
file: Flags.string({ required: true, description: 'UTF-8 最终提示词文本文件' }),
|
|
12
|
+
type: Flags.string({ required: true, options: ['h3', 'seedance'], description: '目标视频提示词类型' }),
|
|
13
|
+
'expected-version': Flags.integer({ required: true, description: '写入前审阅的画布版本' }),
|
|
14
|
+
};
|
|
15
|
+
async run() {
|
|
16
|
+
const { args, flags } = await this.parse(CanvasNodeWriteVideoPrompt);
|
|
17
|
+
const prompt = await readFile(flags.file, 'utf8');
|
|
18
|
+
if (!prompt.trim())
|
|
19
|
+
throw new Error('提示词文件不能为空');
|
|
20
|
+
const { api } = await commandApi(flags);
|
|
21
|
+
const canvas = await api.canvas(flags.project);
|
|
22
|
+
const node = canvas.nodes.find((item) => item.id === args.nodeId);
|
|
23
|
+
if (!node || node.kind !== 'storyboard-video-prompt')
|
|
24
|
+
throw new Error(`视频提示词节点不存在:${args.nodeId}`);
|
|
25
|
+
const basedOnVersionId = await resolveCanvasNodeVersionId(api, flags.project, node);
|
|
26
|
+
this.print(await api.writeVideoPrompt(flags.project, args.nodeId, {
|
|
27
|
+
expectedCanvasVersion: flags['expected-version'],
|
|
28
|
+
...(basedOnVersionId ? { basedOnVersionId } : {}),
|
|
29
|
+
promptType: flags.type,
|
|
30
|
+
prompt,
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -117,6 +117,7 @@ export declare class VvicatApi {
|
|
|
117
117
|
storyboardDraft(projectId: string, nodeId: string, input?: JsonObject): Promise<JsonObject>;
|
|
118
118
|
storyboardRevision(projectId: string, nodeId: string, input?: JsonObject): Promise<JsonObject>;
|
|
119
119
|
updateStructuredResource(projectId: string, nodeId: string, input: JsonObject): Promise<JsonObject>;
|
|
120
|
+
writeVideoPrompt(projectId: string, nodeId: string, input: JsonObject): Promise<JsonObject>;
|
|
120
121
|
nodeTypes(): Promise<{
|
|
121
122
|
schemaVersion: 1 | 2;
|
|
122
123
|
catalogRevision?: string;
|
|
@@ -214,6 +214,11 @@ export class VvicatApi {
|
|
|
214
214
|
method: 'PATCH', body: input,
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
+
writeVideoPrompt(projectId, nodeId, input) {
|
|
218
|
+
return this.client.request(`/api/projects/${projectId}/canvas/nodes/${nodeId}/video-prompt`, {
|
|
219
|
+
method: 'PATCH', body: input,
|
|
220
|
+
});
|
|
221
|
+
}
|
|
217
222
|
async nodeTypes() {
|
|
218
223
|
const payload = await this.client.request('/api/canvas/node-types');
|
|
219
224
|
if (payload.data.schemaVersion !== 1 && payload.data.schemaVersion !== 2) {
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ description: Use when an agent needs to inspect or operate VVICAT infinite-canva
|
|
|
33
33
|
| 人物、场景、道具和资产版本 | `references/short-drama/assets/` 下对应资产文档、`references/short-drama/assets/plan-drama-assets.md` | 运行资产分析后再生成;缺证据、错版、stale 或身份歧义时标记 blocked,不用相似资产替代 |
|
|
34
34
|
| 导演手册、摄影、表演、分镜和镜头变体 | `references/short-drama/creation/write-drama-director-book.md`、`references/short-drama/storyboard/build-drama-storyboard.md`、`references/short-drama/director-composition.md` | `drama-director-book → storyboard-breakdown → storyboard-image/storyboard-board-image`;读取构图受控词表,证据不足时降级构图,不补陈设或天气 |
|
|
35
35
|
| 逐镜制作、跨镜连续性、previous-tail | `references/short-drama/storyboard/plan-drama-production.md`、`references/short-drama/storyboard/plan-shot-continuity.md` | 先生成 `drama-production-plan`,再生成 `drama-continuity-plan`;只有前镜已审核且选版时允许 previous-tail |
|
|
36
|
-
| 视频提示词、H3、Seedance、原生音频 | `references/short-drama/generation/write-drama-video-prompts.md`、`references/h3-video-delivery.md`、`references/short-drama/generation/design-drama-audio.md` |
|
|
36
|
+
| 视频提示词、H3、Seedance、原生音频 | `references/short-drama/generation/write-drama-video-prompts.md`、`references/short-drama/generation/seedance-community-skills.md`、`references/h3-video-delivery.md`、`references/short-drama/generation/design-drama-audio.md` | 默认由 Agent 逐镜写入提示词选版;未写入时可手动运行旧生成节点;按实时 Provider schema 选择协议并审计后提交视频 |
|
|
37
37
|
| 背景音乐、主题曲、纯音乐 | `references/short-drama/generation/design-drama-audio.md`、`references/short-drama/starrouter-provider.md` | 使用画布 `music-generate` 和实时音频模型目录;有自定义歌词时不得同时开启纯音乐;生成后试听并回读 AUDIO 资产版本 |
|
|
38
38
|
| 去字幕、参考视频复刻、深度视频 | `references/hypit/playbooks/formats/reference-recreation-canvas.md`、`references/short-drama/generation/transform-drama-media.md` | 使用 `recreation-subtitle-remove → recreation-depth-preprocess/depth-video → video-generate`;不得把参考板或字幕带入成片 |
|
|
39
39
|
| 参考对白转写、剪辑、字幕和多图模板 | `references/hypit/SKILL.md`、`references/hypit/environment/local-tools.md`、`references/short-drama/editing-workflow.md` | WAV 音频使用 `recreation-transcribe`(默认 StarRouter `whisper-1`);剪辑和字幕进入现有编辑器/Remotion 时间线;多图合板使用 `grid` 或分镜宫格节点 |
|
|
@@ -61,7 +61,7 @@ description: Use when an agent needs to inspect or operate VVICAT infinite-canva
|
|
|
61
61
|
5. **资产门禁**:先完成人物、场景、道具及其派生版本,展示真实预览并确认 selected version。执行资产—剧情匹配审计;缺失、多余、错版、stale、错边未清零时拆镜前门禁失败。
|
|
62
62
|
6. **拆镜和滚动生成**:先执行 [拆镜模式与交付范围](references/assets-and-storyboard.md#拆镜模式与交付范围) 和 [语言匹配门禁](references/assets-and-storyboard.md#拆镜语言匹配门禁)。短剧新建默认专业拆镜,显式设置 `sourceFormat` 与 `storyboardPipelineVersion: 2`,默认只复用每镜时间宫格和镜头故事版,不自动新增首帧节点;已有首帧可保留,额外单图参考仅在用户需要时添加;不得因片长短、失败、仅生成分镜图或 `count: 1` 改走普通模式或覆盖 `imageLayout: single`。逐镜核对来源、时长、语言、布局与真实双板;质量问题先修复,用户明确允许带风险测试时可依恢复链路记录风险继续生成,保留未通过结论。用户的停止阶段优先于 [滚动异步调度](references/async-pipeline.md):仅分镜图任务在双板验收后停止,不运行视频提示词和视频。允许视频时,已就绪镜头滚动提交,单镜失败不阻塞其他镜头。
|
|
63
63
|
7. **视频规划**:视频生成前依次完成素材连线、镜头逻辑和上下镜连续性审计。读取实时 `durationOptions`;只有选项恰为 5、10、15 秒时才按这三档向上取整。RunningHub MiniMax H3 支持纯文本和 0–9 张参考图、0–2 个参考视频、0–2 个参考音频,5–15 秒逐秒可选,1–4 秒归一为 5 秒;参考视频只传画面。画幅为 16:9 / 9:16,分辨率为 480p / 720p / 1K / 2K。
|
|
64
|
-
8. **H3 生成门禁**:`videoModel` 为 `comfly::minimax-h3` 或 `runninghub::minimax-h3-reference-to-video` 时,同次设置 `videoPromptType: "h3"`。仅有效的节点 `promptType` 可覆盖项目值;旧 `seedance`
|
|
64
|
+
8. **H3 生成门禁**:`videoModel` 为 `comfly::minimax-h3` 或 `runninghub::minimax-h3-reference-to-video` 时,同次设置 `videoPromptType: "h3"`。仅有效的节点 `promptType` 可覆盖项目值;旧 `seedance` 覆盖必须清除并回读,否则不得执行视频生成或写入提示词。Agent 编写 H3 提示词时读取 `references/hypit/playbooks/craft/h3-prompt-writing.md`;进入生成前必须读取 [H3 成片规则](references/h3-video-delivery.md)。
|
|
65
65
|
9. **逐镜后验**:每个视频镜头完成后实际看画面、听完整音轨,并完成视觉、音频、转场、字幕四项验收。任一 P0/P1 失败只修复并重跑受影响镜头;未通过不得进入成片剪辑。
|
|
66
66
|
10. **成片和交付**:剪辑只使用通过验收的 selected 版本,并完整执行 [剪辑与交付](references/editing-delivery.md)。默认对白/旁白字幕进入成片,人物与场景介绍仅在首次出现时显示短暂角标,同时输出独立 SRT/ASS。根据叙事动机选择硬切、动作切、J/L-cut、遮挡匹配或短淡化,不给所有镜头机械套淡入淡出。完成节奏裁切、声音平衡、画面统一、字幕和必要技术处理后,从头到尾观看成片并执行完整成片验收;未通过不得声称完成。原始视频按 `selectedOutputVersionId` 下载,字幕独立保存,`manifest` 记录镜号、节点、任务、资产、版本、时间线和文件名。
|
|
67
67
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
板图质量未通过时,只有用户明确授权才可按 [显式风险接受](agent-recovery.md#已观察板图缺陷显式接受风险后继续生成) 继续测试生成;审核仍为未通过,不删除缺陷,不用于宣称成片合格。
|
|
26
26
|
|
|
27
|
-
专业双板到视频:在视频提示词节点连接本镜 `shot`、主 `storyboard`、两板 `temporalBoard/shotBoard` 和当前 `shotReview/continuityPlan`。预检的正式批准字段分别为 `summary.approved`、`approved`,必须覆盖原始 `shot_key
|
|
27
|
+
专业双板到视频:在视频提示词节点连接本镜 `shot`、主 `storyboard`、两板 `temporalBoard/shotBoard` 和当前 `shotReview/continuityPlan`。预检的正式批准字段分别为 `summary.approved`、`approved`,必须覆盖原始 `shot_key`,没有未决问题或连续性冲突。默认由 Agent 审阅这些选版后用 `canvas node write-video-prompt` 写入最终提示词;用户也可在尚未写入时手动点击原生成节点。Agent 写入后节点拒绝自动生成。视频节点使用 `references` 连接两张独立板和可选单帧参考,并连接同版本的提示词与两份预检;不要混连 start-frame/end-frame。模型参考图数量上限必须已知且足够,超限不能删参考硬跑。服务端提交与 Worker 调用前均复核当前板版本、真实摘要和各自审核,任务保存实际参考顺序。专业提示词/视频回写前再核对文件摘要,并在结果事务锁内复核选版和审核;已失效结果只追加历史版本,不自动选中或覆盖新任务。任务结果 `historical: true` 和版本 `generationParams.productionResultState: stale` 表示仅归档,需回读原资产版本列表及节点状态。额外图片参考须绑定同画布来源节点、选版和实际摘要;专业关键帧须匹配本镜及父拆镜。首尾帧提取记录源视频选版、位置和实际字节摘要,源视频改变会阻止继续使用;没有来源记录的旧提帧须重新提取。两板和关键帧生图绑定镜头、父拆镜及实际图片参考快照,生图前、返回后及锁内回写复核;来源变化仅归档历史结果。审核继续复核这些来源,没有来源快照的旧板图须重新生成后取得新批准。剪辑交付仍待闭合,不宣称完整生产链路已通过。
|
|
28
28
|
|
|
29
29
|
## 资产生产门禁
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 滚动异步生成流水线
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
用于资产派生图、分镜图、Agent 逐镜提示词和视频生成。目标是让每个镜头独立向前流动。
|
|
4
4
|
|
|
5
5
|
## 调度模型
|
|
6
6
|
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
镜头状态机:
|
|
12
12
|
|
|
13
|
-
`storyboard-image ready → image running → image done → image audit →
|
|
13
|
+
`storyboard-image ready → image running → image done → image audit → Agent 写入提示词选版 → prompt audit → video config gate → video running → video audit → edit ready`
|
|
14
14
|
|
|
15
15
|
资产阶段同样异步提交人物、场景和道具派生图;但拆镜依赖本集全部必需资产确认,因此资产到拆镜之间保留一个明确 barrier。不存在依赖关系的资产不得互相等待。
|
|
16
16
|
|
|
17
17
|
## 即时触发规则
|
|
18
18
|
|
|
19
|
-
1. 分镜图进入 `done`
|
|
20
|
-
2.
|
|
19
|
+
1. 分镜图进入 `done` 后刷新画布,定位图片资源和该镜 `storyboard-video-prompt`。查看真实分镜图并完成 P0/P1 审计后,由 Agent 写最终提示词文件,使用 `canvas node write-video-prompt <节点ID> --project <项目ID> --file <文件> --type h3|seedance --expected-version <画布版本>` 写入不可变选版;不自动提交该节点的文本生成任务。
|
|
20
|
+
2. 回读写入的提示词资源选版,核对实际模型类型、素材用途、镜头时长、逐字人声、声线、闭口约束、环境音、BGM 和转场。Agent 写入后该节点不能再运行自动生成;若尚未写入,用户仍可手动点击生成。声音时间表放不下时只暂停该镜并修正;其他镜头继续。
|
|
21
21
|
3. 提示词通过后,在同一次 `canvas node update-many` 中给新物化的 `video-generate` 显式写入 `generateAudio: true`、分辨率和合法时长,逐节点回读,再立即提交视频。
|
|
22
22
|
4. 视频完成后立即下载真实 selected 版本,执行视觉、音频、转场、字幕四项验收;通过即进入剪辑候选池,失败只回退该镜。
|
|
23
23
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Seedance 社区 Skill 参考
|
|
2
|
+
|
|
3
|
+
参考 [Emily2040/seedance-2.0 的 skills 目录](https://github.com/Emily2040/seedance-2.0/tree/main/skills)(查看提交 `4668457e560eee06e95d7fcfdf441c8c0bba802e`)。这些是社区编写经验,不是本项目接入模型的能力声明;实际素材数量、时间语法、时长和提示词上限以当前模型路由与 Provider 能力为准。
|
|
4
|
+
|
|
5
|
+
## Agent 逐镜写入时采用的检查
|
|
6
|
+
|
|
7
|
+
1. 从已选分镜、参考图、审核和声音版本确定**本镜**任务。多人镜先用内部镜头表写出机位一侧、站位/朝向、视线、主动作、其他人的持续行为、持物手、光线和镜尾状态;缺项先核实,不把表格原样塞入成品。参考 [prompt](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-prompt/SKILL.md)、[characters](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-characters/SKILL.md)。
|
|
8
|
+
2. 为每个实际上传的素材标明用途:人物身份、当前画面/分镜、首帧、运动、音频节拍等。`@` 编号必须与提交顺序一致;不要让一张图同时无条件控制身份、动作和场景,也不要编造素材。参考 [prompt](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-prompt/SKILL.md)。
|
|
9
|
+
3. 主动作写成起势、接触或变化、物理后果、收势;道具写清哪只手及交接后的归属。听者和其他可见人物在同一时间段有由主动作触发的注意与反应,幅度服从景别和角色,避免轮流冻结或无理由同步运动。参考 [motion](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-motion/SKILL.md)、[characters](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-characters/SKILL.md)。
|
|
10
|
+
4. 镜头运动写起点、方向和终点;对白写说话人及逐字台词,核对脸部可见性、听者反应与声音策略。若原生口型重要,避免同一句里同时要求大幅转头和复杂运镜。参考 [camera](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-camera/SKILL.md)、[audio](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-audio/SKILL.md)。
|
|
11
|
+
5. 只编译当前镜头的身份、素材用途、动作、声音、连续性和镜尾;删除重复画质词及参考图已经表达的静态背景。Seedance 不套社区经验字数阈值;H3 仍按本项目最终提交文本 7000 字符限制校验。参考 [antislop](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-antislop/SKILL.md)、[prompt-short](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-prompt-short/SKILL.md)。
|
|
12
|
+
6. 返工时先记录画面中实际失败的动作、口型、道具或连续性,再改一个主要变量;续镜以**已验收视频的实际镜尾**为准,不能把计划镜尾当成已发生事实。参考 [troubleshoot](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-troubleshoot/SKILL.md)、[continuation](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-continuation/SKILL.md)。
|
|
13
|
+
|
|
14
|
+
## 按问题查阅上游 Skill
|
|
15
|
+
|
|
16
|
+
| 问题 | 社区 Skill |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| 剧情与多镜规划 | [interview](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-interview/SKILL.md)、[interview-short](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-interview-short/SKILL.md)、[sequence](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-sequence/SKILL.md)、[recipes](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-recipes/SKILL.md) |
|
|
19
|
+
| 画面与运动 | [style](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-style/SKILL.md)、[lighting](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-lighting/SKILL.md)、[vfx](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-vfx/SKILL.md) |
|
|
20
|
+
| 平台、交付与问题定位 | [pipeline](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-pipeline/SKILL.md)、[troubleshoot](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-troubleshoot/SKILL.md)、[filter](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-filter/SKILL.md)、[copyright](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-copyright/SKILL.md) |
|
|
21
|
+
| 中文范例与用词 | [examples-zh](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-examples-zh/SKILL.md)、[vocab-zh](https://github.com/Emily2040/seedance-2.0/blob/main/skills/seedance-vocab-zh/SKILL.md);其他语言参见上游目录中的 `examples-ja/ko` 与 `vocab-en/es/ja/ko/ru` |
|
|
22
|
+
|
|
23
|
+
采用上游的检查方法时,以本项目的已选素材、审核、Provider 能力和提示词选版为准。社区 Skill 提到的具体镜头数量、绝对时间标记或平台参数不能直接写成本项目硬规则。
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# 编写视频提示词
|
|
2
2
|
|
|
3
|
+
Seedance 的逐镜检查可按 [社区 Skill 参考](seedance-community-skills.md) 执行;其中的平台参数和经验阈值需按当前模型路由复核。
|
|
4
|
+
|
|
5
|
+
## 无限画布 Agent 写入路径
|
|
6
|
+
|
|
7
|
+
默认由 Agent 在真实选版的分镜、双板、声音计划和审核记录上逐镜编写最终提示词。先用纸面镜头表核对机位一侧、人物位置与朝向、视线、主动作、其他可见人物的持续行为、光线、道具持有的手及镜尾可见状态;内部表格不复制进模型提示词。每个参考素材先绑定实际用途,不发明未上传的 `@` 标签。Agent 使用 `canvas node write-video-prompt <节点ID> --project <项目ID> --file <UTF-8文件> --type h3|seedance --expected-version <画布版本>` 保存成品,回读文本资源及选版后才提交视频。新镜头不自动运行 `storyboard-video-prompt` 的 LLM 任务;未有 Agent 写入时,用户可手动点击该节点生成。一旦 Agent 写入,服务端禁止再次运行该节点,避免覆盖成品。
|
|
8
|
+
|
|
9
|
+
H3 使用 Ref2VA 六段英文正文,保留原文对白,最终发给 Provider 的文本不得超过 7000 字符。Seedance 使用中文“本镜元数据与实际素材用途 → 画面和表演 → 镜尾”;对白保持原文。每个可见人物只写本镜可读的动作、注意对象、反应触发和结果,听者与说话者在同一段交叠表演。提示词长度由必要信息决定,不按任意字数填充;先删重复画质词和已由参考图表达的背景,再考虑调整动作密度。
|
|
10
|
+
|
|
11
|
+
以下模板编译规则适用于仍使用本地 hypit 项目文档或用户手动点击旧生成节点的路径,不代替无限画布的 Agent 写入选版。
|
|
12
|
+
|
|
3
13
|
|
|
4
14
|
先读取已批准制作计划和 Provider 实时能力,按“节点/镜头显式覆盖 → 制作计划 `prompt_profile` → 模型识别”确定唯一编译路径:
|
|
5
15
|
|