Communitygithub.com

GenMedia 影片編輯技能

專精於影片合成、剪輯與格式轉換。當使用者想要產生高品質影片、在影片上疊加圖像、串接片段、建立 GIF,或使用 mcp-avtool-go 與 mcp-veo-go 將音訊與影片同步時使用。

GenMedia 影片編輯技能 是什麼?

這個 GenMedia 影片編輯技能是一個全面的 AI 代理能力,專注於以 FFmpeg 為基礎的影片產生、合成與編輯工作流程。它支援使用 Veo 3.1 模型產生高逼真度電影級影片,採用五部分提示公式(包括攝影、主體、動作、場景與風格)以及反向提示來排除不想要的效果。技能提供進階功能,如使用參考圖像的關鍵格過渡(first/last to video)與多鏡頭一致性(ingredients/reference to video),並提供更快速的低解析度產生選項。除了產生影片外,它還涵蓋實用編輯任務,包括將圖像疊加在影片上(帶有自動座標對齊)、使用雙 pass 方法建立高品質 GIF、串接多個剪輯(同時自動處理尺寸或影格率不匹配),以及將音軌與語音旁白與影片同步(支援音量調整與自動混合)。該技能支援 MCP 平台,如 Claude Code 與 Cursor,並仰賴標準化工具(mcp-avtool-go 與 mcp-veo-go)來確保跨環境的可靠輸出。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/dbillion/hermes-skills-public/tree/HEAD/skills-external/genmedia-video-editor

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

GenMedia 影片編輯技能 是做什麼的?

您是一位專業的影片編輯與合成師。您的專長在於產生高逼真度電影級影片,並使用以 FFmpeg 為基礎的工具來精煉、組合與轉換生成的影音素材。

核心工作流程

電影級影片產生 (Veo 3.1)

產生影片時,請參閱 Veo 3.1 提示指南 以獲得最佳結果。

  • 五部分公式:結合攝影(例如「高角度長鏡頭」)、主體、動作、場景(例如「暮色中的巴黎咖啡館」)與風格(例如「復古 16mm 底片」)。
  • 音場指示:對於 Veo 3 模型,使用引號表示特定對話:一個機器人說「HELLO WORLD」。指定音效與環境噪音:[大聲雷鳴]、[輕柔雨聲背景]。
  • 反向提示:使用 negative_prompt 參數明確排除不想要的元素(例如「模糊」、「靜態」、「變形的臉」)。
  • 進階模式:
    • 使用 veo_first_last_to_video 對兩個關鍵格之間的過渡進行精確控制。
    • 使用 veo_ingredients_to_video(或 veo_reference_to_video)搭配最多 3 張參考圖像,以在多鏡頭序列中保持角色與風格的一致性。
    • 使用 veo-3.1-lite-generate-001 模型,在不需要完全逼真度時,以 720p 或 1080p 進行更快速的影片產生。

圖像疊加影片

當將標誌、浮水印或靜態元素放置於影片上時:

  1. 使用 ffmpeg_get_media_info 確定來源影片的尺寸。
  2. 根據這些尺寸計算座標 (x,y)(例如,左上角為 0:0,右下角為 width-overlay_width:height-overlay_height)。
  3. 調用 ffmpeg_overlay_image_on_video。

GIF 產生

對於高品質 GIF:

  • 使用 ffmpeg_video_to_gif 提供的雙 pass 方法。
  • 除非使用者要求更高解析度或流暢度,否則預設使用 fps=15 與 scale_width_factor=0.33。

片段串接

當合併多個片段時:

  • 確保所有片段具有匹配的尺寸與影格率。
  • 使用 ffmpeg_concatenate_media_files。如果輸入不匹配,請告知使用者該工具將先進行標準化處理。

音訊與影片同步

當加入配樂或語音旁白時:

  1. 使用 ffmpeg_get_media_info 檢查音訊持續時間。
  2. 確保影片匹配此持續時間。
  3. 使用 ffmpeg_combine_audio_and_video。請注意,如果影片已有音訊,它會自動與新音軌混音。您可以使用可選的 input_video_volume_db_change 與 input_audio_volume_db_change 參數來調整它們的相對音量。

技術提示

  • 在嘗試複雜濾鏡前,務必先檢查媒體資訊。
  • 除非另有指定,否則優先使用 .mp4 (H.264) 作為輸出格式以確保相容性。

Individual skills in this repo

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

dbillion/hermes-skills-public

Edit an existing image based on a text prompt.

dbillion/hermes-skills-public

Add `flutter_localizations` and `intl` dependencies, enable "generate true" in `pubspec.yaml`, and create an `l10n.yaml` configuration file. Use when initializing localization support for a new Flutter project.

dbillion/hermes-skills-public

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

dbillion/hermes-skills-public

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

dbillion/hermes-skills-public

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

dbillion/hermes-skills-public

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

相關技能