@aswless_854771076/ai_short_studio_cli 0.1.161 → 0.1.163
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/document/save.js +1 -0
- package/dist/domain/canvas-document-contract.d.ts +3 -2
- package/dist/domain/canvas-document-contract.js +13 -0
- package/dist/domain/vvicat-api.js +1 -0
- package/package.json +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/agent-recovery.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/commands/canvas.md +10 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/project-and-canvas.md +4 -2
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-character-profiles.md +2 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/voice_analysis.en.txt +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/voice_analysis.zh.txt +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/design-drama-audio.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/module-map.json +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/pipeline.md +2 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* 画布文档的内容合同。
|
|
3
3
|
*
|
|
4
4
|
* `canvas workflow status` 只按 `document-key` 找到已保存版本,并核对 `--input` 快照是否
|
|
5
|
-
*
|
|
6
|
-
* Agent
|
|
5
|
+
* 过期;服务端也按同一登记合同检查正文结构。历史问题里
|
|
6
|
+
* Agent 曾先存只有 summary 的占位文档再继续生成资产,因此本地提前给出可修正的错误。
|
|
7
7
|
*
|
|
8
8
|
* 因此把"哪些文档必须包含哪些顶层字段"登记在随包 `module-map.json` 的 `documents`,由 CLI
|
|
9
9
|
* 在发出保存请求前本地核对。字段清单只从该文件读取一次;读取失败时放行并给出警告,避免
|
|
@@ -45,5 +45,6 @@ export declare function validateCanvasDocumentContent(input: {
|
|
|
45
45
|
schemaKey: string;
|
|
46
46
|
content: unknown;
|
|
47
47
|
allowPartial?: boolean;
|
|
48
|
+
inputCount?: number;
|
|
48
49
|
}): Promise<DocumentContentValidation>;
|
|
49
50
|
export {};
|
|
@@ -65,6 +65,19 @@ export function expectedSchemaKey(documentKey) {
|
|
|
65
65
|
return `canvas.${segment}.v1`;
|
|
66
66
|
}
|
|
67
67
|
export async function validateCanvasDocumentContent(input) {
|
|
68
|
+
// 审核的来源是 --input 快照,正文里的 source 字段不能替代它,草稿开关也不能绕过审核门禁。
|
|
69
|
+
if (input.schemaKey === 'canvas.review.v1') {
|
|
70
|
+
if (input.inputCount !== 1)
|
|
71
|
+
throw new Error('审核文档必须且只能指定一个 --input 上游节点;正文 source 字段不能代替 --input。');
|
|
72
|
+
const content = isPlainObject(input.content) ? input.content : {};
|
|
73
|
+
const issues = content.issues;
|
|
74
|
+
if (!['approved', 'rejected'].includes(String(content.decision)) || !Array.isArray(issues) || issues.length > 100
|
|
75
|
+
|| issues.some((issue) => !isPlainObject(issue) || !['P0', 'P1', 'P2'].includes(String(issue.severity))
|
|
76
|
+
|| typeof issue.description !== 'string' || !issue.description.trim())
|
|
77
|
+
|| (content.decision === 'approved' && issues.some((issue) => issue.severity === 'P0' || issue.severity === 'P1'))) {
|
|
78
|
+
throw new Error('审核正文必须包含 decision(approved/rejected)和 issues 数组;每项含 severity(P0/P1/P2)及非空 description,P0/P1 未清零不得 approved。');
|
|
79
|
+
}
|
|
80
|
+
}
|
|
68
81
|
const warnings = [];
|
|
69
82
|
const map = await contracts();
|
|
70
83
|
if (!map) {
|
|
@@ -100,6 +100,7 @@ export class VvicatApi {
|
|
|
100
100
|
return this.client.request(`/api/projects/${projectId}`, { method: 'DELETE' });
|
|
101
101
|
}
|
|
102
102
|
async canvas(projectId) {
|
|
103
|
+
// CLI 按需查询资产,保留精简画布接口;网页的 view=bootstrap 会额外读取设置和引用资产。
|
|
103
104
|
const payload = await this.client.request(`/api/projects/${projectId}/canvas`);
|
|
104
105
|
return payload.data.canvas;
|
|
105
106
|
}
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
ai-short-studio canvas node diagnose "$NODE_ID" --project "$PROJECT_ID" --json
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
返回节点配置、实时输入端口、上游当前版本及正文、最近任务状态和 `recoveryActions
|
|
25
|
+
返回节点配置、实时输入端口、上游当前版本及正文、最近任务状态和 `recoveryActions`。专业拆镜还返回 `planningDraft`(草稿版本、状态、阻塞诊断及读取地址);`selectedVersion:null` 不代表没有草稿。自动规划在有界纠错后失败时,先读草稿并局部修正,再 dry-run、保存、复核与显式 promote;不要只改泛化提示词后再次整轮运行。草稿不存在时可按下文直接创建,不要求为取得草稿先执行模型任务。它是只读检查,不是执行成功或创作质量证明。按实时节点 schema 修正配置,按精确 edge ID 修正接线;字段修改使用 `canvas node update --set` 或 `--config`,批量修改使用 `update-many` 的 `set/unset`,不要传被忽略的 `config` 包装。配置被拒绝(服务端或调用方提示未知字段,例如把节点标题 `title` 写进 `config`)时,删除该字段并按实时 `configSchema.properties` 修正后重试;节点标题用 `canvas node update --title`,换名猜字段或重复提交同一无效字段都不算修复。
|
|
26
26
|
|
|
27
27
|
| 问题所在位置 | 恢复方法 |
|
|
28
28
|
| --- | --- |
|
|
@@ -129,3 +129,13 @@ handle 来自实时节点目录。只删除精确 edge ID;`--apply-ready` 只
|
|
|
129
129
|
## 节点选版与资产全局选版
|
|
130
130
|
|
|
131
131
|
`canvas asset select-version`(或 `asset select`)修改资产全局选版,不覆盖任何节点的 `selectedOutputVersionId`。网页“查看版本”和内置 `canvas_select_version` 只切换目标节点、保留兄弟节点与全局选版,并使下游过期;运行中节点不可切版。读取节点内容和编辑基线时优先使用节点固定版本。CLI 没有把全局选版命令自动转换为节点切版;需要更改固定版本时使用网页节点入口,不能用普通 config patch 写服务端选版字段。
|
|
132
|
+
|
|
133
|
+
### 审核文档与阶段缺失诊断
|
|
134
|
+
|
|
135
|
+
剧本审核使用 `--document-key script.review --schema-key canvas.review.v1`,必须且只能指定一个 `--input <被审核节点ID>`。正文为 `{"decision":"approved","issues":[]}` 或真实问题清单(每项含 `severity: P0|P1|P2` 与 `description`);不能靠正文里的 `source` 替代来源快照,有 P0/P1 时不能批准。审核结论必须来自实际检查,不能为解锁阶段伪造通过。
|
|
136
|
+
|
|
137
|
+
`canvas workflow status` 每个检查项的 `documentKeys` 列出可接受的稳定键。`missing` 时先读 `canvas documents`,按这些键修复已有文档;同一问题不通过循环试探键、重复创建空节点或反复执行生成节点处理。文档已就绪但同键阶段仍缺失时,记录 `moduleId/documentKey/nodeId/versionId` 并报告合同不一致,保留现有产物,不绕过阶段门禁。
|
|
138
|
+
|
|
139
|
+
阶段检查会同时核对随包 `module-map.json` 已登记文档的必需字段和非空字段。`incomplete-content` 表示当前版本只是草稿,读取正文后补齐并追加版本;下游引用此草稿也会失效。`duplicate-key` 表示同模块出现多份裸键、分集键或历史别名产物,先核对现有节点并保留明确的唯一依据,不通过继续创建测试节点修复。人物档案兼容历史 `generate-character-profiles` 键,新文档统一用 `character-profiles`;声音设计阶段识别 `audio-plan`。
|
|
140
|
+
|
|
141
|
+
网页初始化使用 `GET /api/projects/:projectId/canvas?view=bootstrap` 聚合快照;CLI 保持精简画布 GET,并通过现有 inspect/documents/asset 命令按需读取。助手重连保留会话和累计预算,不会重放制作指令;工具或活跃时间预算耗尽时应拆分任务,不能靠反复重连恢复额度。
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
### 声音一致性绑定
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
初始化时汇总确认需要说话的人物的声音来源;用户已确认的选择不重复询问,并把选择写入 `audio-plan.voice_consistency`:
|
|
17
17
|
|
|
18
|
-
- `first_appearance_sample
|
|
18
|
+
- `first_generated_video`(默认):首次成功生成且含清晰对白的视频建立人物声音基准,后续镜头继承;已有来源样本时可切换 `first_appearance_sample`:只把人物第一次出场且有清晰对白的已有视频或原声截取为声纹样本,样本本身不是固定音色 ID。先展示截取时长、来源镜头、波形/试听链接和权利状态,用户确认后,若目标视频模型支持参考音频,则使用真实 AUDIO 节点绑定到 `reference-audios`,并回读声音计划逐人物引用的 nodeId、assetId、versionId、mediaId;只有实时 schema 明确接受 Provider voice ID 时才创建或选择该 ID,不把独立 TTS 音色 ID 当作视频参考音频。首镜尚未生成时不得伪造 voice_id 或媒体证据;先保留 reference=null、限制和复听计划,首镜完成后回写真实视频版本与音频证据,再供后续镜头继承。
|
|
19
19
|
- `user_upload`:用户上传并确认有权使用的声音样本。
|
|
20
20
|
- `global_asset`:从全局声音资产库选择已审核的 voice ID 和版本。
|
|
21
21
|
- `provider_voice_id`:选择实时 Provider 目录中已确认的声音 ID。
|
|
@@ -53,6 +53,8 @@
|
|
|
53
53
|
- 两类编辑都基于当前 `selectedOutputVersionId` 追加版本并使下游 stale。同节点、同基线、同载荷重复提交或当前选版已满足目标时返回已有版本;画布冲突刷新当前选版后重试一次,资产版本竞争保留原基线重试一次,身份错误和其他 409 直接停止核对。
|
|
54
54
|
- `canvas apply` 只处理节点、边、删除和视口,不代替 settings 或结构化 artifact 编辑。
|
|
55
55
|
|
|
56
|
+
节点创建后必须在同一批确定最终排版:按真实依赖边将上游放左、下游放右,间距按实际节点宽高计算,默认节点为 360×380px,列间至少留 120px、行间至少留 84px,不能把间距当作左上角坐标步长;保留已有节点坐标,只为新节点选择不遮挡现有节点的最近空位。不要把新节点先堆在画布中心再交给用户整理,排版只写节点 x/y,不写入 config,也不为排版创建媒体任务。
|
|
57
|
+
|
|
56
58
|
## 安全边界
|
|
57
59
|
|
|
58
60
|
refresh token 只保存在系统钥匙串;密码和 API Key 只从交互式隐藏输入、stdin 或秘密管理器提供。不得读取、复制或删除本地认证缓存规避认证。项目供应商读取只返回遮罩状态,写入 Key 必须使用安全 stdin。删除既有项目、覆盖完整画布或改模型前先确认影响。
|
|
@@ -5,3 +5,5 @@
|
|
|
5
5
|
先合并别名、第一人称映射和关系,禁止把仅被提及或不出镜的对象建成人物。`performance_bible`、`voice_identity` 只记录原文明示或跨场景重复的长期特征;一次性动作、情绪和特效不得固化。每个角色至少保留初始形象,只有换装、年龄或持续造型变化才新增版本。
|
|
6
6
|
|
|
7
7
|
输出必须符合 [人物档案 Schema](generate-character-profiles/character-profile-output.schema.json),且顶层只能有 `new_characters[]` 与 `updated_characters[]`。先生成人物档案文档;向用户展示新增、合并与冲突结果并确认后,才保存为项目文档版本。人物事实确认后交给 `generate-character-images`;用户未确认前不得生成图片。
|
|
8
|
+
|
|
9
|
+
保存合同固定为 `--document-key character-profiles --schema-key canvas.character-profiles.v1`,可以使用分集前缀(如 `ep-001.character-profiles`)。正文必须同时有 `new_characters` 与 `updated_characters` 数组;来源通过 `--input` 绑定已确认剧本。保存后回读文档与 `workflow` 的 `generate-character-profiles` 检查项,不通过猜文档键、建立测试节点或额外执行 character-design 来修复阶段识别。
|
|
@@ -30,7 +30,7 @@ Rules:
|
|
|
30
30
|
7. New plans must set `audio_strategy.mode=native-first`, `provider_selection=prefer-native`, and `fallback_allowed=true`. `fallback_reasons` must contain exactly: `provider-no-native-audio`, `voice-identity-drift`, `speech-intelligibility-failed`, `narration-performance-failed`, `audio-sync-failed`, and `native-ambience-failed`.
|
|
31
31
|
8. Keep source and presentation orthogonal on every line: `delivery_mode=native|post_dub|external_audio`, `presentation=visible-dialogue|offscreen-dialogue|narration`, and `fallback_mode=none|post-dub|cinematic-tts|sound-design`. Never put narration or offscreen in delivery_mode.
|
|
32
32
|
9. Use null for `source_audio` and `voice_binding` when no selected asset or real voice evidence exists. A native-audio fallback requires `native_audio_exception` with an allowed reason, actual evidence, an exact millisecond range, and final `mix_sources`. Offscreen dialogue or narration that was never generated is not a native-audio failure and must keep `native_audio_exception` null.
|
|
33
|
-
9a. `voice_consistency.source_mode` must be one of `first_appearance_sample|user_upload|global_asset|provider_voice_id|none`, taken from the user-confirmed project initialization. `first_appearance_sample` only extracts a real interval from an existing selected video or source audio where the character first appears with clear dialogue, and records `source_asset_key`, `source_version_id`, `start_ms`, `end_ms`, `sha256`, preview evidence, and confirmation; the sample is not a `voice_id`:
|
|
33
|
+
9a. `voice_consistency.source_mode` must be one of `first_generated_video|first_appearance_sample|user_upload|global_asset|provider_voice_id|none`, taken from the user-confirmed project initialization. `first_appearance_sample` only extracts a real interval from an existing selected video or source audio where the character first appears with clear dialogue, and records `source_asset_key`, `source_version_id`, `start_ms`, `end_ms`, `sha256`, preview evidence, and confirmation; the sample is not a `voice_id`: when the target video model supports reference audio, connect the real selected AUDIO node to later shots through `reference-audios` and record matching nodeId, assetId, versionId and mediaId. Create or select a Provider voice ID only when the target model live schema explicitly accepts that ID; a standalone TTS clone ID is not a video audio reference. For `first_generated_video`, keep the binding pending until a first shot has been generated and selected, then extract a measured speaker interval, listen and bind it to later shots. Without existing source audio, preview, or confirmation put it in unresolved; never invent sources or claim an unfinished binding is complete. `user_upload` needs an upload receipt and rights confirmation, `global_asset` needs a reviewed global voice ID/version, and `provider_voice_id` needs live catalog evidence; `none` keeps voice_binding null.
|
|
34
34
|
9b. Missing offscreen dialogue uses `delivery_mode=post_dub`, `presentation=offscreen-dialogue`, and a clone of the character's original voice made with the model required by the current audio specification. Its voice binding must include `voice_role=character`, `source=clone`, the real `target_model`, and a real `upload_receipt_id`. Narration uses `delivery_mode=post_dub`, `presentation=narration`, and an independently designed professional narrator voice. Its binding must include `voice_role=narrator`, `source=design`, `professional_narration=true`, a real `request_id`, and a `cinematic_profile` identical to performance. Both routes must bind source `speech-timing`; never estimate timing from text.
|
|
35
35
|
10. Every narration line requires an executable cinematic `performance` with `tone_arc`, ordered `emotion_beats[]`, `pace`, `breath_and_pause`, and `distance_and_space`; “emotional” alone is insufficient. Non-narration performance is null. Native background sound means ambience and action sound only; BGM remains an independent licensed-music workflow.
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
7. 新计划固定 `audio_strategy.mode=native-first`、`provider_selection=prefer-native`、`fallback_allowed=true`;`fallback_reasons` 必须完整且仅含 `provider-no-native-audio`、`voice-identity-drift`、`speech-intelligibility-failed`、`narration-performance-failed`、`audio-sync-failed`、`native-ambience-failed`。
|
|
31
31
|
8. 每行分别填写声音来源 `delivery_mode=native|post_dub|external_audio`、画面呈现 `presentation=visible-dialogue|offscreen-dialogue|narration`、预案 `fallback_mode=none|post-dub|cinematic-tts|sound-design`,不得把 narration/offscreen 填进 delivery_mode。
|
|
32
32
|
9. `source_audio` 和 `voice_binding` 没有已选资产或真实音色证据时为 null,不得伪造。原生失败兜底时 `native_audio_exception` 必须写受控 reason、实际 evidence、毫秒 range 和最终 `mix_sources`;原本未生成的场外音或旁白不是原生失败,`native_audio_exception` 必须为 null。
|
|
33
|
-
9a. `voice_consistency.source_mode` 只能是 `first_appearance_sample|user_upload|global_asset|provider_voice_id|none`,且必须来自项目初始化时用户确认的配置。`first_appearance_sample` 只从人物第一次出场且有清晰对白的已有视频或原声截取真实区间,写入 `source_asset_key`、`source_version_id`、`start_ms`、`end_ms`、`sha256`、试听证据和确认记录;样本不是 `voice_id
|
|
33
|
+
9a. `voice_consistency.source_mode` 只能是 `first_generated_video|first_appearance_sample|user_upload|global_asset|provider_voice_id|none`,且必须来自项目初始化时用户确认的配置。`first_appearance_sample` 只从人物第一次出场且有清晰对白的已有视频或原声截取真实区间,写入 `source_asset_key`、`source_version_id`、`start_ms`、`end_ms`、`sha256`、试听证据和确认记录;样本不是 `voice_id`;目标视频模型支持参考音频时,将真实已选 AUDIO 节点接入后续镜头的 `reference-audios`,并保存一致的 nodeId、assetId、versionId、mediaId。只有目标模型实时 schema 明确接受 Provider voice ID 时,才创建或选择对应 ID,不把独立 TTS 克隆 ID 当作视频参考音频。`first_generated_video` 在首镜生成前保留待绑定状态,首镜选版后按实测说话区间取样、试听并绑定后续镜头;没有已有来源音频、未展示试听或未确认时写入 unresolved,不得伪造来源或声称已绑定。`user_upload` 必须有上传回执和权利确认,`global_asset` 必须有全局 voice ID/版本和审核证据,`provider_voice_id` 必须有实时目录证据;`none` 时 voice_binding 为 null。
|
|
34
34
|
9b. 原本未生成的场外音设 `delivery_mode=post_dub`、`presentation=offscreen-dialogue`,绑定当前声音规范指定模型克隆的角色原声音色;voice_bindings 必须含 `voice_role=character`、`source=clone`、真实 `target_model` 和 `upload_receipt_id`。旁白设 `delivery_mode=post_dub`、`presentation=narration`,使用独立专业设计音色;voice_bindings 必须含 `voice_role=narrator`、`source=design`、`professional_narration=true`、真实 `request_id`,且 `cinematic_profile` 与 performance 逐字段一致。两者都必须先绑定原声 speech-timing,不得按文字估算时间。
|
|
35
35
|
10. `presentation=narration` 必须写电影感 `performance`:`tone_arc`、按顺序的 `emotion_beats[]`、`pace`、`breath_and_pause`、`distance_and_space`,不能只写“富有情感”;非旁白为 null。背景音原生直出只包括环境声和动作声,BGM 仍由独立授权配乐流程负责。
|
|
36
36
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
优先在视频模型支持时保留原生对白、环境声和动作声。逐镜审核语言、说话者、文本、可懂度、时间同步、环境动作声和未声明音乐。失败时记录实际区间与原因;合格部分不重复生成。
|
|
6
6
|
|
|
7
|
-
独立语音先用 `voice_analysis` 分离说话人与台词,再按项目初始化时确认的 `audio-plan.voice_consistency` 绑定声音。默认 `first_appearance_sample`
|
|
7
|
+
独立语音先用 `voice_analysis` 分离说话人与台词,再按项目初始化时确认的 `audio-plan.voice_consistency` 绑定声音。默认 `first_generated_video` 先让首次成功生成且含清晰对白的视频建立声音基准;已有来源音频时才使用 `first_appearance_sample` 截取实际说话区间,保存来源镜头、起止时间、SHA-256 并先展示试听;样本不是 `voice_id`:目标视频模型支持参考音频时,确认实际说话区间后按实时目录创建 `video-audio-extract`,填写说话人、起点和时长,连接当前已选视频并执行;回读 AUDIO 结果,将其接入后续镜头的 `reference-audios`,并核对声音计划逐人物引用的节点、资产、版本和媒体。首镜尚未生成时保留待绑定状态,不能伪造音色或自动切为 none。只有实时 schema 明确接受 Provider voice ID 时,才调用其支持的声音创建或选择流程;独立 TTS 的克隆 ID 不能代替视频参考音频。`user_upload` 使用用户上传且已确认有权使用的样本,`global_asset` 使用全局资产库已审核 voice ID,`provider_voice_id` 使用实时 Provider 目录声音,`none` 不建立跨镜绑定。参考音频和 Provider voice ID 的可用性分别按目标模型实时能力核对,不根据 Provider 名称默认支持;不支持时说明限制和复听方案,不能把原生音频直出本身当作已固定音色。生成前核对逐字文本和使用权,输出作为未选候选逐条试听、审核后再选版。
|
|
8
8
|
|
|
9
9
|
CosyVoice 自定义音色设计/克隆只在目标为百炼 CosyVoice、实时模型目录返回该能力且用户确认时,才可在独立 TTS 流程中使用真实音色 ID,并经过试听和审核;它不能静默覆盖 H3 原生对白。StarRouter 没有等价能力;MuseTalk 与旧 RunningHub 口型驱动仍暂时禁用。旧 audio-plan 中的失效配置不得继续提交付费任务;向用户说明缺失能力,并先重新确认当前可用模型和制作方案。不得把临时音色或未通过审核的配音默认为正式结果。
|
|
10
10
|
|
|
@@ -529,6 +529,15 @@
|
|
|
529
529
|
"non_empty_fields": [
|
|
530
530
|
"shots"
|
|
531
531
|
]
|
|
532
|
+
},
|
|
533
|
+
"character-profiles": {
|
|
534
|
+
"module": "generate-character-profiles",
|
|
535
|
+
"template_stem": "agent_character_profile",
|
|
536
|
+
"stage": "asset-analysis",
|
|
537
|
+
"required_fields": [
|
|
538
|
+
"new_characters",
|
|
539
|
+
"updated_characters"
|
|
540
|
+
]
|
|
532
541
|
}
|
|
533
542
|
},
|
|
534
543
|
"provider_prompts": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
## 文档键与内容合同
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
阶段状态按 `document-key` 匹配文档,并核对登记合同的必需字段、非空字段及来源快照:不按节点标题、`schema-key` 或创建顺序判断,键写错时该阶段会一直显示 `missing`。以下键与必需顶层字段以 `module-map.json` 的 `documents` 为唯一机器事实;`canvas document save` 在发出请求前按同一合同核对正文,缺字段或非空字段为空时直接失败并指出要读的模板路径。
|
|
29
29
|
|
|
30
30
|
| 文档键 | 模块 | 说明 |
|
|
31
31
|
| --- | --- | --- |
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
| `outline` | `outline-drama-series` | 分集大纲,`episodes` 不得为空 |
|
|
35
35
|
| `script` | `write-drama-episode` | 单集剧本,保存时使用 `ep-001.script` 这类带分集前缀的键,`scenes` 不得为空 |
|
|
36
36
|
| `director-book` | `write-drama-director-book` | 导演本,逐场摄影与表演决定 |
|
|
37
|
+
| `character-profiles` | `generate-character-profiles` | 人物档案,`new_characters` 与 `updated_characters` 数组,不能通过额外生图代替 |
|
|
37
38
|
| `asset-plan` | `plan-drama-assets` | 资产计划,人物、场景、道具与未决问题 |
|
|
38
39
|
| `production-plan` | `plan-drama-production` | 逐镜制作计划,`shots` 不得为空 |
|
|
39
40
|
| `continuity-plan` | `plan-shot-continuity` | 跨镜连续性计划,`shots` 不得为空 |
|