makaron-cli 0.17.1 → 0.18.0
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/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +5 -4
- package/README.md +45 -1
- package/bin/makaron.mjs +22 -8
- package/craft/manifest.json +2877 -0
- package/craft/prompts/agent-coding.md +220 -0
- package/craft/prompts/agent.md +86 -0
- package/craft/prompts/animate.md +448 -0
- package/craft/prompts/audio.md +261 -0
- package/craft/prompts/captions.md +220 -0
- package/craft/prompts/coding-submission.md +31 -0
- package/craft/prompts/coding-workflow.md +26 -0
- package/craft/prompts/creative.md +108 -0
- package/craft/prompts/cutout.md +81 -0
- package/craft/prompts/enhance.md +123 -0
- package/craft/prompts/generate_image_tool.md +26 -0
- package/craft/prompts/image.md +222 -0
- package/craft/prompts/legacy/agent.md +123 -0
- package/craft/prompts/legacy/coding-tool.md +31 -0
- package/craft/prompts/legacy/video-tool.md +38 -0
- package/craft/prompts/legacy/workspace-authoring.md +13 -0
- package/craft/prompts/niji.md +117 -0
- package/craft/prompts/pony_translate.md +42 -0
- package/craft/prompts/remotion-composition.md +405 -0
- package/craft/prompts/video-reverse.md +170 -0
- package/craft/prompts/video-submission.md +44 -0
- package/craft/prompts/video-workflow.md +42 -0
- package/craft/prompts/wai_translate.md +28 -0
- package/craft/prompts/web-search.md +1 -0
- package/craft/prompts/wild.md +119 -0
- package/craft/prompts/workspace-authoring.md +13 -0
- package/craft/skills/SKILL_README.md +249 -0
- package/craft/skills/_shared/aesthetic-lens-contract.md +68 -0
- package/craft/skills/_shared/native-audiovisual.md +44 -0
- package/craft/skills/_shared/remotion-director-contract.md +133 -0
- package/craft/skills/_shared/remotion-video-director/README.md +140 -0
- package/craft/skills/_shared/remotion-video-director/SKILL.md +391 -0
- package/craft/skills/_shared/remotion-video-director/references/component-library.md +608 -0
- package/craft/skills/_shared/remotion-video-director/references/expert-definitions.md +214 -0
- package/craft/skills/_shared/remotion-video-director/references/music-and-audio.md +186 -0
- package/craft/skills/_shared/remotion-video-director/references/remotion-patterns.md +439 -0
- package/craft/skills/_shared/remotion-video-director/references/video-archetypes.md +395 -0
- package/craft/skills/_shared/speech-clock.md +63 -0
- package/craft/skills/_shared/spoken-caption.md +75 -0
- package/craft/skills/_shared/studio-production/audio-direction.md +60 -0
- package/craft/skills/_shared/studio-production/production-contract.md +188 -0
- package/craft/skills/_shared/studio-production/reference-analysis.md +37 -0
- package/craft/skills/_shared/studio-production/review-contract.md +77 -0
- package/craft/skills/_shared/studio-production/taste-direction.md +114 -0
- package/craft/skills/_shared/visual-asset-bridge/SKILL.md +57 -0
- package/craft/skills/_shared/visual-direction/SKILL.md +98 -0
- package/craft/skills/_shared/voice-translation.md +55 -0
- package/craft/skills/aesthetic-disney-character-motion/SKILL.md +66 -0
- package/craft/skills/aesthetic-lottiefiles-motion/SKILL.md +78 -0
- package/craft/skills/aesthetic-rampstack-direction/SKILL.md +68 -0
- package/craft/skills/ai-video-gen/SKILL.md +48 -0
- package/craft/skills/animated-explainer/SKILL.md +53 -0
- package/craft/skills/animation/SKILL.md +53 -0
- package/craft/skills/avatar-spokesperson/SKILL.md +66 -0
- package/craft/skills/canvas-procedural-animation/SKILL.md +48 -0
- package/craft/skills/character-animation/SKILL.md +57 -0
- package/craft/skills/character-animation-qa/SKILL.md +48 -0
- package/craft/skills/character-rigging/SKILL.md +48 -0
- package/craft/skills/cinematic/SKILL.md +53 -0
- package/craft/skills/cinematic-video/SKILL.md +65 -0
- package/craft/skills/clip-factory/SKILL.md +53 -0
- package/craft/skills/comfyui/SKILL.md +48 -0
- package/craft/skills/content-repurpose/SKILL.md +54 -0
- package/craft/skills/create-video/SKILL.md +48 -0
- package/craft/skills/documentary-montage/SKILL.md +53 -0
- package/craft/skills/doubao-tts/SKILL.md +51 -0
- package/craft/skills/explainer-aesthetic-disney/SKILL.md +33 -0
- package/craft/skills/explainer-aesthetic-lottiefiles/SKILL.md +33 -0
- package/craft/skills/explainer-aesthetic-rampstack/SKILL.md +33 -0
- package/craft/skills/explainer-video/SKILL.md +423 -0
- package/craft/skills/ffmpeg/SKILL.md +48 -0
- package/craft/skills/grok-media/SKILL.md +47 -0
- package/craft/skills/hybrid/SKILL.md +53 -0
- package/craft/skills/localization-dub/SKILL.md +59 -0
- package/craft/skills/long-video-anchor/SKILL.md +111 -0
- package/craft/skills/long-video-director/SKILL.md +217 -0
- package/craft/skills/long-video-storyboard/SKILL.md +102 -0
- package/craft/skills/makaron-mascot/SKILL.md +83 -0
- package/craft/skills/makaron-mascot/assets/character-sheet.jpg +0 -0
- package/craft/skills/makaron-mascot/assets/makaron-spark-pixel-wizard-concepts.png +0 -0
- package/craft/skills/media-use/SKILL.md +47 -0
- package/craft/skills/motion-design-video/SKILL.md +64 -0
- package/craft/skills/motion-graphics/SKILL.md +48 -0
- package/craft/skills/multi-angle-video/SKILL.md +533 -0
- package/craft/skills/music/SKILL.md +47 -0
- package/craft/skills/music-to-video/SKILL.md +60 -0
- package/craft/skills/photo-to-video/SKILL.md +60 -0
- package/craft/skills/podcast-repurpose/SKILL.md +53 -0
- package/craft/skills/pose-library-design/SKILL.md +48 -0
- package/craft/skills/reference-video-studio/SKILL.md +55 -0
- package/craft/skills/remotion/SKILL.md +48 -0
- package/craft/skills/remotion-best-practices/SKILL.md +48 -0
- package/craft/skills/screen-demo/SKILL.md +61 -0
- package/craft/skills/seedance-2-0/SKILL.md +48 -0
- package/craft/skills/seedance-2-5/SKILL.md +48 -0
- package/craft/skills/sound-effects/SKILL.md +47 -0
- package/craft/skills/source-video-studio/SKILL.md +68 -0
- package/craft/skills/speech-to-text/SKILL.md +47 -0
- package/craft/skills/sticker-maker/SKILL.md +178 -0
- package/craft/skills/svg-character-animation/SKILL.md +48 -0
- package/craft/skills/synthetic-screen-recording/SKILL.md +48 -0
- package/craft/skills/talking-head/SKILL.md +106 -0
- package/craft/skills/text-to-speech/SKILL.md +50 -0
- package/craft/skills/threejs-animation/SKILL.md +48 -0
- package/craft/skills/threejs-fundamentals/SKILL.md +48 -0
- package/craft/skills/threejs-geometry/SKILL.md +48 -0
- package/craft/skills/threejs-lighting/SKILL.md +48 -0
- package/craft/skills/threejs-materials/SKILL.md +48 -0
- package/craft/skills/threejs-shaders/SKILL.md +48 -0
- package/craft/skills/threejs-textures/SKILL.md +48 -0
- package/craft/skills/tiktok-video/SKILL.md +188 -0
- package/craft/skills/tiktok-video/references/audio-sync.md +58 -0
- package/craft/skills/tiktok-video/references/caption-direction.md +36 -0
- package/craft/skills/tiktok-video/references/delivery-qa.md +84 -0
- package/craft/skills/tiktok-video/references/platform-layout.md +62 -0
- package/craft/skills/video-edit/SKILL.md +144 -0
- package/craft/skills/video-edit/references/direct-reference-route.md +141 -0
- package/craft/skills/video-edit/references/editing-protocol.md +79 -0
- package/craft/skills/video-edit/references/frame-location.md +85 -0
- package/craft/skills/video-edit/references/replication-protocol.md +67 -0
- package/craft/skills/video-edit/references/shot-blueprint.md +116 -0
- package/craft/skills/video-edit/references/shot-blueprint.schema.json +143 -0
- package/craft/skills/video-edit/references/similarity-qa.md +47 -0
- package/craft/skills/video-edit/scripts/extract-shot-blueprint.mjs +313 -0
- package/craft/skills/video-ffmpeg-lab/SKILL.md +220 -0
- package/craft/skills/video-mature-themes/SKILL.md +175 -0
- package/craft/skills/video-segment-edit/SKILL.md +16 -0
- package/craft/skills/video-translate/SKILL.md +148 -0
- package/craft/skills/video-understand/SKILL.md +48 -0
- package/craft/skills/visual-style/SKILL.md +47 -0
- package/craft/skills/wan-3-0/SKILL.md +59 -0
- package/craft/skills/web-design-guidelines/SKILL.md +47 -0
- package/craft/skills/website-to-video/SKILL.md +61 -0
- package/craft-source.json +7 -0
- package/package.json +12 -5
- package/runtime/adapter.mjs +615 -0
- package/runtime/configure.mjs +28 -0
- package/runtime/tool-catalog.json +807 -0
- package/runtime/tool-cli.mjs +98 -0
- package/skills/makaron-native/SKILL.md +89 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Studio Production Contract
|
|
2
|
+
|
|
3
|
+
## Production Method Before Stages
|
|
4
|
+
|
|
5
|
+
First follow `skills/_shared/native-audiovisual.md`. A Skill recipe, a 25-second
|
|
6
|
+
duration, narration, music, subtitles, or multiple shots does not force Studio.
|
|
7
|
+
Use one complete native audiovisual generation within the selected model's
|
|
8
|
+
limit unless the user needs source-led assembly or explicitly editable/code
|
|
9
|
+
compositing. Native subtitles may be part of that same generation.
|
|
10
|
+
|
|
11
|
+
The contract below is for the composition route. Even here, generated scenes
|
|
12
|
+
retain their native sound; Studio must not turn them into silent plates plus
|
|
13
|
+
separate voice/music/lip-sync jobs. A request for editable subtitles changes
|
|
14
|
+
the text treatment, not the audio architecture.
|
|
15
|
+
|
|
16
|
+
This contract turns a Makaron video skill into a durable Studio Run. The user
|
|
17
|
+
chooses a recipe; the recipe chooses the production logic. The eight Studio Run
|
|
18
|
+
stages remain stable so progress, resume, approvals, invalidation, and delivery
|
|
19
|
+
work the same across video types.
|
|
20
|
+
|
|
21
|
+
## Required Order
|
|
22
|
+
|
|
23
|
+
1. Start `studio_run` before writing the creative packet. Set `recipe` to the
|
|
24
|
+
active skill's `metadata.makaron.studioRunRecipe` value. Keep
|
|
25
|
+
`include_stage_schemas` false for the normal path; later schemas are loaded
|
|
26
|
+
only when their stage begins.
|
|
27
|
+
2. Lock the delivery promise. Do not silently change duration, canvas, FPS,
|
|
28
|
+
runtime, editability, audio, or subtitle requirements later.
|
|
29
|
+
- When the user does not specify resolution and explicitly prioritizes
|
|
30
|
+
speed, lock `1280x720` for 16:9 or an equivalent 720-short-side canvas.
|
|
31
|
+
- Studio Run materialization automatically uses the locked source
|
|
32
|
+
resolution. Do not pass renderer profile controls or render a fast copy
|
|
33
|
+
first merely to repair a known resolution mismatch.
|
|
34
|
+
3. Read only the shared director modules needed by the recipe, once:
|
|
35
|
+
- `taste-direction.md` for every authored video.
|
|
36
|
+
- `reference-analysis.md` for reference-led work.
|
|
37
|
+
- `audio-direction.md` for narration, source speech, music, or dubbing.
|
|
38
|
+
- `review-contract.md` once before Composition review begins.
|
|
39
|
+
4. For `approval_policy=auto`, make one coherent creative decision containing
|
|
40
|
+
the brief, at least two concepts, the selected direction, and timed script.
|
|
41
|
+
Submit it once with `studio_run(operation: "put_creative_packet")`. The
|
|
42
|
+
harness projects it into separately validated Brief, Proposal, and Script
|
|
43
|
+
artifacts and emits each stage to CUI without another model continuation.
|
|
44
|
+
For generated scenes, generate the complete audiovisual clip now and
|
|
45
|
+
transcribe its actual speech before authoring Storyboard. Its shot plan is
|
|
46
|
+
already in the approved Script; do not demand a separate voice master or a
|
|
47
|
+
prior final Storyboard to generate it. For local/code animation, generate or
|
|
48
|
+
load the final soundtrack instead. Author Storyboard from real speech timing.
|
|
49
|
+
Guided/manual runs continue to use one
|
|
50
|
+
`put_artifact` at a time so their approval pauses remain explicit.
|
|
51
|
+
5. Build editable video with `run_code({ runtime: "composition" })`, save the
|
|
52
|
+
first complete draft, and pass the Composition draft gate before any publish
|
|
53
|
+
or MP4 export. The gate checks exact timeline duration, every scene boundary,
|
|
54
|
+
the final visible frame, resolved audio sources, and zero unresolved issue.
|
|
55
|
+
Fix all findings directly in the Remotion source, publish the exact gated
|
|
56
|
+
draft, and materialize it once. Successful materialization completes the run.
|
|
57
|
+
|
|
58
|
+
## Stage Meanings
|
|
59
|
+
|
|
60
|
+
- `brief`: outcome, audience, source/reference status, format, and constraints.
|
|
61
|
+
- `proposal`: at least two meaningfully different treatments, an honest tool
|
|
62
|
+
path, cost estimate, selected direction, and locked delivery promise.
|
|
63
|
+
- `script`: the timed content spine. For source-led work this can be transcript
|
|
64
|
+
selections, edit beats, or translated cues instead of new narration.
|
|
65
|
+
- `storyboard`: shot/scene plan, visual relationships, treatment, transition, safe areas,
|
|
66
|
+
asset links, and real narration timing evidence when subtitles are promised.
|
|
67
|
+
- `assets`: every source, generated asset, voice, music, font, and code module
|
|
68
|
+
that the composition actually uses. Embedded audio in a video asset satisfies
|
|
69
|
+
required audio with verified `hasAudio: true`; no separate audio/music asset
|
|
70
|
+
is needed. Missing assets or promised audio block composition.
|
|
71
|
+
- `composition`: the real editable Remotion design path plus draft-gate evidence
|
|
72
|
+
for full timeline coverage, every scene boundary, the ending, audio sources,
|
|
73
|
+
three or more preview frames, and per-section subtitle/narration/visual timing.
|
|
74
|
+
- `review`: a system-projected completion state after the Agent's Composition
|
|
75
|
+
preview-and-patch loop and successful materialization; no Agent JSON.
|
|
76
|
+
- `delivery`: a system-projected final MP4 and editable source record created by
|
|
77
|
+
successful materialization; no Agent JSON.
|
|
78
|
+
|
|
79
|
+
## Approval Policy
|
|
80
|
+
|
|
81
|
+
- Use `auto` only when the user explicitly preauthorizes the complete run.
|
|
82
|
+
- Otherwise use `guided`; stop when Studio Run reports an approval gate.
|
|
83
|
+
- A failed artifact write is a blocker. Never narrate progress that was not
|
|
84
|
+
persisted.
|
|
85
|
+
|
|
86
|
+
## Recipe Discipline
|
|
87
|
+
|
|
88
|
+
- Preserve the recipe's subject. Screen footage, podcast speech, or source
|
|
89
|
+
clips stay primary in source-led recipes.
|
|
90
|
+
- Use generated media only for a declared role: subject, evidence, transition,
|
|
91
|
+
or atmosphere.
|
|
92
|
+
- Reuse Makaron's tools and Remotion runtime. OpenMontage tool names are design
|
|
93
|
+
references, not callable Makaron tools.
|
|
94
|
+
- Quick trims, one-off image animation, and tiny utility edits do not need a
|
|
95
|
+
Studio Run.
|
|
96
|
+
|
|
97
|
+
## Efficient Execution
|
|
98
|
+
|
|
99
|
+
- Prefer existing timeline/workspace assets and local code before paid generation.
|
|
100
|
+
- Do not request all eight stage schemas at `studio_run start`. The typed
|
|
101
|
+
`creative_packet` input already covers Brief through Script. Load only the
|
|
102
|
+
current later-stage schema with `status` after a handoff, or `schema` when the
|
|
103
|
+
artifact shape is not already present in context.
|
|
104
|
+
- Before the first composition `run_code`, read
|
|
105
|
+
`prompts/remotion-composition.md` and follow its original director contract at
|
|
106
|
+
`skills/_shared/remotion-director-contract.md`. Studio Run does not replace or
|
|
107
|
+
abbreviate the composition and director guidance.
|
|
108
|
+
- For complete theme-driven work, read `skills/_shared/visual-direction/SKILL.md`
|
|
109
|
+
and `skills/_shared/studio-production/taste-direction.md` before Storyboard.
|
|
110
|
+
The Visual Invention Pass is included in every dedicated Studio Composition
|
|
111
|
+
attempt as well. Store the dominant technical carrier and shot-scale decision
|
|
112
|
+
in each substantial scene's optional `visualPlan`; this metadata does not
|
|
113
|
+
limit supporting layers, visual density, or scene invention. Old runs without
|
|
114
|
+
this field remain valid.
|
|
115
|
+
- If a scene selects `cutout` or `edge-video`, read
|
|
116
|
+
`skills/_shared/visual-asset-bridge/SKILL.md`, call `prepare_visual_asset`
|
|
117
|
+
during Assets, and store the returned record in that asset's optional
|
|
118
|
+
`prepared` field. Set `visualPlan.primaryAssetId`, the manifest asset ID, and
|
|
119
|
+
the Bridge `asset_id` to the same value; set the manifest path to
|
|
120
|
+
`preparedUrl`. Studio Run rejects ad hoc keying for these carriers. Do not add
|
|
121
|
+
another Studio stage or a fixed renderer.
|
|
122
|
+
- Build one complete composition and save its exact `design_path` before visual
|
|
123
|
+
review. Derive all scene-boundary timestamps from the storyboard/root
|
|
124
|
+
timeline, then batch those boundaries, a hook/body frame, and the final
|
|
125
|
+
visible frame into the minimum number of 2-6 frame `preview_frame` calls.
|
|
126
|
+
- Do not publish or materialize until exact frame-count math, every boundary,
|
|
127
|
+
the ending, required audio URLs, visual-plan fidelity, absence of underfilled
|
|
128
|
+
scenes, and subtitle/narration/visual alignment pass the Composition draft
|
|
129
|
+
gate.
|
|
130
|
+
- When subtitles are promised, author them as part of the Composition's own
|
|
131
|
+
scene design. The narration cue sheet standardizes measured timing only; the
|
|
132
|
+
harness does not inject caption JSX, impose a visual style, or select a
|
|
133
|
+
renderer.
|
|
134
|
+
- Resolve continuous narration timing before final Storyboard. Generate or load
|
|
135
|
+
the accepted audiovisual video after Script (or the soundtrack for local/code
|
|
136
|
+
animation), call `transcribe_audio`
|
|
137
|
+
with every narrated Script section plus the locked FPS, and persist the
|
|
138
|
+
returned narration cue sheet. Set Storyboard scene boundaries from those
|
|
139
|
+
measured seconds and frames so every narrated section fits its linked visual
|
|
140
|
+
beat. Do not keep convenient equal-length scenes when the real speech has
|
|
141
|
+
already drifted.
|
|
142
|
+
Persist one `narrationTimingEvidence` record per narrated Script section;
|
|
143
|
+
Studio Run blocks Storyboard before Assets when these ranges do not fit.
|
|
144
|
+
- Before the Composition gate passes, inspect representative speaking frames
|
|
145
|
+
and confirm a three-way match: the authored subtitle or kinetic phrase, the
|
|
146
|
+
visual action/information on screen, and the narration actually sounding at
|
|
147
|
+
that time. Do not infer speech timing from planned Script section boundaries.
|
|
148
|
+
Continuous speech, including a video's embedded voice, needs real timing
|
|
149
|
+
evidence from `transcribe_audio`;
|
|
150
|
+
independently placed scene clips may use their explicit Remotion start times.
|
|
151
|
+
Persist one `subtitleSyncEvidence` record per narrated Script section. The
|
|
152
|
+
record must include the `subtitleText` intended for its representative frame.
|
|
153
|
+
That text may preserve the spoken line or use a
|
|
154
|
+
concise phrase already authored in that same Script section's
|
|
155
|
+
`onScreenText`; it does not have to duplicate narration word for word. It
|
|
156
|
+
cannot introduce unrelated copy from another beat. The harness cross-checks
|
|
157
|
+
its linked Storyboard range and representative overlap. It does not require a
|
|
158
|
+
duplicate copy in props or editables: the Composition gate checks the actual
|
|
159
|
+
displayed text and picture alignment in representative preview frames.
|
|
160
|
+
Retiming and visual treatment remain the Agent's job.
|
|
161
|
+
- Lock `width` and `height` from the approved delivery promise before the first
|
|
162
|
+
`run_code` call. The harness rejects a mismatched Studio Composition before
|
|
163
|
+
autosave, preview, or publication; do not prototype in another orientation.
|
|
164
|
+
- Review is the Agent's preview-and-patch loop on the Remotion source. Resolve
|
|
165
|
+
all blocking issues directly in that code before export; do not author Review
|
|
166
|
+
JSON.
|
|
167
|
+
- After one clean gate, call `publish_draft` with that exact `design_path` once,
|
|
168
|
+
then materialize it once when MP4 Delivery is requested. Do not export a
|
|
169
|
+
timeline `source` that may point to an older
|
|
170
|
+
snapshot. Studio Run materialization queues the locked source-resolution MP4
|
|
171
|
+
and returns immediately; the durable worker automatically completes Review
|
|
172
|
+
and Delivery when the real MP4 is ready. Do not author Delivery JSON or
|
|
173
|
+
perform more tool calls after successful queue submission.
|
|
174
|
+
- Probe source media once. Reuse that result throughout Composition review.
|
|
175
|
+
- Do not compute SHA unless the user explicitly requests an integrity checksum.
|
|
176
|
+
|
|
177
|
+
## Test Timing
|
|
178
|
+
|
|
179
|
+
For every Studio Run used as a sample or acceptance test, retain its Agent run
|
|
180
|
+
ID and report elapsed milestones from the event log. Create a fresh project and
|
|
181
|
+
fresh Studio Run for every test round; source URLs may be reused as controlled
|
|
182
|
+
inputs, but do not refine an older test project. Record Agent queue-submission
|
|
183
|
+
completion, MP4-ready time, and Delivery completion. Agent completion should
|
|
184
|
+
precede MP4 readiness; MP4 readiness and Delivery completion should remain
|
|
185
|
+
identical. Include planning, asset/audio
|
|
186
|
+
generation, first composition, visual review/revision, export, total wall time,
|
|
187
|
+
and counts for revisions, previews, and exports. Do not report an aesthetic
|
|
188
|
+
comparison without its production-time comparison.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Reference Video Director
|
|
2
|
+
|
|
3
|
+
Use this when a supplied video or URL is inspiration rather than raw footage to
|
|
4
|
+
edit. Analyze what makes it work, then create a new piece; do not copy its
|
|
5
|
+
surface styling or claims.
|
|
6
|
+
|
|
7
|
+
## Analysis Contract
|
|
8
|
+
|
|
9
|
+
1. Inspect the source with `analyze_video`. Transcribe speech when it affects
|
|
10
|
+
structure or timing.
|
|
11
|
+
2. Record five dimensions in the brief or proposal:
|
|
12
|
+
- content promise and audience;
|
|
13
|
+
- hook and narrative structure;
|
|
14
|
+
- pacing, shot duration, and transition rhythm;
|
|
15
|
+
- visual system, typography, framing, and asset types;
|
|
16
|
+
- audio architecture: voice, music, silence, and effects.
|
|
17
|
+
3. Separate `keep` from `change`. Keep transferable principles such as pacing
|
|
18
|
+
or reveal order. Change topic-specific imagery, words, branding, and the
|
|
19
|
+
piece's visual identity.
|
|
20
|
+
4. Produce at least two concepts with different creative mechanisms, not two
|
|
21
|
+
palettes applied to the same layout.
|
|
22
|
+
5. If matching the reference would require unavailable tools, state the gap in
|
|
23
|
+
the proposal and choose an honest alternative before asset generation.
|
|
24
|
+
|
|
25
|
+
## Sample-First Rule
|
|
26
|
+
|
|
27
|
+
For expensive or identity-sensitive work, the proposal should recommend a
|
|
28
|
+
10-15 second sample containing the hook and one representative middle beat.
|
|
29
|
+
The sample is evidence about style, pacing, and tool fit, not a miniature final
|
|
30
|
+
video with every idea compressed into it.
|
|
31
|
+
|
|
32
|
+
## Failure Conditions
|
|
33
|
+
|
|
34
|
+
- generic praise without timestamps or observable evidence;
|
|
35
|
+
- copying the reference's wording, logos, characters, or exact scene design;
|
|
36
|
+
- promising live-action motion while planning only still-image parallax;
|
|
37
|
+
- describing a tool or provider that Makaron cannot actually call.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Studio Composition Review Contract
|
|
2
|
+
|
|
3
|
+
Review is not a separate document-writing stage. Review the actual Remotion
|
|
4
|
+
source, fix every blocking issue in that source, and materialize only when the
|
|
5
|
+
Composition is ready to ship.
|
|
6
|
+
|
|
7
|
+
## Stage Checks
|
|
8
|
+
|
|
9
|
+
- A draft carrying `__makaronScaffold: true` is only a durable structural
|
|
10
|
+
checkpoint. It must never pass Composition or be materialized.
|
|
11
|
+
- Brief: concrete audience, outcome, and source/reference classification.
|
|
12
|
+
- Proposal: concepts differ in structure and visual mechanism; the selected
|
|
13
|
+
path is feasible with current Makaron tools and budget.
|
|
14
|
+
- Script: timing covers the promise; hooks, claims, selections, or translated
|
|
15
|
+
cues are coherent and speakable.
|
|
16
|
+
- Storyboard: intentional visual relationships, visible variety, feasible
|
|
17
|
+
assets, and clear subtitle/UI safe areas.
|
|
18
|
+
- Assets: every referenced file is ready, attributable, and linked to scenes.
|
|
19
|
+
|
|
20
|
+
## Composition Review Loop
|
|
21
|
+
|
|
22
|
+
Run this loop on the first complete autosaved Remotion draft, before publishing
|
|
23
|
+
or materializing an MP4.
|
|
24
|
+
|
|
25
|
+
1. Compute `expectedDurationFrames = round(durationSeconds * fps)` and confirm
|
|
26
|
+
the scene timeline covers exactly that duration. Overlap must not shorten the
|
|
27
|
+
ending or leave uncovered tail frames.
|
|
28
|
+
2. Inspect every scene boundary at its exact transition time. Batch timestamps
|
|
29
|
+
into 2-6 frame contact sheets; include stable hook/body frames and the final
|
|
30
|
+
visible frame. A generic hook/body/end sample is insufficient for a
|
|
31
|
+
multi-scene video with transitions.
|
|
32
|
+
3. Check for black/blank frames, transition gaps, accidental double exposure,
|
|
33
|
+
missing media, unreadable text, subtitle collisions, source crop, and
|
|
34
|
+
ending-frame loss. Compare each sampled frame to its Storyboard intent. When
|
|
35
|
+
a frame feels generic, accidental, or unresolved, use the Visual Invention
|
|
36
|
+
Pass to consider a more authored crop, environment, relationship,
|
|
37
|
+
transformation, or scene handoff, then patch the actual source when that
|
|
38
|
+
improves the piece. This is not a fixed density or object-structure gate.
|
|
39
|
+
4. For each narrated Script section, inspect the representative speaking frame
|
|
40
|
+
recorded in `subtitleSyncEvidence`. The displayed phrase must describe the
|
|
41
|
+
same beat as both the current picture and the narration actually sounding
|
|
42
|
+
then. Planned Script ranges alone are not timing evidence for a continuous
|
|
43
|
+
voiceover master. Use the persisted narration cue sheet, retime mismatches,
|
|
44
|
+
and keep evidence linked to the persisted Storyboard scene. Do not
|
|
45
|
+
standardize wording, placement,
|
|
46
|
+
typography, JSX, or animation merely to pass this check.
|
|
47
|
+
5. Confirm required audio props are resolved public URLs, not undefined values
|
|
48
|
+
or `explicit file references. Check unexpected silence, intelligible speech,
|
|
49
|
+
music balance, and sync from the Composition preview.
|
|
50
|
+
6. Confirm the story names its subject, completes setup-transformation-payoff,
|
|
51
|
+
and holds long enough on an intentional ending.
|
|
52
|
+
7. Patch the Remotion source and rerun only affected checks until no blocking
|
|
53
|
+
issue remains. Persist the final Composition artifact with its real design
|
|
54
|
+
path and review evidence.
|
|
55
|
+
|
|
56
|
+
## Materialization Boundary
|
|
57
|
+
|
|
58
|
+
- Publish the exact reviewed `design_path` once with `publish_draft`.
|
|
59
|
+
- Call `materialize_media` once. It queues the real MP4 at the locked source
|
|
60
|
+
resolution and returns immediately.
|
|
61
|
+
- The durable worker automatically completes the Review and Delivery UI stages
|
|
62
|
+
when the MP4 is ready, and records the MP4 plus editable source paths.
|
|
63
|
+
- Do not author Review or Delivery JSON, and do not start another review,
|
|
64
|
+
preview, publish, or render loop after queue submission succeeds.
|
|
65
|
+
- If export fails, keep the editable Composition and report the export failure.
|
|
66
|
+
If the source itself needs revision, patch Composition before retrying.
|
|
67
|
+
|
|
68
|
+
## Delivery Risk Checks
|
|
69
|
+
|
|
70
|
+
- Reference drift: promised pacing or structure disappeared without an explicit
|
|
71
|
+
decision.
|
|
72
|
+
- Source betrayal: generated filler displaced footage or voice the user asked
|
|
73
|
+
to preserve.
|
|
74
|
+
- Semantic completeness: the visual metaphor supports rather than replaces the
|
|
75
|
+
subject name, core claim, payoff, and final line.
|
|
76
|
+
- Audio intent: unless silence was explicitly requested, narration, music, or
|
|
77
|
+
sound design supports the narrative and final resolution.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Visual Invention Pass
|
|
2
|
+
|
|
3
|
+
Use this pass for every authored Studio Run video before Storyboard and again
|
|
4
|
+
while shaping and reviewing the Composition. It is a private director's
|
|
5
|
+
self-dialogue, not a style recipe, scorecard, component library, or approval
|
|
6
|
+
gate. Do not turn the questions into visible narration or metadata unless the
|
|
7
|
+
answer is genuinely useful to the production.
|
|
8
|
+
|
|
9
|
+
The purpose is to escape the first generic solution without prescribing the
|
|
10
|
+
second one. Discover the visual idea from this subject, this story, and this
|
|
11
|
+
moment.
|
|
12
|
+
|
|
13
|
+
## Name The Creative Opportunity
|
|
14
|
+
|
|
15
|
+
Before choosing a treatment, answer three short questions in your own words:
|
|
16
|
+
|
|
17
|
+
- What is this piece really about beyond its topic or product category?
|
|
18
|
+
- What should the audience understand or feel differently by the end?
|
|
19
|
+
- What concrete quality, behavior, tension, or detail in the subject gives this
|
|
20
|
+
particular video visual leverage?
|
|
21
|
+
|
|
22
|
+
If the answers could be pasted into an unrelated video unchanged, look at the
|
|
23
|
+
subject and references again. Specific observation should come before visual
|
|
24
|
+
invention.
|
|
25
|
+
|
|
26
|
+
## Five Questions For A Decisive Visual Beat
|
|
27
|
+
|
|
28
|
+
Use these questions on the moments that carry the film. They are prompts for
|
|
29
|
+
judgment, not boxes that every quiet supporting shot must fill.
|
|
30
|
+
|
|
31
|
+
### Q1: Why This Idea For This Subject?
|
|
32
|
+
|
|
33
|
+
Can you explain the choice as a direct consequence of something specific in the
|
|
34
|
+
subject, source material, user intent, or story beat? Replace the subject with a
|
|
35
|
+
different brand, person, or topic in your mind. If the same idea still works
|
|
36
|
+
unchanged, it is probably a default treatment rather than a discovered one.
|
|
37
|
+
|
|
38
|
+
### Q2: What Changes Because Of What?
|
|
39
|
+
|
|
40
|
+
Describe the visible event with plain verbs. What acts, what responds, and what
|
|
41
|
+
is different afterward? If the scene is only independent layers appearing near
|
|
42
|
+
one another, ask whether a clearer cause, reaction, tension, or exchange would
|
|
43
|
+
make the idea more authored. Relationship is not visual proximity; it is
|
|
44
|
+
consequence.
|
|
45
|
+
|
|
46
|
+
### Q3: Where Is The Second Thought?
|
|
47
|
+
|
|
48
|
+
What would the obvious first solution be, and what did you notice that allows a
|
|
49
|
+
more revealing interpretation? The turn should deepen the subject, clarify the
|
|
50
|
+
story, or create an earned emotional surprise. Arbitrary novelty, decorative
|
|
51
|
+
motion, and a familiar effect with different colors are still first thoughts.
|
|
52
|
+
|
|
53
|
+
### Q4: Will The Viewer Read It Without An Explanation?
|
|
54
|
+
|
|
55
|
+
At the representative frame or decisive motion, can the viewer quickly locate
|
|
56
|
+
the event and understand its emotional direction? Temporarily ignore the
|
|
57
|
+
explanatory copy. If the idea disappears without text, decide whether the image
|
|
58
|
+
needs a stronger visual statement or whether the text is legitimately the
|
|
59
|
+
subject of the moment.
|
|
60
|
+
|
|
61
|
+
### Q5: Can This Medium Make The Idea Convincing?
|
|
62
|
+
|
|
63
|
+
Given the available assets, time, and rendering tools, can the intended result
|
|
64
|
+
be executed with enough control to feel deliberate? Do not reduce an ambitious
|
|
65
|
+
idea to a crude placeholder merely to keep its label. Find another expression
|
|
66
|
+
of the same insight that the medium can perform beautifully.
|
|
67
|
+
|
|
68
|
+
When an answer is vague, reconsider the idea rather than adding more elements.
|
|
69
|
+
A strong answer may lead to abundance, restraint, stillness, speed, realism,
|
|
70
|
+
abstraction, or something else entirely.
|
|
71
|
+
|
|
72
|
+
## Compare Before Committing
|
|
73
|
+
|
|
74
|
+
For an important beat, briefly imagine three responses:
|
|
75
|
+
|
|
76
|
+
1. The literal response: the first clear way to say it.
|
|
77
|
+
2. The specific response: a version that could only belong to this subject.
|
|
78
|
+
3. The daring response: a version that pushes the same insight further without
|
|
79
|
+
losing meaning or craft.
|
|
80
|
+
|
|
81
|
+
Do not automatically choose the third. Use the five questions to find the idea
|
|
82
|
+
with the strongest combination of specificity, consequence, surprise,
|
|
83
|
+
legibility, and execution quality.
|
|
84
|
+
|
|
85
|
+
## Three Questions For The Whole Film
|
|
86
|
+
|
|
87
|
+
After the scenes exist, step back from individual frames:
|
|
88
|
+
|
|
89
|
+
### Q1: Does The Visual Thinking Develop?
|
|
90
|
+
|
|
91
|
+
Does the film accumulate meaning, or does every scene reset to the same
|
|
92
|
+
arrangement and entrance animation? Repetition is valuable when its meaning,
|
|
93
|
+
scale, context, or consequence develops with the story.
|
|
94
|
+
|
|
95
|
+
### Q2: Are The Strongest Ideas At The Right Moments?
|
|
96
|
+
|
|
97
|
+
Visual intensity should follow narrative importance. Check whether a supporting
|
|
98
|
+
sentence received the most elaborate moment while the central promise, reveal,
|
|
99
|
+
proof, or ending remained generic.
|
|
100
|
+
|
|
101
|
+
### Q3: Can You Sense The Story With The Copy Muted?
|
|
102
|
+
|
|
103
|
+
Imagine watching representative frames and motion with explanatory text hidden.
|
|
104
|
+
The complete message need not survive, but the direction of attention, emotion,
|
|
105
|
+
and change should still be perceptible. Then restore the copy and confirm that
|
|
106
|
+
word, image, motion, and sound strengthen one another instead of competing.
|
|
107
|
+
|
|
108
|
+
## Review The Weakest Moment
|
|
109
|
+
|
|
110
|
+
During Composition review, identify the moment that feels most interchangeable
|
|
111
|
+
with another video. Ask which of the five answers became vague. Improve the
|
|
112
|
+
underlying observation or relationship before adding polish. Preserve narrative
|
|
113
|
+
clarity, audio timing, user references, and already successful moments; invention
|
|
114
|
+
is valuable when it makes the work feel more inevitable, not merely more busy.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Visual Asset Bridge
|
|
2
|
+
|
|
3
|
+
Read this only after Visual Director chooses `cutout` or `edge-video` for a
|
|
4
|
+
scene. The bridge standardizes media quality and metadata; it never chooses the
|
|
5
|
+
composition, typography, animation, subtitle style, or final renderer.
|
|
6
|
+
|
|
7
|
+
## Supported First-Phase Modes
|
|
8
|
+
|
|
9
|
+
- `cutout`: transparent PNG images prepared from generated or supplied images.
|
|
10
|
+
- `edge-video`: ordinary opaque videos whose quiet border colors are designed
|
|
11
|
+
to blend into a matching Remotion background.
|
|
12
|
+
|
|
13
|
+
Transparent video is intentionally unsupported.
|
|
14
|
+
|
|
15
|
+
## Tool Contract
|
|
16
|
+
|
|
17
|
+
Call `prepare_visual_asset` with the literal files supplied in the conversation or public source URL.
|
|
18
|
+
The tool preserves the source, writes a cached prepared asset, performs quality
|
|
19
|
+
checks, and returns a `PreparedVisualAsset` record.
|
|
20
|
+
|
|
21
|
+
Every record includes a workspace copy of the source, the prepared media, and
|
|
22
|
+
the QA contact sheet. Later edits should resolve the record by `assetId`,
|
|
23
|
+
`sourceSnapshotId`, and `cacheKey`; files supplied in the conversation is only the turn-time selector.
|
|
24
|
+
The bridge also writes the latest record to
|
|
25
|
+
`<project-id>/visual-assets/by-id/<assetId>.json`. After a stream recovery or a
|
|
26
|
+
new Agent attempt, call `prepare_visual_asset` with `mode` and `asset_id` but no
|
|
27
|
+
media source before generating anything again. A cache hit returns the prepared
|
|
28
|
+
asset and QA sheet without repeating generation or keying.
|
|
29
|
+
|
|
30
|
+
For `cutout`, prefer a source already generated or edited with native alpha.
|
|
31
|
+
The bridge detects real transparency, preserves the provider-authored matte and
|
|
32
|
+
edge colors without re-keying, crops to a transparent safety margin, computes
|
|
33
|
+
the subject box/safe area, and renders the same five-background QA sheet.
|
|
34
|
+
Provide `key_color` only for the fallback chroma path when auto-detection would
|
|
35
|
+
be ambiguous. Chroma preparation removes border-connected key regions and
|
|
36
|
+
despills edges; an isolated same-color detail inside the subject is preserved.
|
|
37
|
+
|
|
38
|
+
For `edge-video`, provide the intended `target_background`. Generate the clip
|
|
39
|
+
with low-detail, low-motion edges in that color family and keep the subject away
|
|
40
|
+
from the boundary. The tool samples the clip over time, measures edge color,
|
|
41
|
+
detail, and temporal drift, and returns an integration recommendation. It does
|
|
42
|
+
not fake transparency or force a shared video-window component.
|
|
43
|
+
|
|
44
|
+
## Composition Handoff
|
|
45
|
+
|
|
46
|
+
- Set the Storyboard `visualPlan.primaryAssetId`, Bridge `asset_id`, and Assets
|
|
47
|
+
manifest ID to the same semantic value. Store the full returned record in
|
|
48
|
+
`prepared` and set the manifest path to `preparedUrl`; Studio Run rejects
|
|
49
|
+
ad hoc cutouts and edge-video proxies.
|
|
50
|
+
- Use `preparedUrl` as the media source.
|
|
51
|
+
- Use `subjectBox` and `safeArea` as placement evidence, not fixed layout.
|
|
52
|
+
- For edge video, build the Remotion background from `targetBackground` and
|
|
53
|
+
`edgePalette`; use the returned feather recommendation only when it improves
|
|
54
|
+
the chosen composition.
|
|
55
|
+
- If quality is `revise` or `fail`, inspect the contact sheet and regenerate or
|
|
56
|
+
reprepare the source. Do not hide a bad edge with a tiny asset.
|
|
57
|
+
- Reuse the same `cacheKey` output for later Composition changes.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Visual Director
|
|
2
|
+
|
|
3
|
+
Use this shared layer for any complete, theme-driven video whose visual result
|
|
4
|
+
matters. It is independent from explainer, cinematic, product-demo, character,
|
|
5
|
+
and other format skills.
|
|
6
|
+
|
|
7
|
+
Its job is to decide what the viewer should see. It does not generate assets,
|
|
8
|
+
prepare files, prescribe subtitle styling, provide JSX components, or replace
|
|
9
|
+
the Remotion Director contract.
|
|
10
|
+
|
|
11
|
+
## Theme Before Style
|
|
12
|
+
|
|
13
|
+
Translate the subject into a visual idea before choosing colors or effects.
|
|
14
|
+
|
|
15
|
+
- Identify what is distinctive about this subject, not merely its category.
|
|
16
|
+
- Choose a visual metaphor, material world, camera attitude, and recurring
|
|
17
|
+
motif that make this specific theme legible without narration.
|
|
18
|
+
- Reject a direction that could be reused unchanged for an unrelated topic.
|
|
19
|
+
- Treat brand references as source material, not as a palette-only skin.
|
|
20
|
+
|
|
21
|
+
## Per-Scene Visual Plan
|
|
22
|
+
|
|
23
|
+
Before paid generation or Composition code, give every substantial scene one
|
|
24
|
+
`visualPlan`:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"carrier": "native | plate | cutout | edge-video",
|
|
29
|
+
"subject": "the subject, ensemble, or relationship carrying attention",
|
|
30
|
+
"shotScale": "extreme-close | close | medium | wide",
|
|
31
|
+
"compositionIntent": "how the frame directs attention",
|
|
32
|
+
"backgroundIntent": "environment, depth, material, and contrast",
|
|
33
|
+
"motionIntent": "what changes and why",
|
|
34
|
+
"integrationIntent": "how generated media belongs in the frame"
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Carrier meanings:
|
|
39
|
+
|
|
40
|
+
- `native`: real UI, diagrams, typography, data, paths, or procedural graphics
|
|
41
|
+
are the visual evidence. Remotion carries the scene.
|
|
42
|
+
- `plate`: a full-frame image or video carries the world; Remotion directs
|
|
43
|
+
camera movement, labels, timing, and transitions.
|
|
44
|
+
- `cutout`: a transparent character, product, object, or effect is staged as a
|
|
45
|
+
foreground or midground subject inside a Remotion-built world.
|
|
46
|
+
- `edge-video`: an opaque generated clip has quiet, stable edges designed to
|
|
47
|
+
match the surrounding background, so it can blend without looking pasted in.
|
|
48
|
+
|
|
49
|
+
Record one dominant carrier for asset routing. Supporting media and native
|
|
50
|
+
layers may coexist freely when their relationship makes the scene stronger; the
|
|
51
|
+
carrier field is not a composition limit.
|
|
52
|
+
|
|
53
|
+
## Frame Direction
|
|
54
|
+
|
|
55
|
+
- Choose shot scale deliberately. Hooks and emotional turns often need a close
|
|
56
|
+
or extreme-close subject; establishing or system scenes may need a wide shot.
|
|
57
|
+
- Use foreground, subject plane, and background to create depth. Flat centered
|
|
58
|
+
objects on empty backgrounds are not a finished visual direction.
|
|
59
|
+
- Let the hero subject occupy enough of the frame to carry the scene. Do not
|
|
60
|
+
shrink it to make room for decorative UI.
|
|
61
|
+
- Let production detail reinforce scale, place, causality, rhythm, and character:
|
|
62
|
+
traces, shadows, particles, environmental responses, readouts, and secondary
|
|
63
|
+
actions can make the world feel specific.
|
|
64
|
+
- Solve density over time. Reveal and replace supporting information instead of
|
|
65
|
+
packing a dashboard into one frame.
|
|
66
|
+
- Shape contrast across the sequence so transformations and quiet moments make
|
|
67
|
+
each other more effective.
|
|
68
|
+
|
|
69
|
+
## Asset Decision Conversation
|
|
70
|
+
|
|
71
|
+
Before generating an asset, state:
|
|
72
|
+
|
|
73
|
+
1. what visual job it performs;
|
|
74
|
+
2. why native Remotion or existing media cannot perform that job better;
|
|
75
|
+
3. which scene uses it and at what shot scale;
|
|
76
|
+
4. whether it should be a `plate`, `cutout`, or `edge-video`;
|
|
77
|
+
5. how its edges, lighting, palette, and motion will join the composition.
|
|
78
|
+
|
|
79
|
+
Use these questions to improve the decision, not to reject imaginative options.
|
|
80
|
+
There is no required asset count.
|
|
81
|
+
|
|
82
|
+
## Completion Reflection
|
|
83
|
+
|
|
84
|
+
At representative frames, consider:
|
|
85
|
+
|
|
86
|
+
- the theme is visible in the image, not only stated in text;
|
|
87
|
+
- the focal subject and shot scale match the scene's purpose;
|
|
88
|
+
- the frame uses foreground, subject plane, and background intentionally;
|
|
89
|
+
- generated media is integrated rather than displayed as a rectangular insert;
|
|
90
|
+
- the sequence varies scale and energy while preserving one visual world;
|
|
91
|
+
- removing the brand name would not make the video indistinguishable from a
|
|
92
|
+
generic template.
|
|
93
|
+
|
|
94
|
+
Compare the rendered frame to each scene's intent, not merely to general
|
|
95
|
+
readability. If a frame feels accidental, generic, or visually unresolved,
|
|
96
|
+
consider scale, crop, depth, environment, relationships, or supporting action,
|
|
97
|
+
then preview the improved source. This is creative judgment, not a numeric score
|
|
98
|
+
or universal density gate.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Same-Speaker Translation Contract
|
|
2
|
+
|
|
3
|
+
Use this contract with `skills/video-translate/SKILL.md` whenever existing
|
|
4
|
+
speech moves to another language while the speaker should remain recognizable.
|
|
5
|
+
|
|
6
|
+
## Translate the accepted content
|
|
7
|
+
|
|
8
|
+
Transcribe the source once, make editorial cuts first, and translate only the
|
|
9
|
+
retained argument. Preserve names, numbers, claims, technical terms, calls to
|
|
10
|
+
action, and meaning. Localize syntax and cadence rather than translating word
|
|
11
|
+
by word.
|
|
12
|
+
|
|
13
|
+
Choose from the visible carrier, not from a generic “lip sync” toggle:
|
|
14
|
+
|
|
15
|
+
- Off-screen VO or non-talking-head footage uses Seed Audio
|
|
16
|
+
`kind: "translation"`. Send only the accepted audio derivative, never video
|
|
17
|
+
bytes. Use one source voice and a target language; add `translated_script`
|
|
18
|
+
when protected wording must be exact.
|
|
19
|
+
- A visible talking head is edited first by Talking Head, then translated
|
|
20
|
+
directly by SeeDance 2.0 from a silent accepted A-roll, one original-speaker
|
|
21
|
+
voice reference, and quoted target-language dialogue in the animation
|
|
22
|
+
Prompt. Seed Audio must not be used in that route.
|
|
23
|
+
|
|
24
|
+
## Continue the composite request
|
|
25
|
+
|
|
26
|
+
When one prompt asks to edit, translate, and publish a visible talking head, the
|
|
27
|
+
Skill chain is `talking-head` → `video-translate` → `tiktok-video` for a
|
|
28
|
+
TikTok/Douyin deliverable. Each Skill owns one decision layer, but reading the
|
|
29
|
+
next Skill continues the same user request. Do not stop at a handoff, ask the
|
|
30
|
+
user to restate the task, or present a clean A-roll, provider result, or one
|
|
31
|
+
translated chunk as the finished video.
|
|
32
|
+
|
|
33
|
+
Advance only through three accepted artifacts: a materialized clean A-roll;
|
|
34
|
+
all target-language chunks verified from their actual ASR and assembled in
|
|
35
|
+
order; then the captioned, visually supported, exported video. Retry only a
|
|
36
|
+
failed translated chunk. Platform captions and B-roll belong after translated
|
|
37
|
+
speech acceptance, so they follow the target-language clock rather than the
|
|
38
|
+
source clock.
|
|
39
|
+
|
|
40
|
+
Never promise sample-identical voice. Verify the actual output and preserve the
|
|
41
|
+
source speaker's age, timbre, emotion, emphasis, pauses, pacing, energy, and
|
|
42
|
+
microphone character as closely as the chosen model allows.
|
|
43
|
+
|
|
44
|
+
## Rebuild the speech clock
|
|
45
|
+
|
|
46
|
+
Call `transcribe_audio` on the accepted translated audio or translated video.
|
|
47
|
+
Compare meaning, protected terms, names, numbers, omissions, additions, and
|
|
48
|
+
source-language leakage. The translated ASR words, not source timestamps or
|
|
49
|
+
written estimates, become the only caption and composition clock.
|
|
50
|
+
|
|
51
|
+
Mute the old speech. Captions must follow the translated ASR words and the
|
|
52
|
+
shared Spoken Caption contract. Add B-roll only after translation, using the
|
|
53
|
+
translated semantic beat and measured timing. If duration changes, adjust the
|
|
54
|
+
translation or edit deliberately; never stretch generated speech or patch a
|
|
55
|
+
second caption schedule by hand.
|