Communitygithub.com

oliverhees/hermes-motion-pack

HerMotion Pack 的第五步:使用 ElevenLabs 產生語音(僅從 ELEVENLABS_API_KEY 環境變數讀取 API 金鑰),並加入背景音樂、音效、側鏈壓縮與兩次標準化響度處理。請在 mp-build 之後或當使用者提到「Stimme」、「Voice-over」、「Musik」、「Sound」、「LUFS」、「zu leise」、「zu laut」、「ElevenLabs」時使用。

hermes-motion-pack 是什麼?

這個技能是 motion-pack 流程中的音訊層製作步驟。它整合了多種音訊處理功能:透過 ElevenLabs 生成高品質語音,自動從環境變數或專案設定檔中讀取 API 金鑰,讓使用者選擇語音 ID 與模型。背景音樂由使用者提供免版稅檔案,並根據分鏡風格(Reels、產品、電影)自動建議節奏。音效則根據故事板上的關鍵觸發點(如英雄點擊、列表項目、揭示畫面)自動產生或合成,包括呼嘯聲、點擊聲、低頻衝擊音與上升音。混音階段會進行側鏈壓縮與兩次標準化處理,達到目標響度:語音 -16 LUFS,音樂低於語音 12 LU,整體混音 -14 LUFS,真實峰值 -1 dBTP。最後會將混音附加到專案中,取代暫存音軌,並重新渲染草稿。支援 Hermes 與 Hyperframes 生態系統,適合需要專業音訊後製的影片製作工作流程。

相容平台~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/music 工具,如果可用的話)。根據分鏡選擇節奏(Reels 類型 110–130 bpm,產品型 90–105,電影型 60–80)。裁剪至所需長度,在小節上編輯點。
  3. 音效 — 在每個英雄點擊處添加音效:呼嘯聲(大型動作)、點擊聲(列表項目/UI)、低頻衝擊/低音(揭示畫面)、上升音(轉折前)。使用 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 秒結束(為號召性按鈕保留空間)。
  • 音樂在最後 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.

相關技能