zerocut-cli 0.4.0 → 0.4.1
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.
|
@@ -34,7 +34,7 @@ Based on user topic, purpose, duration, style, references, and subject assets:
|
|
|
34
34
|
|
|
35
35
|
Required workflow:
|
|
36
36
|
|
|
37
|
-
project preparation -> subject creation -> scene planning (ensure `./
|
|
37
|
+
project preparation -> subject creation -> scene planning (ensure `./scene-bible.md` exists) -> storyboard generation -> scene video generation -> BGM generation -> final composition
|
|
38
38
|
|
|
39
39
|
## Runtime Preparation
|
|
40
40
|
|
|
@@ -89,6 +89,10 @@ npx zerocut-cli config --ott <token> --region <cn|us>
|
|
|
89
89
|
|
|
90
90
|
- If user does not provide exact script, generate concise narration/dialogue aligned with story and duration.
|
|
91
91
|
- If user provides script or key message, keep original intent, wording priority, and brand keywords.
|
|
92
|
+
- If narration exists for a scene, inject it at the beginning of the scene video prompt with this exact format:
|
|
93
|
+
- `【narration_tone】Narration:<text_content>\n`
|
|
94
|
+
- `narration_tone` must follow the voice design rules in this skill.
|
|
95
|
+
- `text_content` must be written in the user-required language.
|
|
92
96
|
- Estimate speech duration with normal-slow pace.
|
|
93
97
|
- Per-scene narration/dialogue total should not exceed 12 seconds.
|
|
94
98
|
- If over limit, compress script or split into more scenes.
|
|
@@ -115,7 +119,7 @@ npx zerocut-cli image --prompt "<subject turnaround prompt>" --model banana2 --t
|
|
|
115
119
|
|
|
116
120
|
## Scene Planning And Scene-Bible Rules
|
|
117
121
|
|
|
118
|
-
Scene planning is a critical quality gate. Before any storyboard or video generation, create a complete `./
|
|
122
|
+
Scene planning is a critical quality gate. Before any storyboard or video generation, create a complete `./scene-bible.md` and treat it as the single source of truth for all downstream prompts.
|
|
119
123
|
|
|
120
124
|
### Mandatory Scene-Bible Checklist
|
|
121
125
|
|
|
@@ -136,7 +140,7 @@ Scene planning is a critical quality gate. Before any storyboard or video genera
|
|
|
136
140
|
7. **Shot plan per scene**
|
|
137
141
|
- each shot has self-contained prompt requirements and camera intention
|
|
138
142
|
8. **Narration/dialogue plan**
|
|
139
|
-
- per scene script and estimated speech duration (must stay within 12s per scene)
|
|
143
|
+
- per scene script, narration tone, language, and estimated speech duration (must stay within 12s per scene)
|
|
140
144
|
9. **Asset binding**
|
|
141
145
|
- which references are required for each scene (`--storyboard`, `--persons`, `--refs`)
|
|
142
146
|
10. **Output plan**
|
|
@@ -146,7 +150,7 @@ Scene planning is a critical quality gate. Before any storyboard or video genera
|
|
|
146
150
|
|
|
147
151
|
### Scene-Bible Template
|
|
148
152
|
|
|
149
|
-
Use this structure when writing `./
|
|
153
|
+
Use this structure when writing `./scene-bible.md`:
|
|
150
154
|
|
|
151
155
|
```markdown
|
|
152
156
|
# Scene Bible
|
|
@@ -280,6 +284,8 @@ For each scene, planning output must include:
|
|
|
280
284
|
## Storyboard Rules
|
|
281
285
|
|
|
282
286
|
- Every scene must have a storyboard image.
|
|
287
|
+
- Storyboard generation must use `npx zerocut-cli image` with `--type storyboard`.
|
|
288
|
+
- `--type` value is strictly locked to `storyboard` for storyboard generation. Do not use `default`, `subject-turnaround`, or any other value.
|
|
283
289
|
- Storyboard must include environment, subject position/action, framing, camera movement, rhythm, and key emotion.
|
|
284
290
|
- If a subject appears in that scene, include matching subject references.
|
|
285
291
|
- Storyboard prompts must be complete and self-contained.
|
|
@@ -295,6 +301,8 @@ If no subject references are required in that scene, omit `--refs`.
|
|
|
295
301
|
## Prompt Independence Hard Constraint
|
|
296
302
|
|
|
297
303
|
- Every shot prompt and every scene video prompt must be fully self-contained.
|
|
304
|
+
- If narration is present, the prompt must start with `【narration_tone】Narration:<text_content>\n`.
|
|
305
|
+
- Validate narration before generation: tone must match voice design and text language must match user requirement.
|
|
298
306
|
- Do not use shorthand such as:
|
|
299
307
|
- "same as previous shot"
|
|
300
308
|
- "continue above"
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ Based on user topic, purpose, duration, style, references, and subject assets:
|
|
|
34
34
|
|
|
35
35
|
Required workflow:
|
|
36
36
|
|
|
37
|
-
project preparation -> subject creation -> scene planning (ensure `./
|
|
37
|
+
project preparation -> subject creation -> scene planning (ensure `./scene-bible.md` exists) -> storyboard generation -> scene video generation -> BGM generation -> final composition
|
|
38
38
|
|
|
39
39
|
## Runtime Preparation
|
|
40
40
|
|
|
@@ -89,6 +89,10 @@ npx zerocut-cli config --ott <token> --region <cn|us>
|
|
|
89
89
|
|
|
90
90
|
- If user does not provide exact script, generate concise narration/dialogue aligned with story and duration.
|
|
91
91
|
- If user provides script or key message, keep original intent, wording priority, and brand keywords.
|
|
92
|
+
- If narration exists for a scene, inject it at the beginning of the scene video prompt with this exact format:
|
|
93
|
+
- `【narration_tone】Narration:<text_content>\n`
|
|
94
|
+
- `narration_tone` must follow the voice design rules in this skill.
|
|
95
|
+
- `text_content` must be written in the user-required language.
|
|
92
96
|
- Estimate speech duration with normal-slow pace.
|
|
93
97
|
- Per-scene narration/dialogue total should not exceed 12 seconds.
|
|
94
98
|
- If over limit, compress script or split into more scenes.
|
|
@@ -115,7 +119,7 @@ npx zerocut-cli image --prompt "<subject turnaround prompt>" --model banana2 --t
|
|
|
115
119
|
|
|
116
120
|
## Scene Planning And Scene-Bible Rules
|
|
117
121
|
|
|
118
|
-
Scene planning is a critical quality gate. Before any storyboard or video generation, create a complete `./
|
|
122
|
+
Scene planning is a critical quality gate. Before any storyboard or video generation, create a complete `./scene-bible.md` and treat it as the single source of truth for all downstream prompts.
|
|
119
123
|
|
|
120
124
|
### Mandatory Scene-Bible Checklist
|
|
121
125
|
|
|
@@ -136,7 +140,7 @@ Scene planning is a critical quality gate. Before any storyboard or video genera
|
|
|
136
140
|
7. **Shot plan per scene**
|
|
137
141
|
- each shot has self-contained prompt requirements and camera intention
|
|
138
142
|
8. **Narration/dialogue plan**
|
|
139
|
-
- per scene script and estimated speech duration (must stay within 12s per scene)
|
|
143
|
+
- per scene script, narration tone, language, and estimated speech duration (must stay within 12s per scene)
|
|
140
144
|
9. **Asset binding**
|
|
141
145
|
- which references are required for each scene (`--storyboard`, `--persons`, `--refs`)
|
|
142
146
|
10. **Output plan**
|
|
@@ -146,7 +150,7 @@ Scene planning is a critical quality gate. Before any storyboard or video genera
|
|
|
146
150
|
|
|
147
151
|
### Scene-Bible Template
|
|
148
152
|
|
|
149
|
-
Use this structure when writing `./
|
|
153
|
+
Use this structure when writing `./scene-bible.md`:
|
|
150
154
|
|
|
151
155
|
```markdown
|
|
152
156
|
# Scene Bible
|
|
@@ -280,6 +284,8 @@ For each scene, planning output must include:
|
|
|
280
284
|
## Storyboard Rules
|
|
281
285
|
|
|
282
286
|
- Every scene must have a storyboard image.
|
|
287
|
+
- Storyboard generation must use `npx zerocut-cli image` with `--type storyboard`.
|
|
288
|
+
- `--type` value is strictly locked to `storyboard` for storyboard generation. Do not use `default`, `subject-turnaround`, or any other value.
|
|
283
289
|
- Storyboard must include environment, subject position/action, framing, camera movement, rhythm, and key emotion.
|
|
284
290
|
- If a subject appears in that scene, include matching subject references.
|
|
285
291
|
- Storyboard prompts must be complete and self-contained.
|
|
@@ -295,6 +301,8 @@ If no subject references are required in that scene, omit `--refs`.
|
|
|
295
301
|
## Prompt Independence Hard Constraint
|
|
296
302
|
|
|
297
303
|
- Every shot prompt and every scene video prompt must be fully self-contained.
|
|
304
|
+
- If narration is present, the prompt must start with `【narration_tone】Narration:<text_content>\n`.
|
|
305
|
+
- Validate narration before generation: tone must match voice design and text language must match user requirement.
|
|
298
306
|
- Do not use shorthand such as:
|
|
299
307
|
- "same as previous shot"
|
|
300
308
|
- "continue above"
|