Communitygithub.com

docsor1212/skill-promo-video

>- 制作「数字人全程口播解说 + 真实案例展示」风格的技能/产品推广短视频(16:9,60-120s): 所有场景人物开口说话(音频驱动口型同步,双引擎自动决策——短段 H3 音频驱动 / 长段 Wan2.2 S2V 720p)、人物服饰与案例提示词全参数化(换一份 config 即换人设/换案例)、 Blender 数据长廊确定性运镜(开场推进/收尾拉远,图表面板贴真实图表)、构图卡文字 直出(逐行核对清单+逐字 OCR 复验)、真实数据图表页、TTS 旁白、品牌 signature 水印、 三步式 ffmpeg 合成、五道 QC 闸门(文字稳定性/口型运动/手部逐指/音画对齐/FunASR 听写)。管线模板化,换一份 config 即可为任何 skill 出同款风格视频。当用户说 "给 XX skill 做推广视频/宣传片/爆款视频/数字人视频/口播讲解视频",或要求复用 数字人主讲风格的 showcase 视频时使用。

skill-promo-video 是什么?

skill-promo-video is a Claude Code agent skill that >- 制作「数字人全程口播解说 + 真实案例展示」风格的技能/产品推广短视频(16:9,60-120s): 所有场景人物开口说话(音频驱动口型同步,双引擎自动决策——短段 H3 音频驱动 / 长段 Wan2.2 S2V 720p)、人物服饰与案例提示词全参数化(换一份 config 即换人设/换案例)、 Blender 数据长廊确定性运镜(开场推进/收尾拉远,图表面板贴真实图表)、构图卡文字 直出(逐行核对清单+逐字 OCR 复验)、真实数据图表页、TTS 旁白、品牌 signature 水印、 三步式 ffmpeg 合成、五道 QC 闸门(文字稳定性/口型运动/手部逐指/音画对齐/FunASR 听写)。管线模板化,换一份 config 即可为任何 skill 出同款风格视频。当用户说 "给 XX skill 做推广视频/宣传片/爆款视频/数字人视频/口播讲解视频",或要求复用 数字人主讲风格的 showcase 视频时使用。.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add docsor1212/skill-promo-video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

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)

  1. Planning: 2 core selling points + 3-4 hard endorsements (ratings/downloads via API live test, rank scope confirmed with user)
  2. Data Engineering: Close to target user domain; prefer real public datasets (source footnotes truthfully labeled)
  3. Chart Rendering: Target product's chart engine (matplotlib stack) 150dpi/16:9 (Forest=HR quantitative; Volcano=constructive three-belt; Composite=short labels)
  4. Character Assets: User-provided character card/headshot; PE reference image key images.image_1 with dot nesting + TE connected to vae; Outfit change = config character.costume one line (positive description, cfg=1 negative has no effect)
  5. 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
  6. Graphic Page Layout: Only compose layout after all base images are finalized (⛔ root cause of old images mixed in twice)
  7. Voiceover Segment: talking_segment.py dual-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
  8. Camera Move Segment (optional): blender_scene.py headless 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.py stylized redraw of basic model
  9. TTS: tts_batch.py (⛔ remove question marks from text; ⛔ verify each wav mtime+size to prevent fake OK from GPU OOM)
  10. Watermark: make_watermark.py signature methodology (version number not in watermark)
  11. Three-Step Composition: compose_3step.py (video chain → audio track → merge; ⛔ forbid single giant chain; unique temp directory only; ASS all 10 fields)
  12. QC & Delivery: qc_gates.py text/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 --help to check parameters; talking_segment.py automatically 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

VoiceoverEngineParameters
≤5.1sH3-TALK (ref2va)1344×768@24fps, 8 steps, INT8
>5.1sS2V 720p1280×720@16fps, 4n+1 frames, Lightning 4 steps (cfg=1 negative has no effect)
No voiceoverH3-I2VStrict first-frame micro-motion

相关技能