Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计通过

video-generator视频生成器

Agent Skill

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

总安装

214

周安装

9

GitHub Stars

9

下载量

75
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cdeistopened/skill-stack --skill video-generator

简介

利用 Google VEO 或 OpenAI Sora 生成高质量短视频,支持多种规格。

  • 适用于视频制作、动画合成和 Remotion 项目开发场景。
  • 使用时需配置 API 密钥,确认分辨率、时长和素材版权授权。
  • 通过 GitHub 安装,支持主流宿主环境,建议准备音视频素材和编辑需求。
  • video-generator 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Video Generator

Generate professional short-form videos using Google VEO 3.1 (with native audio) or OpenAI Sora (high visual quality, up to 12s).

Prerequisites & Setup

API Keys

You need at least one. Both gives you maximum flexibility.

VEO (Google):

  1. Go to Google AI Studio
  2. Sign in with your Google account
  3. Click "Create API Key"
  4. Copy the generated key
export GEMINI_API_KEY=your_gemini_key_here

Sora (OpenAI):

  1. Go to OpenAI Platform
  2. Create a new API key
  3. Copy the generated key
export OPENAI_API_KEY=your_openai_key_here

Install Dependencies

pip install google-genai requests

Available Models

ProviderModelCLI --modelBest For
VEOVeo 3.1 Standardstandard (default)Quality, audio fidelity, final assets
VEOVeo 3.1 FastfastDrafts, iteration, quick previews
SoraSora 2sora-2 (default)Visual quality, creative motion
SoraSora 2 Prosora-2-proHighest Sora quality, slower

When to Use Which

NeedUse
Native synchronized audio (dialogue, SFX)VEO - Sora has no audio
Longer clips (12 seconds)Sora - VEO maxes at 8s
Higher visual fidelity / artistic stylesSora - stronger on visual aesthetics
Fast iteration / draftsVEO Fast - quickest turnaround
4K resolutionVEO - Sora uses fixed sizes
Negative prompts (exclude elements)VEO - Sora doesn't support them

Video Parameters

ParameterVEO OptionsSora OptionsDefault
Duration4, 6, or 8 seconds4, 8, or 12 seconds8s
Resolution720p, 1080p, 4KFixed (from aspect ratio)720p
Aspect Ratio16:9, 9:1616:9 -> 1280x720, 9:16 -> 720x128016:9
Count1-4 variations1-4 variations1
Negative PromptSupportedNot supported (ignored)none

Approximate Cost

ProviderModelCost
VEOStandard~$0.025-0.05 per video
VEOFast~$0.01-0.025 per video
Sorasora-2~$0.10 per second of video
Sorasora-2-pro~$0.20 per second of video

Latency

Video generation is async - expect 11 seconds to 6 minutes depending on server load and provider. The script polls automatically and saves when ready.


Workflow Overview

  1. Define the Concept - What story does the video tell in 4-12 seconds?
  2. Storyboard the Shot - Camera, motion, subject, environment
  3. Add Audio Direction - Dialogue, sound effects, ambient sound (VEO only)
  4. Generate Video - Run via API
  5. Iterate - Adjust prompt based on results

Prompt Rules

  1. 150-300 characters is the sweet spot. Under 100 = generic. Over 400 = the model drops elements unpredictably.
  2. One shot = one action. Don't pack multiple scene changes or style shifts into one prompt. One camera move + one subject action.
  3. Describe what you want, not what you don't want. Use the --negative flag for exclusions (VEO only), not the main prompt.
  4. Treat audio as a separate layer. Write audio cues in their own sentences, not mixed into visual descriptions. (VEO only - Sora has no audio.)
  5. Use colon syntax for dialogue. A man says: "Hello!" prevents subtitle artifacts. (VEO only.)
  6. Keep dialogue under 7 words per line. Longer speech causes lip-sync drift. (VEO only.)
  7. Start simple, then layer. Begin with a basic prompt, evaluate, then add one variable at a time.
  8. Slow camera movements win. Fast pans and spins break output. Use tight framing for perceived speed.

Storyboarding the Shot

Structure your prompt with cinematic language. Both VEO and Sora respond well to film terminology:

Camera Language

TermEffect
Wide shotShows full environment, establishes context
Close-upTight on a subject, emphasizes detail
Tracking shotCamera follows subject movement
Dolly in/outCamera moves toward or away from subject
Static shotLocked camera, subject moves within frame
Slow panCamera rotates horizontally across scene
Overhead / bird's eyeLooking straight down
Low angleLooking up at subject, adds drama

Motion Description

Be explicit about what moves and how:

Don'tDo
"A dog in a park""A golden retriever runs toward camera through tall grass, ears bouncing"
"City at night""Camera slowly dollies through a neon-lit Tokyo alley as rain puddles reflect signs"
"Ocean""A single wave forms, curls, and crashes onto wet sand in slow motion"

Lighting & Atmosphere

TermMood
Golden hourWarm, nostalgic, cinematic
OvercastSoft, even, contemplative
Neon / artificialUrban, energetic, modern
CandlelightIntimate, quiet
Hard shadowsDramatic, high contrast

Audio Direction (VEO Only)

VEO 3.1 generates synchronized audio natively. This is a major differentiator.

Three Types of Audio Cues

1. Dialogue - Use colon syntax before quotes:

A barista says: "Here you go!" as she slides a latte across the counter.

Keep lines under 7 words for clean lip-sync. One sentence max per 8-second clip.

2. Sound Effects - Describe specific sounds:

The sound of a match striking, then a candle flame flickering to life.

3. Ambient Sound - Set the sonic environment:

Birds chirping in the background, distant traffic hum, morning atmosphere.

Prompt Structure (5-Element Priority)

Structure prompts in this order - you don't need all five every time:

  1. Shot Specification - camera work, framing, movement
  2. Setting & Atmosphere - location, time, weather, lighting
  3. Subject & Action - who/what, described in beats
  4. Audio Layer - dialogue, SFX, ambient (VEO only)
  5. Style/Grade - artistic treatment, lens, color
[Shot type + camera movement]. [Setting and lighting]. [Subject doing action].
[Audio: what you hear]. [Style/grade].

Example Prompts

Podcast promo (VEO, 16:9):

A close-up tracking shot of a vintage microphone in a warmly lit podcast studio.
Steam rises slowly from a coffee mug beside it. Morning sunlight filters through
blinds, casting soft stripes across the desk. The sound of a quiet room - a clock
ticking, the faint hum of equipment. Cinematic, intimate, inviting.

Social teaser - vertical (Sora, 9:16):

A hand reaches into frame and opens a leather-bound journal on a wooden desk.
The pages flutter briefly before settling on a page covered in handwritten notes.
A pen is set down beside the book. Warm overhead lighting, shallow depth of field.
Shot on 16mm film, natural grain.

Product reveal (either provider, 16:9):

Camera slowly orbits a pair of wireless headphones placed on a dark marble surface.
Dramatic studio lighting with a single warm key light from the left. The headphones
cast a sharp shadow. Premium, minimal, modern.

Running the Script

# VEO: Basic generation (8s, 720p, 16:9)
python scripts/generate_video.py "Your prompt here"

# VEO: Fast draft for iteration
python scripts/generate_video.py "Your prompt here" --model fast

# VEO: High quality vertical video for social
python scripts/generate_video.py "Your prompt" --aspect 9:16 --resolution 1080p

# VEO: Multiple variations to choose from
python scripts/generate_video.py "Your prompt" --count 2 --output ./videos

# VEO: Short clip with specific settings
python scripts/generate_video.py "Your prompt" --duration 4 --resolution 4k --name "hero-clip"

# VEO: Exclude unwanted elements
python scripts/generate_video.py "Your prompt" --negative "text overlays, watermarks, blurry"

# Sora: Basic generation
python scripts/generate_video.py "A cat on a windowsill, warm light" --provider sora

# Sora: 12-second clip (longer than VEO allows)
python scripts/generate_video.py "A dog running through a meadow" --provider sora --duration 12

# Sora: Pro model, vertical
python scripts/generate_video.py "Latte art being poured" --provider sora --model sora-2-pro --aspect 9:16

# Sora: Multiple variations
python scripts/generate_video.py "Ocean waves at sunset" --provider sora --count 2 --output ./videos

Options:

FlagValuesDefaultNotes
--providerveo, soraveoVEO for audio, Sora for visual quality
--modelVEO: standard, fast / Sora: sora-2, sora-2-prostandard / sora-2Provider-specific models
--aspect16:9, 9:1616:9Vertical for Reels/TikTok/Shorts
--resolution720p, 1080p, 4k720pVEO only (ignored by Sora)
--durationVEO: 4, 6, 8 / Sora: 4, 8, 128Sora supports 12s
--negativetextnoneVEO only (ignored by Sora)
--count1-41Generate variations
--outputpath.Save directory
--nametextnoneFilename prefix

Output: MP4 files with timestamp-based filenames.


Iteration Strategy

  1. Start with --model fast (VEO) or --duration 4 (Sora) for quick drafts
  2. Refine the prompt through 2-3 fast iterations
  3. Switch to full quality/duration for the final take
  4. Generate 2 variations of the final prompt and pick the best

After reviewing generated video:

  • Motion wrong? Be more explicit about direction, speed, and sequence
  • Audio off? (VEO) Add or refine audio cues
  • Too much happening? Simplify. One clear action per clip works best
  • Style drift? Add a negative prompt (VEO) or adjust style descriptors
  • Wrong mood? Adjust lighting and atmosphere descriptors

Negative Prompt Guide (VEO Only)

Use --negative to steer away from common problems:

ProblemNegative Prompt
Text/watermarks appearing"text, watermarks, logos, subtitles"
Uncanny faces"distorted faces, morphing features"
Jittery motion"jerky motion, flickering, stuttering"
Over-saturated look"oversaturated, HDR, neon colors"
Stock footage feel"generic, corporate, stock footage aesthetic"

Prompting Principles

Think in Shots, Not Scenes

8 seconds is one shot. Don't try to cram a narrative arc - describe a single continuous moment.

Don'tDo
"A chef makes a meal from scratch and serves it""A chef's hands julienne carrots on a wooden cutting board, knife moving rhythmically"
"A day at the beach from sunrise to sunset""Waves gently lap at bare feet on sand, golden hour light, camera at ground level"

Be Specific About Motion

Vague motion descriptions produce vague results. Describe *what moves*, *how fast*, and *in which direction*.

Layer Your Audio (VEO)

Don't just describe one sound - create a soundscape:

The crackling of a vinyl record playing soft jazz,
a distant car horn outside the window,
the quiet clink of an ice cube in a glass.

Use Negative Prompts Proactively (VEO)

Always include --negative "text, watermarks" at minimum. The model occasionally generates unwanted text overlays.


Use Cases

Social Media (9:16, 4-8s)

Short, punchy, loop-friendly. Favor close-ups and strong motion.

# VEO with audio
python scripts/generate_video.py "Close-up of coffee being poured into a ceramic mug, steam rising, warm morning light. The sound of liquid pouring and a soft sigh." \
  --aspect 9:16 --duration 4 --resolution 1080p

# Sora for visual quality
python scripts/generate_video.py "Close-up of coffee being poured into a ceramic mug, steam rising, warm morning light. Photorealistic, shallow depth of field." \
  --provider sora --aspect 9:16 --duration 4

Podcast/Newsletter Headers (16:9, 8s)

Ambient, atmospheric. Favor wide shots and subtle motion.

python scripts/generate_video.py "A vintage radio on a wooden shelf, dial slowly turning. Warm tungsten light. Soft static transitioning into faint music." \
  --resolution 1080p --name "podcast-header"

Product/Brand (16:9, 6-8s)

Clean, controlled, premium feel. Studio lighting, slow orbits.

python scripts/generate_video.py "Camera slowly orbits a leather notebook on a dark wood desk. Single warm key light. The sound of pages turning gently." \
  --resolution 4k --duration 6 --negative "text, watermarks, busy background"

Extended Clips (Sora, 12s)

For content that needs more breathing room.

python scripts/generate_video.py "A woman walks through an autumn forest path, leaves falling around her. Golden hour light filters through the canopy. Cinematic, contemplative." \
  --provider sora --duration 12 --name "autumn-walk"

Multi-Clip Consistency

When generating multiple clips for a project:

Lock Your Constants

Create a consistency block and repeat it verbatim across all prompts:

CHARACTER: A woman in her thirties with short silver hair and a black turtleneck
PALETTE: amber, cream, walnut brown, deep olive
LIGHTING: Soft key light from camera right, warm tungsten
STYLE: Cinematic, shallow depth of field, warm film grain
NEGATIVE: no subtitles, no on-screen text, no watermarks

Consistency Checklist

  • Same character description, word for word
  • Same palette anchors (3-5 named colors)
  • Same lighting direction and quality
  • Same aspect ratio and resolution
  • Same style/grade language
  • Same provider for all clips in a sequence

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.44%
按下载量换算25

Claude

29.53%
按下载量换算22

Cursor

19.5%
按下载量换算15

Gemini CLI

9.96%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills