Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

video-generation视频生成

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

1,091

周安装

45

GitHub Stars

10

下载量

356
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-generation(视频生成)
来源仓库:https://github.com/michaelboeding/skills
仓库路径:skills/video-generation
安装命令:
npx skills add https://github.com/michaelboeding/skills --skill video-generation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/michaelboeding/skills --skill video-generation

简介

video-generation 用于辅助视频生成、动画合成或 Remotion 项目开发,适合组织镜头和生成素材说明。

  • 适用于短视频制作、宣传片或交互式内容场景。
  • 使用时需确认分辨率、时长和导出格式要求。
  • 涉及外部素材或人物肖像时应先核对版权授权和内容审核要求。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Video Generation Skill

Generate videos using AI (Google Veo 3.1, OpenAI Sora).

Capabilities:

  • 🎬 Text-to-Video: Create videos from text descriptions
  • 🖼️ Image-to-Video: Animate images as the first frame
  • 🔊 Audio Generation: Dialogue, sound effects, ambient sounds (Veo 3+)
  • 🎭 Reference Images: Guide video content with up to 3 reference images (Veo 3.1)

Prerequisites

Default: Vertex AI (10 requests/minute) ⭐

Vertex AI is the default backend with 1400x higher rate limits:

# 1. Set your project
export GOOGLE_CLOUD_PROJECT=your-project-id

# 2. Authenticate (opens browser)
gcloud auth application-default login

# 3. Enable the API (one-time)
gcloud services enable aiplatform.googleapis.com

Add to your .env file:

GOOGLE_CLOUD_PROJECT=your-project-id
GOOGLE_CLOUD_LOCATION=us-central1

Fallback: AI Studio (10 requests/day)

Only use if you don't have a GCP project:

For Sora (OpenAI)

  • OPENAI_API_KEY - For OpenAI Sora

Available Models

Google Veo Models

ModelDescriptionBest For
veo-3.1Highest quality (default)Professional videos, dialogue, reference images
veo-3.1-fastFaster processingQuick iterations, batch generation

Both models include:

  • 720p/1080p resolution
  • 4, 6, or 8 second duration
  • Native audio (dialogue, SFX, ambient)
  • Image-to-video (animate images)
  • Reference images (up to 3)
  • Video extension
  • Batch/parallel generation

OpenAI Sora

  • Best for: Creative videos, cinematic quality, complex motion
  • Resolutions: 480p, 720p, 1080p
  • Durations: 5s, 10s, 15s, 20s
  • Features: Text-to-video, image-to-video

Workflow

Step 1: Gather Requirements (REQUIRED)

⚠️ Use interactive questioning — ask ONE question at a time.

Question Flow

⚠️ Use the AskUserQuestion tool for each question below. Do not just print questions in your response — use the tool to create interactive prompts with the options shown.

Q1: Image

"I'll generate that video for you! First — do you have an image to animate? - Yes (provide path — I'll use it as the first frame) - No, generate from scratch"

*Wait for response.*

Q2: Audio

"What audio preference? - With audio (default) — Veo 3.1 generates dialogue, SFX, ambient - Silent video — no audio"

*Wait for response.*

Q3: Model

"Which model would you like? - veo-3.1 — Latest, highest quality with audio (default) - veo-3.1-fast — Faster processing with audio - veo-3 / veo-3-fast — Previous generation with audio - sora — OpenAI, up to 20 seconds, no audio"

*Wait for response.*

Q4: Duration

"What duration? - 4 seconds - 6 seconds - 8 seconds (default)"

*Wait for response.*

Q5: Format

"What aspect ratio and resolution? - 16:9 landscape, 720p - 16:9 landscape, 1080p - 9:16 portrait, 720p - 9:16 portrait, 1080p - Or specify"

*Wait for response.*

Quick Reference

QuestionDetermines
ImageImage-to-video vs text-to-video
AudioWith/without audio generation
ModelQuality and speed tradeoff
DurationClip length
FormatAspect ratio and resolution

Step 2: Craft the Prompt

Transform the user request into an effective video prompt:

  1. Describe the scene: Set the visual context
  2. Specify action: What moves, changes, happens
  3. Include camera work: "slow pan", "tracking shot", "dolly shot"
  4. Add audio cues (Veo 3+): Use quotes for dialogue, describe sounds
  5. Set the mood: Lighting, atmosphere, time of day

Example with dialogue (Veo 3.1):

  • User: "a person discovering treasure"
  • Enhanced: "Close-up of a treasure hunter's face as torchlight flickers. He murmurs 'This must be it...' while brushing dust off an ancient chest. Sound of creaking hinges as he opens it, revealing golden light on his awestruck face. Cinematic, dramatic shadows."

Example without dialogue:

  • User: "a dog running on a beach"
  • Enhanced: "Cinematic slow-motion shot of a golden retriever running joyfully along a beach at sunset, waves lapping, warm golden hour lighting, shallow depth of field"

Step 3: Select the Model

Default: veo-3.1 (highest quality, with audio)

Use CaseRecommended ModelReason
Best qualityveo-3.1 (default)Highest quality, audio
Quick iterationveo-3.1-fastFaster processing
Batch generationveo-3.1-fastSpeed matters for multiple clips
Longer videos (>8s)soraSupports up to 20s

Step 4: Generate the Video

Execute the appropriate script from ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/:

For Google Veo 3.1 (default, with audio):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --prompt "your enhanced prompt with 'dialogue in quotes'" \
  --model "veo-3.1" \
  --duration 8 \
  --aspect-ratio "16:9" \
  --resolution "720p"

For Google Veo 3.1 with image input:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --prompt "The cat slowly opens its eyes and yawns" \
  --image "/path/to/cat.jpg" \
  --model "veo-3.1" \
  --duration 8

For faster generation:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --prompt "your prompt" \
  --model "veo-3.1-fast"

For OpenAI Sora (longer videos):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/sora.py \
  --prompt "your enhanced prompt" \
  --duration 20 \
  --resolution "1080p"

List available models:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py --list-models

Video Extension (For Long-Form Continuity)

The --extend flag creates TRUE visual continuity by continuing from where a previous Veo video ended. This is the best approach for long-form videos.

Basic extension:

# First, generate initial clip
python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --prompt "A person walks through a forest at sunrise" \
  --duration 8

# Extend it with new content (adds ~7 seconds)
python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --extend veo_veo-3.1_20260104_120000.mp4 \
  --prompt "Continue walking, discover a hidden stream"

Multiple extensions (for longer videos):

# Extend 5 times (adds ~35 seconds of continuation)
python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --extend initial_clip.mp4 \
  --prompt "Keep exploring the forest, encounter wildlife" \
  --extend-times 5

Extension vs Stitching:

ApproachResultUse Case
ExtensionTrue continuity, same characters/sceneLong continuous shots
StitchingSeparate clips with transitionsScene changes, montages

Extension Limits:

  • Input video must be Veo-generated (max 141 seconds)
  • Each extension adds ~7 seconds
  • Maximum 20 extensions total (~2.5 minutes)
  • Output resolution is 720p

Batch Generation (Parallel)

Generate multiple videos simultaneously for faster multi-scene workflows. Instead of waiting 15+ minutes for 5 sequential videos, generate them all in parallel (~3 minutes total).

Create a scenes.json file:

[
  {"prompt": "Scene 1: Cinematic hero shot of wireless earbuds on dark surface", "duration": 6, "output": "scene1_hero.mp4"},
  {"prompt": "Scene 2: Sound waves visualization, person enjoying music", "duration": 8, "output": "scene2_sound.mp4"},
  {"prompt": "Scene 3: Close-up of earbud in ear, person exercising", "duration": 8, "output": "scene3_comfort.mp4"},
  {"prompt": "Scene 4: Lifestyle montage, various settings", "duration": 8, "output": "scene4_lifestyle.mp4"},
  {"prompt": "Scene 5: Product with logo on clean background", "duration": 4, "output": "scene5_cta.mp4"}
]

Generate all scenes in parallel:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --batch scenes.json

With custom worker count:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/video-generation/scripts/veo.py \
  --batch scenes.json \
  --max-workers 3

Batch config options per video:

OptionDescriptionDefault
promptVideo description (required)-
modelveo-3.1, veo-3.1-fast, etc.veo-3.1
duration4, 6, or 8 seconds8
aspect_ratio"16:9" or "9:16""16:9"
resolution"720p" or "1080p""720p"
imagePath to image for image-to-video-
negative_promptWhat to avoid-
outputCustom output filenameauto-generated

Speed comparison:

ScenesSequentialParallel (5 workers)Speedup
3~9 min~3 min3x
5~15 min~3 min5x
10~30 min~6 min5x

Step 5: Deliver the Result

  1. Provide the generated video file/URL
  2. Share the enhanced prompt used
  3. Mention generation settings (duration, resolution)
  4. Offer to:

- Generate variations - Try different style/duration - Use a different API - Extend the video

Error Handling

Missing API key: Inform the user which key is needed:

Content policy violation: Rephrase the prompt appropriately.

Generation failed: Retry with simplified prompt or different API.

Quota exceeded: Suggest waiting or trying the other provider.

Prompt Engineering Tips

For Audio (Veo 3.1)

  • Dialogue: Use quotes for speech: "Hello!" she said excitedly
  • Sound effects: Describe explicitly: tires screeching, engine roaring
  • Ambient: Describe the soundscape: birds chirping, distant traffic
  • Example: A man whispers "Did you hear that?" as footsteps echo in the dark hallway

For Cinematic Quality

  • Include camera directions: "slow dolly", "tracking shot", "crane shot"
  • Specify lighting: "golden hour", "dramatic shadows", "soft diffused light"
  • Add film references: "Blade Runner style", "Wes Anderson aesthetic"

For Realistic Motion

  • Describe physics: "natural movement", "realistic physics"
  • Include environmental details: "wind in hair", "leaves rustling"
  • Specify speed: "slow motion", "real-time", "time-lapse"

For Image-to-Video

  • Describe what should change/move from the starting image
  • Be specific about the action: "the cat slowly opens its eyes"
  • Include environmental motion: "leaves blow past"

Negative Prompts

  • Describe what NOT to include: --negative-prompt "cartoon, low quality, blurry"
  • Don't use "no" or "don't" - just describe the unwanted elements

API Comparison

FeatureVeo 3.1 (Default)Veo 3.1 FastSora
ProviderGoogleGoogleOpenAI
API KeyGOOGLE_API_KEYGOOGLE_API_KEYOPENAI_API_KEY
Max duration8 seconds8 seconds20 seconds
Resolution720p, 1080p720p, 1080pUp to 1080p
Aspect ratios16:9, 9:1616:9, 9:1616:9, 9:16, 1:1
Audio (dialogue, SFX)✅ Yes✅ Yes❌ No
Image-to-video✅ Yes✅ Yes✅ Yes
Reference images✅ Up to 3✅ Up to 3❌ No
Video extension✅ Yes✅ Yes❌ No
Batch generation✅ Yes✅ Yes❌ No
SpeedBest quality~2x fasterSlower
Best forProfessionalBatch workflowsLonger videos

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.03%
按下载量换算125

Claude

30.03%
按下载量换算107

Cursor

21.06%
按下载量换算75

Gemini CLI

10.76%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills