cerevox 1.4.11 → 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
|
|
|
@@ -332,8 +333,9 @@ VideoProject支持转场滤镜,在`timeline.tracks[].clips[]`中配置`transit
|
|
|
332
333
|
- 6秒内:zoom类型(zoom_in, zoom_out)
|
|
333
334
|
- 6秒以上:pan类型(pan_left, pan_right, pan_up, pan_down)
|
|
334
335
|
5. `generate-bgm`生成背景音乐
|
|
335
|
-
6. 创建`draft_content.json
|
|
336
|
-
-
|
|
336
|
+
6. 创建`draft_content.json`:
|
|
337
|
+
- ⚠️ 必须包含完整的VideoProject结构
|
|
338
|
+
- 尤其要检查`draft_content.json`中必须包含字幕(除非用户明确拒绝):
|
|
337
339
|
- 字幕文本严格一致性:字幕内容必须与 story_board.json 中每个场景的 script 字段完全一致
|
|
338
340
|
- 允许的调整:可以将长句拆分成多个短句以提高可读性
|
|
339
341
|
- 严格禁止:擅自增加、删除或修改任何文字内容
|
|
@@ -371,7 +373,7 @@ VideoProject支持转场滤镜,在`timeline.tracks[].clips[]`中配置`transit
|
|
|
371
373
|
- 音频track必须对齐视频时间轴,不能以音频原始时长为准
|
|
372
374
|
- 字幕track必须对齐视频时间轴,确保显示时间与视频同步
|
|
373
375
|
- 所有clip的startMs、durationMs都基于视频时间轴计算
|
|
374
|
-
*
|
|
376
|
+
* 检查字幕:
|
|
375
377
|
- 除非用户明确指定不要字幕,否则 draft_content.json 中必须包含字幕(subtitles 数组)
|
|
376
378
|
- 文本严格一致性:字幕内容必须与 story_board.json 中的 script 字段逐字对应
|
|
377
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",
|