cerevox 1.4.6 → 1.4.7
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,7 +19,7 @@
|
|
|
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. 字幕处理 →
|
|
22
|
+
7. 字幕处理 → **必须生成字幕**(除非用户明确指定不要),字幕内容严格对应 story_board 台词和 TTS 配音
|
|
23
23
|
8. 技术规范 → 创建 draft_content.json(符合 VideoProject Schema)
|
|
24
24
|
9. 执行渲染 → `compile-and-run` 输出成品
|
|
25
25
|
10. 下载成品 → `download-outputs`
|
|
@@ -333,7 +333,10 @@ VideoProject支持转场滤镜,在`timeline.tracks[].clips[]`中配置`transit
|
|
|
333
333
|
- 6秒内:zoom类型(zoom_in, zoom_out)
|
|
334
334
|
- 6秒以上:pan类型(pan_left, pan_right, pan_up, pan_down)
|
|
335
335
|
5. `generate-bgm`生成背景音乐
|
|
336
|
-
6.
|
|
336
|
+
6. 生成字幕:
|
|
337
|
+
- 字幕文本必须与 story_board.json 中每个场景的 script 字段完全一致
|
|
338
|
+
- 字幕时间轴必须与对应的 TTS 配音文件精确同步
|
|
339
|
+
- 确保文字内容、语音内容、字幕显示三者完全对应
|
|
337
340
|
7. 创建`draft_content.json`
|
|
338
341
|
8. `compile-and-run`渲染
|
|
339
342
|
9. `download-outputs` → `zerocut-project-close`
|
|
@@ -368,7 +371,11 @@ VideoProject支持转场滤镜,在`timeline.tracks[].clips[]`中配置`transit
|
|
|
368
371
|
- 音频track必须对齐视频时间轴,不能以音频原始时长为准
|
|
369
372
|
- 字幕track必须对齐视频时间轴,确保显示时间与视频同步
|
|
370
373
|
- 所有clip的startMs、durationMs都基于视频时间轴计算
|
|
371
|
-
*
|
|
374
|
+
* **字幕生成与同步**:
|
|
375
|
+
- 除非用户明确指定不要字幕,否则必须为所有场景生成字幕
|
|
376
|
+
- 字幕文本严格对应 story_board.json 中的 script 字段内容
|
|
377
|
+
- 字幕时间轴与 TTS 配音精确同步,与视频时间轴对齐(整秒)
|
|
378
|
+
- 字幕显示时间不受转场滤镜影响,保持与音频同步
|
|
372
379
|
* 转场滤镜策略:除非用户明确要求,否则默认不使用转场滤镜,保持简洁的剪切过渡
|
|
373
380
|
* 统一命名:`scXX_*`、`main_bgm_*`、`*_vo.*`
|
|
374
381
|
* 时长控制:单镜头3-12s,整片30-90s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cerevox",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
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",
|