skill-promo-video — Digital Human Full Voiceover Promo Video Pipeline v2 (Fully Alive)
Transforms the selling points of a skill/product into a promotional video featuring a fully talking digital human + real case studies. v2 substantive upgrades over the static image-text version: All scenes have characters speaking (audio-driven lip sync), character outfits and cases fully parameterized, Blender deterministic camera moves, built-in QC gates.
1. Final Video Structure (Fixed Narrative Skeleton)
Blender opening camera move (data corridor push-in, ≈4.5s, optional)
→ Digital human opening voiceover (≤5s, H3 audio-driven)
→ 9×[Composition card (character explains the graphic type, H3-TALK + text stability gate)
→ Graphic page (number + title + real chart + source footnote 5.0s)]
→ Digital human closing voiceover
→ Achievement card (endorsement data)
→ Blender closing camera move (pull-out overview + brand panel, optional)
→ End card (big golden quote + installation guide)
Throughout: signature watermark top-right + bottom ASS subtitles + BGM (instrumental only, must pass solo listening test) + voiceover
2. Execution Flow (12 Steps; ⛔ Disciplines in parentheses, detailed in references/pipeline.md)
- Planning: 2 core selling points + 3-4 hard endorsements (ratings/downloads via API live test, rank scope confirmed with user)
- Data Engineering: Close to target user domain; prefer real public datasets (source footnotes truthfully labeled)
- Chart Rendering: Target product's chart engine (matplotlib stack) 150dpi/16:9 (Forest=HR quantitative; Volcano=constructive three-belt; Composite=short labels)
- Character Assets: User-provided character card/headshot; PE reference image key
images.image_1with dot nesting + TE connected tovae; Outfit change = configcharacter.costumeone line (positive description, cfg=1 negative has no effect) - Composition Card / Voiceover First Frame:
gen_scene_cards.py(layout=card|talker); PE direct text output (⛔ zero PIL patching); append line-by-line checklist at prompt end; character-by-character OCR re-verification on resulting image - Graphic Page Layout: Only compose layout after all base images are finalized (⛔ root cause of old images mixed in twice)
- Voiceover Segment:
talking_segment.pydual-engine decision (≤5.1s→H3-TALK; >5.1s→S2V 720p; no voiceover→H3-I2V micro-motion; engine decision tree references/digital-human.md); ⛔output segments always strip audio track with-an; ⛔r2v reference generation has been disproven, only use first frame - Camera Move Segment (optional):
blender_scene.pyheadless Cycles data corridor two shots; ⛔ EEVEE headless black frame risk; if not passing validation, degrade to static frame + zoompan, do not force it; (optional)style_transfer.pystylized redraw of basic model - TTS:
tts_batch.py(⛔ remove question marks from text; ⛔ verify each wav mtime+size to prevent fake OK from GPU OOM) - Watermark:
make_watermark.pysignature methodology (version number not in watermark) - Three-Step Composition:
compose_3step.py(video chain → audio track → merge; ⛔ forbid single giant chain; unique temp directory only; ASS all 10 fields) - QC & Delivery:
qc_gates.pytext/lips/hands/av + FunASR full-track dictation (⛔ must run after final assets) + full-video frame-by-frame visual inspection + ffprobe single video stream verification
3. Environment Requirements (Boundaries & Limitations)
- Requires local GPU (≥24GB VRAM practical) and local inference services: Image generation (Qwen-Image family, port configurable, default 127.0.0.1:8190), digital human video (H3/S2V model stack, default 8189/8188), local TTS, Blender 4.x+, ffmpeg.
- Models are obtained from their respective official release pages; the skill package does not contain any model weights or character assets.
- First time use: run each script with
--helpto check parameters;talking_segment.pyautomatically does node name and model-on-disk pre-check before submission (model filenames have built-in defaults; if names differ, change constants at script top or specify via parameters). - Python dependencies only Pillow and numpy (for QC gates); also requires ffmpeg/ffprobe and curl command line; watermark/subtitles require Noto CJK font (default paths in make_watermark.py/compose_3step.py, configurable).
- Dictation gate (FunASR class) is an external command interface (qc_gates.py asr --gate-cmd); dictation implementation must be provided by user; without dictation implementation, manually listen to replace that gate.
- No GPU / no inference services: skip voiceover and camera move segments, degrade to static image-text video (voiceover/TTS also rely on local compute; no TTS → silent + subtitle delivery; other steps unchanged).
- Single GPU memory mutual exclusion: Image generation TE/H3/S2V/TTS strictly no concurrency, switch serially via kill→free→load.
4. Safety & Behavior Statement
- Entire pipeline runs locally: external connections only to localhost loopback user-built inference services (HTTP); subprocesses only local ffmpeg/ffprobe/Blender/curl/user local TTS; does not access any remote services, no telemetry, no data upload.
- Runs on-demand, single execution; no background daemon, no scheduled tasks, does not install dependencies (dependencies deployed by user per "Environment Requirements").
- Outputs written to user-specified output directory; QC frame extraction and submission payload use system temp directory (unique temp directory, discarded after use); character reference images and final video do not leave the local machine.
- Please only use character reference images you have the right to use (portrait license self-audited).
5. Parameterization (Swap Config = Swap Video)
references/config-template.json (valid JSON) drives the character and nine cases for composition cards / voiceover first frame; all other segments derive from it as single source of truth: character identity anchor + outfit (costume change),
scene background,
9 cases (title / full prompt / chart command / source footnote / voiceover / subtitle),
endorsement copy, watermark brand, Blender parameters.
Voiceover discipline: declarative sentences (no question marks – TTS silent failure); voiceover segment ≤5s (H3 single clip window); ≤ duration of its segment.
6. Dual Engine Quick Reference
| Voiceover | Engine | Parameters |
|---|---|---|
| ≤5.1s | H3-TALK (ref2va) | 1344×768@24fps, 8 steps, INT8 |
| >5.1s | S2V 720p | 1280×720@16fps, 4n+1 frames, Lightning 4 steps (cfg=1 negative has no effect) |
| No voiceover | H3-I2V | Strict first-frame micro-motion |