Skill: Explainer Video Production (talkcraft-ops)
Applicable Role: Explainer Director (
explainer-director) · Version v1.0 · 2026-09-26 · T-2026-0926-0008One-Liner: A voiceover script + a voiceover track → a word-aligned, motion-graphic explainer video with synchronized animation. Every motion beat is anchored to a specific word. The visuals are assembled from 108 motion formula cards (engine assets) and the repository's controlled templates. Delivery follows six machine gates and an independent human review.
1. When to Use This Pipeline
Use (for explainer videos):
- Explanations / science communication / tutorials / listicles / product feature introductions
- You have (or will have) a finalized script and require word-by-word synchronization of subtitles with voiceover
- You want a final video that is "motion graphics + on-screen talent" rather than AI-generated live-action footage shot-by-shot
Do NOT use (switch pipelines):
- For sales, conversion, or ad creatives → Use the marketing video pipeline (
marketing-film, starting with the 5-station product intelligence process) - For storytelling / emotional / image / atmospheric montage pieces → Use the narrative film pipeline (
narrative-film)
2. Prerequisites (Do Not Start if Any Are Missing)
| Prerequisite | Verification Command | Description |
|---|---|---|
| Engine Installed | pnpm talkcraft:check | Engine located at vendor/talkcraft/ (not committed to repo; pulled during install); 108 cards |
| Runtime Smoke Test Passed | Same (runtimeReady=true) | runtime/node_modules + shared headless browser + smoke render of 1 frame |
| License Scope Clear | video.explainer.engine | Use noncommercial for evaluation/internal testing; for commercial delivery, must have TALKCRAFT_LICENSE_SCOPE=authorized and LICENSE-GRANT.md present |
| Voiceover Available | Voiceover station /health | TTS: local cloned voice (e.g., chen-zhuo-film); Human recording: must first pass preview confirmation |
3. Standard Workflow (Each Step Produces Machine-Verifiable Artifacts)
- Script Intake: Write into
script.json(array of sentences). All numbers must be written as Chinese characters ("百分之四十", not "40%") — word-level alignment works on text offsets; Arabic numerals don't match pronunciation, causing whole sentences to drift. - Voiceover: TTS or human recording. For human recordings,
voice_trimfirst produces a--dry-runreport; only after human confirmation is it committed to disk. - Word-Level Timestamps:
timestamps.json(per sentence + per word) +timing.json(source for templatetSay/msSaytiming). Sentencess with amatch < 0.90must be added to a manual listening checklist; do not pass silently. - Semantic Annotation: Using a closed 26-word vocabulary (hook/argument/example/data/comparison/list/definition/step/transition/rhetorical question/killer quote/title/quote/self-introduction/introducing others/call to action/time & place/spatial narrative/mechanism/choice/process demonstration/chapter/transition/emphasis/atmosphere/conclusion). This is the first filter for card selection.
- SHOTBOOK Storyboard: G0 style profile + layout/rhythm table + per-shot layer matrix. The LLM only produces data; deterministic validation covers 32 items (text word coverage, cards on whitelist, content patches executable, same card not used consecutively for 3 shots, layout/rhythm table coverage, sfx placement, …).
- Project Assembly: Template + selected card originals (
src/cards/<slug>.tsx) + per-shot derivatives (src/scenes/<shotId>.tsx) +props.json/beats.json/anchors.json/cues.json+node_modules → runtime/node_modules. - Asset Health Check:
preflight.py --media-only(talent footage and asset inventory). FAIL prevents rendering. - Render:
render_shots.mjs(segment caching + frame count assertion; audio track as one segment, no splitting). Single-shot retakes use--changed sNN. - Six Machine Gates: Static/shake, SFX present, SFX audible, card fidelity, word placement, QA material contact sheet. Any FAIL blocks delivery.
- Independent Review: Materials = contact sheet + QA report + human-readable SHOTBOOK; P0/P1 issues must be fixed before sign-off (max 3 rounds).
- Delivery: Two passes of loudnorm (first measurement, second with
linear=true) → re-runsfx_check --mix→ ingest into media librarykind=final_cut,pipeline_kind=explainer.
4. Command Quick Reference
# Engine installation / health check (not committed; pulled from upstream using PINNED during install)
pnpm talkcraft:install -- --with-runtime --with-asr
pnpm talkcraft:check
# One command to produce video (for production verification / operations path; shares pipeline with server-side video.explainer.*)
pnpm explainer:run -- \
--script var/scripts/<script>.md \
--task-id <task-name> \
--profile <voice-profile> \
--host-portraits bundles/ai-video/library/characters/model-01-chen-zhuo/portraits/v3 \
--brand-product "<product-name>"
# Single-shot retake (only re-renders that segment ± adjacent segments)
pnpm explainer:run -- --script ... --task-id same-as-above --render-scope changed:s07
5. Discipline (Violations Lead to Incidents; Every Rule Has a Real-World Origin)
- Order is non-negotiable: Preview → timestamps → everything else. If the voiceover changes, you must re-run alignment (audio sha256 is recorded in the archive).
- Beats are not manually timed: All placement comes from
timing.json; manually approximated seconds cause dead frames that QA won't see (historically, 2 seconds too early). - Cards are not rewritten: Motion effects must use the original engine file
template/cards/<slug>.tsx. Only CONFIG/copy may be changed (card_lintenforces fidelity). - One protagonist per shot: Only one prominent element at a time. When an element finishes speaking, it should yield (lower priority and remain visible, not disappear).
- Layout rotation: The same card must not be used for 3 consecutive shots. Either the talent format or the asset container must change.
- Clean subtitle layout: Whole sentences appear and exit hard, no animation, no punctuation; vertical safe zone (avoid platform ad area and like button area).
- Sound effects restraint: Single note ≤0.35, max one note per frame, no SFX for consecutive reveal-type content.
- License compliance: Engine is PolyForm Noncommercial. Written authorization from the author is required before commercial delivery. Engine source code is never committed to the repository.
6. Failure Modes and Handling
| Symptom | Root Cause | Action |
|---|---|---|
Engine not fully installed | vendor/talkcraft/ missing files (not installed or cleaned) | pnpm talkcraft:install -- --with-runtime |
License gate refuses render | authorized but no LICENSE-GRANT.md | Obtain license file; for evaluation, switch back to noncommercial (no external commercial delivery) |
| Final video is one beat off overall | Segment boundary rounding inconsistent with Sequence / manually timed beats | Re-run beat_lint; confirm --shots and props.total share the same source |
| Video looks "like a PowerPoint" | Camera curve missing or static window >1s | Run motion_check, add very gentle camera push (not breathing motion effect) |
| Sound effects "present but inaudible" | Cues all buried in voiceover | Run sfx_check --mix, move cues to sentence gaps ≥0.5s |
| Card "copied but rewritten" | Card original not copied, manually written | card_lint will FAIL; re-copy the card from the engine |
| Render interrupted by power failure | — | Segment cache preserved; re-run same command, only missing segments are rendered (idempotent key prevents duplicate submission) |
7. Acceptance Criteria (Must Answer Before Delivery)
- Did all six machine gates PASS (SKIP must have a reason written)?
- What are the maximum
|Δ|frombeat_lintand the minimum guard band at shot end? - Did
card_lintcover every card used in this video? - Did the
qa_extract+contact_sheetgo to independent review, and are all P0/P1 issues cleared? - Does the delivery file's
sha256, duration, loudness (I/TP/LRA) match the media library records?