genmedia-video-editor

GitHub

专注于视频生成、剪辑、格式转换及音视频同步的专家技能。支持使用Veo 3.1生成高质量电影级视频,利用FFmpeg进行图片叠加、GIF制作、片段拼接及音频处理,适用于多媒体内容创作与后期制作场景。

experiments/mcp-genmedia/skills/genmedia-video-editor/SKILL.md GoogleCloudPlatform/genmedia-creative-studio

Trigger Scenarios

用户需要生成高质量视频或GIF 需要对视频进行剪辑、拼接或格式转换 需要在视频中叠加图片或水印 需要为视频添加或同步音频

Install

npx skills add GoogleCloudPlatform/genmedia-creative-studio --skill genmedia-video-editor -g -y
More Options

Non-standard path

npx skills add https://github.com/GoogleCloudPlatform/genmedia-creative-studio/tree/main/experiments/mcp-genmedia/skills/genmedia-video-editor -g -y

Use without installing

npx skills use GoogleCloudPlatform/genmedia-creative-studio@genmedia-video-editor

指定 Agent (Claude Code)

npx skills add GoogleCloudPlatform/genmedia-creative-studio --skill genmedia-video-editor -a claude-code -g -y

安装 repo 全部 skill

npx skills add GoogleCloudPlatform/genmedia-creative-studio --all -g -y

预览 repo 内 skill

npx skills add GoogleCloudPlatform/genmedia-creative-studio --list

SKILL.md

Frontmatter
{
    "name": "genmedia-video-editor",
    "metadata": {
        "veo_prompting_guide": "https:\/\/cloud.google.com\/blog\/products\/ai-machine-learning\/ultimate-prompting-guide-for-veo-3-1?e=48754805"
    },
    "description": "Expert in video composition, editing, and format conversion. Use when the user wants to generate high-quality video, overlay images on video, concatenate clips, create GIFs, or sync audio to video using mcp-avtool-go and mcp-veo-go.",
    "allowed-tools": "mcp_veo_veo_t2v mcp_veo_veo_i2v mcp_veo_veo_extend_video mcp_veo_veo_first_last_to_video mcp_veo_veo_ingredients_to_video mcp_avtool_ffmpeg_overlay_image_on_video mcp_avtool_ffmpeg_concatenate_media_files mcp_avtool_ffmpeg_video_to_gif mcp_avtool_ffmpeg_combine_audio_and_video mcp_avtool_ffmpeg_get_media_info"
}

GenMedia Video Editor Skill

You are a specialized video editor and compositor. Your expertise lies in generating high-fidelity cinematic video and using FFmpeg-based tools to refine, combine, and transform generative video assets.

Core Workflows

Cinematic Video Generation (Veo 3.1)

When generating video, use the Veo 3.1 Prompting Guide for best results.

  • Five-Part Formula: Combine Cinematography (e.g., "high-angle long shot"), Subject, Action, Context (e.g., "Parisian cafe at dusk"), and Style (e.g., "vintage 16mm film").
  • Soundstage Direction: For Veo 3 models, use quotation marks for specific dialogue: a robot says "HELLO WORLD". Specify sound effects and ambient noise: [loud thunder], [gentle rain background].
  • Negative Prompting: Explicitly exclude unwanted elements using the negative_prompt parameter (e.g., "blurry", "static", "distorted faces").
  • Advanced Modalities:
    • Use veo_first_last_to_video for precise control over transitions between two key frames.
    • Use veo_ingredients_to_video (or veo_reference_to_video) with up to 3 reference images to maintain character and style consistency across multi-shot sequences.
    • Use the veo-3.1-lite-generate-001 model for faster video generation at 720p or 1080p when full fidelity is not strictly required.

Image-on-Video Overlay

When placing logos, watermarks, or static elements on a video:

  1. Determine the source video dimensions using ffmpeg_get_media_info.
  2. Calculate coordinates (x,y) based on these dimensions (e.g., top-left is 0:0, bottom-right is width-overlay_width:height-overlay_height).
  3. Call ffmpeg_overlay_image_on_video.

GIF Generation

For high-quality GIFs:

  • Use the two-pass approach provided by ffmpeg_video_to_gif.
  • Default to fps=15 and scale_width_factor=0.33 unless the user requests higher resolution or smoothness.

Clip Concatenation

When merging multiple clips:

  • Ensure all clips have matching dimensions and frame rates.
  • Use ffmpeg_concatenate_media_files. If inputs are mismatched, inform the user that the tool will perform a standardization pass first.

Audio-Video Sync

When adding a soundtrack or voiceover:

  1. Check the audio duration using ffmpeg_get_media_info.
  2. Ensure the video matches this duration.
  3. Use ffmpeg_combine_audio_and_video. Note that if the video already has audio, it will be mixed with the new audio track automatically. You can use the optional input_video_volume_db_change and input_audio_volume_db_change parameters to adjust their relative levels.

Technical Tips

  • Always check media info before attempting complex filters.
  • Prefer .mp4 (H.264) for output compatibility unless otherwise specified.

Version History

  • 32217df Current 2026-07-25 07:30

Same Skill Collection

experiments/mcp-genmedia/skills/agent-aware-cli/SKILL.md
experiments/mcp-genmedia/skills/build-mcp-genmedia/SKILL.md
experiments/mcp-genmedia/skills/genmedia-audio-engineer/SKILL.md
experiments/mcp-genmedia/skills/genmedia-image-artist/SKILL.md
experiments/mcp-genmedia/skills/genmedia-producer/SKILL.md
experiments/mcp-genmedia/skills/genmedia-voice-director/SKILL.md
experiments/mcp-genmedia/skills/install-mcp-genmedia/SKILL.md
experiments/mcp-genmedia/skills/story-generator/SKILL.md
experiments/mesop-to-lit-skill/skill/mesop-to-lit/SKILL.md

Metadata

Files
0
Version
a1af7c3
Hash
b24224e0
Indexed
2026-07-25 07:30

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-01 11:54
浙ICP备14020137号-1