ai-presenter-video
它能做什么
它根据脚本和一张主持人图片制作主持人风格的视频,包括旁白、口型同步检查、字幕和导出文件。它适合拥有主持人图片使用授权的创作者。
适用场景
- ✓你想根据主题或脚本制作一个主持人说话的视频的时候。
- ✓你需要修改、添加字幕或重新导出已有主持人视频的时候。
- ✓你想检查并修复主持人片段中口型不同步问题的时候。
技能链接
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/ai-presenter-video/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用这份脚本和我获得授权使用的主持人照片,制作一段两分钟的主持人视频。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体锁定旁白,生成主持人视频,检查口型同步,添加字幕,并编码输出最终文件。它使用会话中可用的图像、视频、语音和转写工具,并用 ffmpeg 进行编辑。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
AI Presenter Video
Turn a topic (or finished script) plus ONE authorized adult presenter image into a complete, publish-ready presenter-led video: locked narration, avatar generation with lip-sync QA, captions, deterministic editing, loudness-normalized master/share encodes, and machine + visual acceptance reports.
Use this skill for new presenter videos AND for continuing, revising,
captioning, lip-sync-repairing, or re-exporting an existing presenter-video
job. The workflow is provider-neutral: pick generation capabilities from what
is actually available in the session (FAL video/image models via
image_generate and the video-gen plugin, TTS via text_to_speech, ASR via
the whisper/STT tooling, ffmpeg for everything deterministic).
Ported from cclank/lanshu-create-ai-presenter-video (MIT). Upstream body kept substantively verbatim in
references/; Hermes adaptations live in this hub file. Scripts are deterministic (no network, no credentials).
Hermes adaptations (read first)
Skill dir resolution — upstream hardcoded its own agent's skills path. In Hermes the loader expands
${HERMES_SKILL_DIR}to this skill's installed directory, so every command below uses that token directly:SKILL_DIR="${HERMES_SKILL_DIR}"Shell variables do not persist between tool calls — re-paste the assignment (or the expanded path) in each terminal call that uses it.
Capability mapping — where the references say "a voice generation capability", use
text_to_speech(OpenAI/Edge/ElevenLabs per user config); "presenter/avatar generation" → FAL image-to-video families (Kling, Wan, MiniMax H3 etc.) through the configured video tooling, or an avatar/lipsync endpoint the user has access to; "word-timestamp ASR" → whisper via the STT tooling orfaster-whisperin a venv; "deterministic compositor" → ffmpeg filtergraphs, or thehyperframesskill when installed (the editing reference has a HyperFrames section that maps directly onto it).Visual QA — do the "normal-speed visual review" steps with
vision_analyzeon the generated contact sheet plus sampled frames (identity, mouth timing, hands, blinking, continuity). Numeric checks come from the scripts' ffprobe output.Paid-generation consent — remote avatar/TTS generation is billable. Follow the upstream operating rules: before the first paid call state the uploaded assets, requested seconds, known cost, pilot size, and retry ceiling, and get the user's explicit go-ahead. Never upload the presenter image to a remote provider before
remote_upload_approvedis true injob.json.Consent flags live under
input—rights_confirmed,adult_presenter_confirmed,remote_upload_approved, andvoice_clone_approvedsit inside theinputobject ofjob.json(init flags set them; hand-editing must targetinput.*, not the job root).manual_input_review.*sits at the root.preflight.pydistinguisheserrors(block everything) fromremote_blockers(block only remote generation) — local script/audio work may proceed while remote is blocked.
Workflow
Start or resume a job. New job:
python3 "$SKILL_DIR/scripts/init_job.py" \ --job-dir ~/Videos/my-presenter-video \ --presenter-image /path/to/presenter.png \ --topic "explain context engineering in one minute" \ --duration 60 --aspect 9:16 \ --rights-confirmed --adult-presenter-confirmedUse
--scriptfor an existing script file; other flags:--voice-sample,--supporting-media,--width,--height,--fps,--watermark,--cta. For an existing job, readjob.json+ QA reports and resume from the earliest unfinished state — never regenerate accepted work.Manual input review. Actually look at the presenter image (
vision_analyze) and listen to any voice sample; record findings by setting themanual_input_reviewbooleans injob.json, e.g.:python3 - <<'PY' import json p = "~/Videos/my-presenter-video/job.json" # expand ~ or use an absolute path import os; p = os.path.expanduser(p) j = json.load(open(p)) j["manual_input_review"].update(image_viewed=True, single_clear_face=True, image_has_no_unwanted_text=True) json.dump(j, open(p, "w"), indent=2) PYThen gate:
python3 "$SKILL_DIR/scripts/preflight.py" ~/Videos/my-presenter-video/job.jso
常见问题
我需要提供什么?
一个主题或定稿的脚本,以及一张你获得授权展示的成年人主持人图片。
它会检查自己的成果吗?
会。技能包含针对最终视频的机器验收和视觉验收报告。
它使用哪些工具?
会话中可用的图像、视频、语音和转写工具,以及用于确定性编辑的 ffmpeg。
详情
热度
- GitHub 星标
- 260k
- 排名
- #450
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-merge-conflict-arbiter
260k以中立第三方的身份,解决两个智能体分支之间的 git 合并冲突,为代码仓库生成一个合并结果。
antigravity-cli
260k指导你安装、更新和排查 Antigravity 命令行工具,包括其插件、登录和沙盒。
blackbox
260k让你的智能体把编程任务交给 Blackbox AI 命令行工具,它会运行多个 AI 模型并挑选最佳结果。
dynamic-workflow
260k教你的智能体把大量相似的工作保存为脚本批量运行,使只有经过验证的结果才返回主对话。