Classical Chinese Poetry Video Production
Produce serialized 16:9 poetry appreciation episodes (1920×1080, 30 fps master) that look, sound, and read like one channel. Exact numbers live in config/brand-tokens.json; this file holds the workflow and the invariants.
Skill vs. episode boundary
- In the skill: rules, scripts, JSON templates, SIL OFL fonts, the two frozen voice anchors, the polyphone glossary, brand tokens.
- In the channel/episode workspace, never in the skill: the character-free
style_anchor.jpg,char_sheet_<poet>.jpg, keyframes, clips, scripts, voice plans, manifests, renders, QA sheets,publish_kit/covers and publishing copy. - When an episode teaches something reusable, generalize it before adding it here. Don't add poem-specific text, palettes, or episode IDs.
Workflow
Each step ends in a gate; don't advance until it passes. Every JSON input has a template in assets/.
- Plan. Pick a mood from
mood_palette_presetsin brand tokens. Size the shot list from poem length and appreciation depth; there is no fixed shot count. - Script. Recite the whole poem first, then bridge with WHO/WHEN/WHY, then warm storytelling appreciation (script-and-voice.md).
Gate:
python scripts/check_consistency.py script <script.txt>passes;python scripts/check_consistency.py polyphone <script.txt> --output <annotated.txt>reviewed (annotated text is only for IndexTTS patches). - Voice.
python scripts/synthesize_cctv_dual_register.py --plan <voice_plan.json>(voice-plan-template.json). Fix misread polyphones by rendering the sentence withsynthesize_poetry_emo_voice.py("skip_polish": true) and settingpatch_wavon that segment, so it gets the same DSP. Gate: per-segment chars/s inside the token windows; listening review reported separately from measurements. - Look lock. Start Colab (
colab new -s <session> --gpu G4; weights from$POETRY_COLAB_MODELS_DIR). Create and approvechar_sheet_<poet>.jpgfrom the style anchor, then all keyframes:python scripts/gen_qwen21_keyframes.py --profile colab_highspec --url <url> --token <token> --spec <spec.json>(keyframes-spec-template.json, art-bible.md). Gate: build and inspect both sheets, regenerating any drifted shot:python scripts/check_consistency.py keyframe-sheet --reference <char_sheet> --inputs <character keyframes> --output <qa>/character_face_qa.pngpython scripts/check_consistency.py keyframe-sheet --inputs <keyframes_dir> --output <qa>/all_keyframes_qa.png - Animate.
python scripts/gen_ltx2_i2v.py --node colab --image <kf.jpg> --prompt "<positive physical motion>" --output <clip.mp4>(defaults: 193 f, img_compression 18, 960×544 → 2× on ≥36 GB GPUs). Long beats get camera-scale cuts or last-frame continuation (motion-and-layout.md). Gate: t0/t1/t2 frames of every clip inspected; thencolab stop -s <session>. - Build.
python scripts/build_episode_master.py --manifest <manifest.json>(episode-template.json). It stabilizes and conforms clips, enforces zero-loop, renders HyperFrames, masters loudness, runs font/video checks, writesmaster_qa_grid.pngandfinale_full_poem_card.png, and stages to review whendelivery_slugis set. Gate: quality-and-consistency-gate.md. - Package (Mandatory before review sign-off). Generate the 3 commercial-safe covers (
16:9poetic A,16:9high-CTR B,3:4vertical) viapython scripts/build_publish_covers.py --spec <publish_covers.json>(publish-covers-template.json) and write multi-platformpublish_copy.md(Bilibili, YouTube bilingual + exact master-synced chapters, Xiaohongshu/WeChat Channels) into<episode_dir>/publish_kit/(publish-kit.md). Stage withscripts/deliver_episode.py stage --publish-kit-dir <publish_kit>so video, QA, and publish kit sit together in review. Gate:python scripts/check_consistency.py publish-kit <publish_kit>passes AND all 3 rendered covers are visually inspected (zero□tofu glyphs, zero face/figure overlap, zero third-party studio names); chapter timestamps match the rendered master and dates/age match the narration script. - Deliver. Only after the user approves:
python scripts/deliver_episode.py approve --slug <slug>(verifiespublish_kit/is present alongside the master before promoting). Add--forceonly if the user confirms replacing an existing published folder.
Invariants
- Look: Light Chaser theatrical 3D Guofeng (《长安三万里》/《白蛇:浮生》 craft). No live action, 2D linework or parchment washes, teal-orange RPG grading, plastic skin, neon rim light, or AI-baked text.
- Face lock: character shots use
image_1 = style_anchor.jpg+image_2 = char_sheet_<poet>.jpg; scenic shots use the anchor only. Never text-only character prompts. Both QA sheets are inspected before any I2V. - Composition: narrative shots full-bleed 16:9; calligraphy sits on living sky or mist with a soft halo, never an opaque block; the discussed lines stay pinned top-right during appreciation.
- Zero loop: each clip plays forward once (stretch ≤ 1.42×, no reuse, no ping-pong, no freeze > 0.15 s), plus a dedicated finale shot. The build scripts fail on violations.
- Structure: 3.5 s breathing lead-in → full poem recited without interruption → appreciation → 5.5–7.5 s full-poem closing card.
- Voice: both registers cloned from the frozen anchors with Qwen3-TTS Base. Poem gets hall reverb, narration stays near-dry. No exam-style jargon (the script gate blocks it).
- Compute: Colab Pro+ full precision first. Quantized local presets are an offline fallback. Always stop the Colab session after downloading.
- Fonts: bundled SIL OFL fonts only;
check_consistency.py fonts <project>reports no issues. - Master: 1920×1080, 30 fps, h264/yuv420p, 48 kHz stereo, −15.5 ± 1.5 LUFS, ≤ −1.5 dBTP, checked by
check_consistency.py video. - Publish kit: mandatory 3 SIL OFL covers (
16:9A/B +3:4vertical, pure Hanzi onSourceHanSerifSC-Heavy, zero studio names) +publish_copy.mdwith master-synced chapters, audited bycheck_consistency.py publish-kitand visually inspected before delivery. - Paths: never hardcode machine or NAS paths; use the environment variables in README.md.
- Honesty: report measured metrics separately from what was actually watched or listened to.
References
Read only what the current step needs:
- art-bible.md: keyframes, character sheets, style anchor, mood palettes, image-model parameters.
- motion-and-layout.md: I2V engines and parameters, zero-loop shot planning, stabilization, prompt discipline, overlays, typography, finale card.
- script-and-voice.md: episode structure, narration craft, voice registers, music and ambience, polyphone patching.
- publish-kit.md: mandatory 16:9 A/B + 3:4 covers, pure-Hanzi/brand-safety rules, multi-platform publishing copy and exact chapter sync.
- quality-and-consistency-gate.md: the full pre-animation, pre-render, cross-episode, publish-kit, and delivery checklist.