Communitygithub.com

oliverhees/hermes-motion-pack

运动包第五步。生成音频层——通过ElevenLabs制作画外音(仅从ELEVENLABS_API_KEY环境变量获取密钥)、背景音乐、节拍音效、侧链压缩及两遍响度标准化(语音-16 LUFS,音乐低于12 LU,混音-14 LUFS,真实峰值-1 dBTP)。在 mp-build 之后,或当用户提及“声音”“画外音”“音乐”“音效”“LUFS”“太轻”“太响”“ElevenLabs”时使用。

hermes-motion-pack 是什么?

该技能是运动包流水线的第五步,专注于为视频生成完整的音频层——包括画外音、背景音乐、音效和最终混音。它通过ElevenLabs API(需在环境变量中设置`ELEVENLABS_API_KEY`)生成画外音,并支持用户指定的语音ID和模型。背景音乐由用户提供免版税文件或通过npx hyperframes工具生成,而音效(如嗖声、滴答声、重击声)则由内置脚本(`scripts/sfx.sh`)或外部工具创建。混音过程(`scripts/mix.sh`)应用侧链压缩和两遍响度标准化(语音-16 LUFS,音乐低于12 LU,混音-14 LUFS,真实峰值-1 dBTP),并生成响度报告。该技能适用于Hermes CLI工具,遵循严格的音频长度匹配视频长度、语音起始和结束时间以及音乐淡出规则,最终输出附加到合成中并触发评审步骤。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/oliverhees/hermes-motion-pack/tree/HEAD/skills/mp-audio

在你喜欢的 AI 中提问

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

文档

mp-audio — 语音、音乐、音效、响度

关键设置

  • ELEVENLABS_API_KEY 是你在 Hermes 中输入的 ElevenLabs 密钥(hermes setup)。脚本会在环境变量、Hermes 自身的环境文件或工作室根目录的 .env 文件中查找该密钥。切勿将密钥写入文件、日志、提示或回答中。缺少密钥时需告知用户,并提供“静音+仅音乐”选项。
  • 语音ID和模型来自用户(BRIEF.md)。不预设默认语音ID;请询问用户或让用户从其 ElevenLabs 库中选择。

步骤

  1. 语音 — python3 <skill-dir>/scripts/tts_elevenlabs.py --text-file voice.txt --voice-id <id> --model <model> --lang de --out audio/voice.mp3 --timestamps audio/voice.words.json。保持脚本紧凑:无长时间停顿,文本中无舞台指示。单词时间戳将用于 mp-build 的单词同步。
  2. 音乐 — 用户提供免版税文件(或使用 npx hyperframes 的 tts/音乐工具,若可用)。根据故事板选择节奏(视频短片 110–130 bpm,产品宣传 90–105,电影风格 60–80)。裁剪到合适长度,在节拍处进行编辑。
  3. 音效 — 在每个关键打击点:嗖声(大动作)、滴答声(列表项/界面)、重击声/次声(揭示)、上升音(转折前)。使用与 npx hyperframes tts 相关的工具、ElevenLabs 音效或使用 ffmpeg 合成简单音效(scripts/sfx.sh)。根据故事板时间戳放置。
  4. 混音 — bash <skill-dir>/scripts/mix.sh audio/voice.mp3 audio/music.mp3 audio/sfx.mp3 audio/mix.wav → 侧链压缩 + 两遍响度标准化。目标值请参考 references/loudness.md。
  5. 将混音附加到合成中(替换草稿音频)。重新渲染草稿。请用户试听:“语音前置?音乐太响?动作节拍对吗?”你无法听到,需如实告知。
  6. 交给 mp-critique。

规则

  • 音频长度必须等于视频长度。通过填充或修剪实现;绝不允许渲染器拉伸。
  • 语音第一帧必须从 ≥ 0.25 秒处开始;最后一个单词必须在结束前 ≥ 1.0 秒结束(用于 CTA 保持)。
  • 音乐在最后 1.5 秒内淡出;绝不允许硬切。
  • 将响度报告(audio/loudness.json)保留在项目内,供 DELIVERY.md 使用。

本技能包含的文件

  • references/loudness.md
  • scripts/loudness.sh
  • scripts/mix.sh
  • scripts/sfx.sh
  • scripts/tts_elevenlabs.py

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

oliverhees/hermes-motion-pack

Studio-grade motion graphics and cinematic highlight videos built as code with HyperFrames (HTML + GSAP → MP4) plus ffmpeg edits of real or AI footage. ALWAYS use for any video, spot, reel, teaser, trailer, intro, logo sting, kinetic typography, product film, social clip, highlight/recap/aftermovie/montage, "mach mir ein Video", "Motion Graphics", "Werbespot", "Reel", "Cinematic", "Animation" — even if the user does not say HyperFrames. Interviews the user first, then chains mp-brief → mp-style → mp-storyboard → (mp-footage | mp-genclip) → mp-build / mp-highlight → mp-audio → mp-critique → mp-ship with approval gates.

oliverhees/hermes-motion-pack

Step 1 of motion-pack. Runs a short, tap-friendly interview (max 2 rounds × 3 questions) and writes BRIEF.md for a motion graphics video — goal, audience, hook, format, length, must-show, sources, audio wishes. Use whenever a video is requested and no BRIEF.md exists yet, or the user says "Briefing", "interview me", "was brauchst du von mir".

oliverhees/hermes-motion-pack

Step 4 of motion-pack. Builds the HyperFrames project from STORYBOARD.md and STYLE.md — one HTML scene per beat with GSAP choreography, deterministic timing, real assets, then lint → draft render. Use after mp-storyboard, or when the user says "bau das", "build", "render", "Szene ändern", "HyperFrames", "GSAP", "animiere".

oliverhees/hermes-motion-pack

Step 6 of motion-pack. Makes the agent look at its own render — contact sheet, phone-size sheet, 12-frame strips around fast moments, loop-seam check, determinism check — then scores 8 criteria 1–10 as a harsh motion director, lists the 3 biggest problems with timestamps, and loops back to mp-build until every score is ≥ 8. Use after any render, or when the user says "sieht mid aus", "check das Video", "Kritik", "QC", "warum wirkt das billig".

oliverhees/hermes-motion-pack

Ingests the user's own footage (clips, gameplay, events, vlogs, screen recordings) for a highlight video — makes proxies, detects scene cuts, scores every second by motion, loudness and speech, transcribes, and writes SHOTLIST.json with the best candidate moments. Use when the user hands over video files/folders, says "aus meinem Material", "Footage", "beste Momente", "Highlights rausziehen", "schneid mir das zusammen", or before mp-highlight when real footage is the basis.

oliverhees/hermes-motion-pack

Generates AI video clips (Seedance, Veo, Kling via the kie.ai MCP server) and AI still frames (gpt-image, nano-banana) as the basis for cinematic highlight videos and trailers — shot-by-shot prompts from the storyboard, consistent look via reference frames and seeds, download, registration in SHOTLIST.json. Use when the user has no footage but wants cinematic shots, says "generier mir Clips", "KI-Video", "Seedance", "Veo", "B-Roll erzeugen", or when mp-highlight needs shots that do not exist.

oliverhees/hermes-motion-pack

Cuts cinematic highlight videos, trailers/teasers and event recaps from real footage (mp-footage), AI clips (mp-genclip) or pure code — beat-synced edit plan, speed ramps, cinematic grade (teal-amber, bleach, film grain, letterbox), kinetic titles, glitch and light-leak overlays, data overlays, all composited in HyperFrames on top of an ffmpeg base cut. Use for "Highlight-Video", "Cinematic", "Trailer", "Recap", "Aftermovie", "Best-of", "Montage", "auf den Beat schneiden", "episch".

oliverhees/hermes-motion-pack

Step 7 of motion-pack. Final render in every requested format (16:9, 9:16, 1:1, 4:5, GIF/WebM), writes DELIVERY.md (files, specs, loudness, sources, unverified claims, next steps), optionally packages the finished pipeline as a reusable skill so the next video is one sentence. Use when critique is green, or the user says "export", "final", "liefern", "alle Formate", "fertig machen".

oliverhees/hermes-motion-pack

Step 3 of motion-pack. Writes STORYBOARD.md — beats with timestamps, a state list per beat (what is on screen, where, what changes), voice lines, SFX hits and transitions — from BRIEF.md and STYLE.md. Use after mp-style, or when the user asks for "Storyboard", "Beats", "Ablauf", "Szenen", "timing".

oliverhees/hermes-motion-pack

Step 2 of motion-pack. Turns BRIEF.md into STYLE.md — a reference-driven design doc with palette, typography, motion language, sound character and a forbidden list. Offers 8 built-in style presets (clean-product, editorial-brutal, neo-glass, kinetic-type, hand-drawn, cinematic-dark, data-minimal, retro-print). Use when a video needs a look, the user says "Style", "Look", "Design", "wie soll es aussehen", or after mp-brief.

相关技能