cerevox 1.4.12 → 1.4.13
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.
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
4. 选择语音 → 使用 `search-voices` 选择合适的配音音色
|
|
20
20
|
5. 创建脚本 → 编写 story_board.json(受众、脚本、风格、场景)
|
|
21
21
|
6. 素材生成(严格按顺序)→ `generate-scene-tts` → `generate-image` → `generate-video` → `generate-bgm`
|
|
22
|
-
7. 技术规范 →
|
|
23
|
-
8.
|
|
24
|
-
9.
|
|
25
|
-
10.
|
|
22
|
+
7. 技术规范 → 调用`get-video-project-schema`获取最新规范,根据规范创建 draft_content.json
|
|
23
|
+
8. 字幕检查 → 除非用户明确不要字幕,字幕(subtitles)数组必须在 draft_content.json 中存在,若不存在则从 story_board.json 中提取创建。
|
|
24
|
+
9. 执行渲染 → `compile-and-run` 输出成品
|
|
25
|
+
10. 下载成品 → `download-outputs`
|
|
26
|
+
11. 关闭项目 → `zerocut-project-close`
|
|
26
27
|
|
|
27
28
|
## 视频修改流程
|
|
28
29
|
|
|
@@ -372,7 +373,7 @@ VideoProject支持转场滤镜,在`timeline.tracks[].clips[]`中配置`transit
|
|
|
372
373
|
- 音频track必须对齐视频时间轴,不能以音频原始时长为准
|
|
373
374
|
- 字幕track必须对齐视频时间轴,确保显示时间与视频同步
|
|
374
375
|
- 所有clip的startMs、durationMs都基于视频时间轴计算
|
|
375
|
-
*
|
|
376
|
+
* 检查字幕:
|
|
376
377
|
- 除非用户明确指定不要字幕,否则 draft_content.json 中必须包含字幕(subtitles 数组)
|
|
377
378
|
- 文本严格一致性:字幕内容必须与 story_board.json 中的 script 字段逐字对应
|
|
378
379
|
- 拆分规则:允许将长句拆分成短句,但禁止增减任何文字
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cerevox",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.13",
|
|
4
4
|
"description": "TypeScript SDK for browser automation and secure command execution in highly available and scalable micro computer environments",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|