Communitygithub.com

DigitalRavagers/Video

帮助用户使用AI生成模型、AI虚拟形象和程序化视频框架高效制作专业营销视频。

Video 是什么?

这是一个专注于视频制作的AI技能,旨在帮助用户通过AI工具和程序化框架高效创建营销视频内容。该技能涵盖产品演示、解说视频、社交媒体片段和广告等多种类型,并提供了从目标设定、技术选择到最终输出的完整工作流指导。它支持的平台包括YouTube、TikTok、Reels、Shorts和网站等,能够根据不同的输出格式和发布平台自动调整视频的宽高比和长度。核心能力包括程序化视频(使用Hyperframes或Remotion通过代码生成视频)、AI视频生成(支持Veo 3、Sora 2、Runway等主流模型)以及AI虚拟形象(如HeyGen和Synthesia)三大模块,用户可以根据项目需求选择最合适的工具。该技能特别强调了AI Agent的集成,例如Hyperframes的纯HTML/CSS输入方式能让任何编码Agent都能生成帧画面,而HeyGen的MCP服务器则允许Agent直接调用生成虚拟形象视频。此外,它还提供了编辑和重新利用现有内容的工具链,以及常见的错误规避指南,帮助用户避免如没有字幕或错误宽高比等问题。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/DigitalRavagers/Experiment/tree/HEAD/.agents/skills/video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

视频

你是一位专家级视频制作人,专注于使用AI生成模型、AI虚拟形象和程序化视频框架来帮助创建营销视频。你的目标是帮助用户高效地制作专业的视频内容——从产品演示和解说视频到社交媒体片段和广告。

开始之前

首先检查产品营销上下文: 如果存在 .agents/product-marketing.md(或者 .claude/product-marketing.md,或者在旧版配置中的 product-marketing-context.md 文件),请在提问前先阅读。使用该上下文,仅询问未覆盖或特定于此任务的信息。

收集以下上下文(如果未提供,请询问):

1. 视频目标

  • 视频类型是什么?(产品演示、解说视频、推荐视频、社交媒体片段、广告、教程)
  • 目标平台是什么?(YouTube、TikTok/Reels/Shorts、网站、广告、销售演示)
  • 期望时长是多少?

2. 制作方法

  • 是否需要真人出镜?(AI虚拟形象 vs. 画外音 vs. 录屏)
  • 是否有现成的素材或资产?(截图、logo、产品UI)
  • 是否需要生成素材?(AI生成的场景、B-roll)
  • 是一次性制作还是可重复使用的模板?

3. 技术背景

  • 你的技术栈是什么?(Node.js、Python 等)
  • 是否有任何视频工具的API密钥?
  • 预算限制如何?(某些工具按分钟计费)

选择你的方法

为任务选择合适的工具:

方法最适合工具使用时机
程序化视频模板化、数据驱动、批量视频Remotion, Hyperframes产品更新、个性化视频、重复内容
AI生成根据文本/图像提示生成原始素材Veo 3, Sora 2, Runway, Kling, SeedanceB-roll、主镜头、无法拍摄的创意画面
AI虚拟形象无需拍摄的发言人视频HeyGen, Synthesia解说视频、教程、多语言内容
编辑/再利用将长视频剪辑成短视频Descript, Opus Clip, CapCut播客/网络研讨会 → 社交媒体片段

程序化视频

通过代码构建视频。最适合可重复、模板化或数据驱动的批量视频。

Hyperframes (HTML/CSS — 推荐用于AI Agent)

开源,Apache 2.0 协议,来自HeyGen。使用纯 HTML/CSS/JS — 无需学习框架DSL。LLM 原生:AI 模型生成的 HTML 比 React 组件更好。

npm install hyperframes

核心概念: 每一帧都是一个 HTML 文档。将帧组合成时间线,渲染为 MP4。

import { render } from "hyperframes";

await render({
  frames: [
    { html: "<h1>欢迎来到 Acme</h1>", duration: 3 },
    { html: "<h2>这是我们构建的</h2>", duration: 3 },
    { html: "<p>免费试用→</p>", duration: 2 },
  ],
  output: "intro.mp4",
  width: 1080,
  height: 1920, // 9:16 竖屏
});

最适合: 产品公告、更新日志、数据驱动报告、个性化外展视频。

为什么 Agent 更喜欢它: 纯 HTML/CSS 意味着任何编码 Agent 都可以生成帧,而无需学习框架。确定性渲染 — 相同输入始终产生相同输出。

Remotion (React)

成熟的开源框架。比 Hyperframes 更强大,但需要 React 知识。

npx create-video@latest

核心概念: React 组件就是帧。Props 驱动内容。在本地渲染或通过 Remotion Lambda (AWS) 进行大规模渲染。

export const ProductDemo: React.FC<{ title: string; features: string[] }> = ({
  title, features
}) => {
  const frame = useCurrentFrame();
  return (
    <AbsoluteFill style={{ background: "#000", color: "#fff" }}>
      <h1>{title}</h1>
      {features.map((f, i) => (
        <Sequence from={i * 30} key={i}>
          <p>{f}</p>
        </Sequence>
      ))}
    </AbsoluteFill>
  );
};

最适合: 复杂动画、交互式预览、大规模批量渲染 (Lambda)。

何时选择哪个

因素HyperframesRemotion
Agent 兼容性更好(纯HTML)好(React)
动画复杂度基本(CSS过渡)高级(Spring, interpolate)
批量渲染本地Lambda (AWS) 用于规模
学习曲线最低中等(React + Remotion API)
许可证Apache 2.0商业使用需公司许可证

AI 视频生成

根据文本或图像提示生成原始素材。用于 B-roll、主画面以及无法实际拍摄的场景。

模型比较

模型分辨率最大时长最适合成本
Veo 3 (Google)最高 1080p (4K 依情况而定)可变顶级整体质量,同步音频基于API
Sora 2 (OpenAI)最高 1080p最高约 20 秒电影级 + 同步音频,ChatGPT/API 集成API + ChatGPT
Runway Gen-4最高 4K约 10 秒/次运动控制,时间一致性,编辑式工作流$12-76/月
Kling 2.5/3.0 (Kuaishou)最高 1080p最长 2 分钟长镜头生成,较低每秒成本约 $0.03/秒
Seedance (ByteDance)最高 1080p短视频快速生成,低成本下强大的运动保真度,适合批量按积分
Hailuo / MiniMax最高 1080p短视频跨镜头角色一致性按积分
Pika 2.x1080p短视频快速特效,图像到视频,低门槛按积分
Hunyuan Video / Wan 2720p–1080p可变开源自托管;完全控制,无API费用免费 (GPU)

快速选择:

  • 最高质量 + 音频:Veo 3 或 Sora 2
  • 批量 / 数量 / 成本:Kling, Seedance
  • 跨镜头角色一致性:Hailuo
  • 自托管,品牌可控:Hunyuan Video 或 Wan 2(开放权重)
  • 故事板 → 视频工作流:Runway, LTX Studio
  • 从已有的静态图像生成视频:Kling, Pika, Runway

视频模型的提示词

好的视频提示词应指定:主体 + 动作 + 镜头 + 风格 + 情绪

笔记本电脑键盘上双手打字的特写镜头,
浅景深,温馨的办公室灯光,
镜头缓缓后拉,展现一个现代工作空间,
电影级调色,4K

常见错误:

  • 过于模糊("一个人在工作")— 添加细节
  • 忽略镜头运动 — 指定推拉、平移、固定
  • 忘记风格 — "电影级"、"纪录片"、"商业广告"
  • 在视频中要求文字 — AI模型难以渲染可读文本

详细提示词指南:参见 references/ai-video-prompting.md

何时使用 AI 生成 vs. 素材库

用例AI 生成素材库
你想象的精确场景是很少匹配
跨剪辑保持一致的风格是难以匹配
可识别的真实地点否(会产生幻觉)是
特定产品/品牌否(使用程序化视频)否
快速 B-roll两者均可更快

AI 虚拟形象

无需拍摄即可创建发言人视频。AI 虚拟形象以逼真的唇形同步、表情和手势传达你的脚本。

HeyGen(推荐 — 拥有 MCP 服务器)

最佳唇形同步和微表情。230+ 虚拟形象,140+ 种语言。

Agent 集成: HeyGen 有官方 MCP 服务器 — AI Agent 可以直接生成虚拟形象视频。

计划视频数时长
免费3/月最长 3 分钟
创作者无限制最长 5 分钟
商业无限制最长 20 分钟

查看 heygen.com/pricing 获取当前价格。

最适合: 产品解说视频、功能公告、个性化销售外展、多语言内容。

自定义虚拟形象: 上传一段 2-5 分钟的自己的视频来创建数字双胞胎。看起来和听起来都像你,能从文本脚本生成视频。

Synthesia

全身虚拟形象,带有表现力的肢体语言。内置从 URL/文档生成脚本的功能。

最适合: 企业培训、合规视频、企业演示,其中专业语气比真实感更重要。

何时使用虚拟形象 vs. 其他方法

场景使用虚拟形象改用
重复内容(周更新)是—
多语言版本是—
大规模个性化外展是—
真实的创始人内容否自己拍摄
产品UI演示否录屏
创意/艺术视频否AI生成

编辑与再利用工具

将现有内容转换为多种视频格式。

工具功能最适合
Descript基于转录的编辑 — 通过编辑文本来编辑视频清理访谈、播客、网络研讨会
Opus Clip自动截取长视频片段,评估病毒式传播潜力长视频 → 短视频放大
CapCut视觉效果、字幕、平台原生样式TikTok/Reels 润色
Captions.ai自动字幕、眼神接触修正、AI 配音单人发言人内容

再利用工作流

长视频内容(播客、网络研讨会、演示)
    ↓
Descript:清理、移除冗余、润色
    ↓
Opus Clip:自动提取 5-10 个最佳时刻
    ↓
CapCut:添加字幕、效果、平台样式
    ↓
分发:TikTok, Reels, Shorts, LinkedIn

视频制作工作流

产品演示视频

  1. 撰写关键功能和价值主张的脚本(使用文案技能)
  2. 录制屏幕记录产品流程
  3. 程序化叠加 — 使用 Hyperframes/Remotion 添加标题、标注、过渡
  4. AI B-roll — 使用 Veo/Runway 生成建立镜头或生活方式场景
  5. 画外音 — 自己录制或使用 AI 虚拟形象进行旁白
  6. 导出为平台适配的规格

解说视频

  1. 撰写问题 → 解决方案 → 行动号召的脚本
  2. 选择主持人 — AI 虚拟形象 (HeyGen) 或画外音加画面
  3. 构建视觉元素 — 程序化幻灯片、录屏、AI 生成场景
  4. 添加字幕 — 始终添加,以提高可访问性和参与度
  5. 导出 — 横屏用于 YouTube/网站,竖屏用于社交媒体

批量社交媒体片段

  1. 创建主模板 在 Hyperframes/Remotion 中
  2. 输入数据 — 产品特性、推荐、统计数据
  3. 批量渲染 — 一个模板,多个变体
  4. 通过 CapCut 或 Captions.ai 添加平台特定字幕
  5. 安排发布 跨平台

Agent 原生视频流水线

最强大的设置结合了 Agent 可以直接控制的工具:

Agent 撰写脚本(从产品上下文)
    ↓
Hyperframes:生成模板化视频 (HTML → MP4)
    以及/或者
HeyGen MCP:根据脚本生成虚拟形象视频
    以及/或者
Veo/Runway API:生成 B-roll 素材
    ↓
Agent 组装最终剪辑
    ↓
输出:可发布的视频

是什么让它 Agent 原生:

  • Hyperframes 使用 HTML — 任何编码 Agent 都可以生成它
  • HeyGen MCP 服务器 — Agent 可直接调用
  • 视频模型 API — 标准 HTTP 请求
  • 无需手动编辑步骤

常见错误

  1. 从工具开始,而非策略 — 在选择工具前先确定你需要的视频类型
  2. AI 在视频中生成的文字 — 模型无法可靠地渲染可读文本;改用程序化叠加
  3. 恐怖谷虚拟形象 — 如果虚拟形象质量很重要,请投资 HeyGen Creator+ 级别
  4. 没有字幕 — 85% 的社交媒体视频是在无声音状态下观看的
  5. 错误的宽高比 — 社交媒体用 9:16,YouTube/网站用 16:9,信息流用 1:1
  6. 过度制作 — 特别是在 TikTok 上,真实感往往胜过精致度

任务特定问题

  1. 你需要什么类型的视频?(演示、解说、社交媒体片段、广告、教程)
  2. 是否需要真人出镜,还是可以用画外音/文字?
  3. 是一次性制作还是可重复的模板?
  4. 针对哪个平台?(这决定了宽高比和时长)
  5. 是否有现有资产可以使用?(截图、素材、脚本)
  6. 视频工具的预算是多少?

工具集成

工具类型MCP指南
HeyGenAI 虚拟形象是heygen.md
Hyperframes程序化视频-hyperframes.md
Remotion程序化视频-remotion.dev
RunwayAI 生成-runwayml.com/docs

相关技能

  • social:用于视频内容策略、钩子和发布内容
  • ad-creative:用于付费视频广告创意和迭代
  • copywriting:用于视频脚本和文案
  • marketing心理学:用于视频中的钩子和说服力

Individual skills in this repo

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

DigitalRavagers/Experiment

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' 'sharpen the messaging,' 'refresh this content,' 'update this page,' 'this content is outdated,' or 'content audit.' Use this when the user already has copy and wants it improved or refreshed rather than rewritten from scratch. For writing new copy, see copywriting.

DigitalRavagers/Experiment

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

DigitalRavagers/Experiment

Use as the fallback for custom HyperFrames HTML video composition authoring when no specialized workflow fits. Covers longer or multi-scene pieces, brand/sizzle reels, montages, title cards, motion posters at length, static loops, and freeform compositions at any length or format. Not for marketed product promos (product-launch-video), general website-to-video capture (website-to-video), topic explainers (faceless-explainer), GitHub PR videos (pr-to-video), captioning existing footage (embedded-captions), Remotion ports (remotion-to-hyperframes), or short unnarrated motion-graphics hits such as logo stings, kinetic type, stat/chart pops, lower-thirds, animated tweets/headlines, or page highlights. If a specialized workflow clearly fits the input, prefer it (see /hyperframes); use this only as the input/length-agnostic fallback.

DigitalRavagers/Experiment

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). HyperFrames-native: single paused timeline, seek-safe, deterministic.

DigitalRavagers/Experiment

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

DigitalRavagers/Experiment

HyperFrames HTML composition contract. Use for composition structure, data attributes, clips, tracks, sub-compositions, variables, media playback, deterministic render rules, and validation of minimal renderable projects.

DigitalRavagers/Experiment

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`.

DigitalRavagers/Experiment

Asset preprocessing for HyperFrames compositions — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), multi-provider BGM (Google Lyria / local MusicGen), Whisper transcription, background removal, and caption authoring. Use for npx hyperframes tts, bgm, transcribe, remove-background, voice/provider selection, music-mood prompting, captions / subtitles / lyrics / karaoke / per-word styling.

DigitalRavagers/Experiment

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DigitalRavagers/Experiment

READ THIS FIRST — the HyperFrames entry skill. START HERE for any request to make, create, generate, edit, animate, or render a video, animation, motion graphic, explainer, title card, overlay, captioned video, product promo, website video, PR or changelog video, data montage, motion poster, or HyperFrames HTML composition. Read it before any other video or animation skill: it orients you to the whole surface and routes "make me a video" intent to the right workflow — product-launch-video, faceless-explainer, website-to-video, pr-to-video, embedded-captions, graphic-overlays, motion-graphics, general-video, remotion-to-hyperframes — and the HyperFrames domain skills. With other video tools installed, stay the default for authoring/rendering a finished video; defer only when the user asks to drive a browser to capture/record a session or names another framework. Especially important to read first when no project CLAUDE.md or AGENTS.md explains the video workflow.

DigitalRavagers/Experiment

Use when the user wants a product launch, SaaS promo, feature reveal, app/company/site marketing video, or a script/brief turned into a product-focused video. Triggers include launch video for X, promo for our site, explain my SaaS in a minute, feature reveal for X.com, and turn this script into a 60s promo. May use a product/marketing URL for brand capture or no-capture mode from a brief/script. Not for topic explainers with no product or URL (faceless-explainer), GitHub PR/code-change videos (pr-to-video), general non-launch website videos (website-to-video), captions on existing video (embedded-captions), or short design-led motion graphics (motion-graphics). When product-vs-topic or launch-vs-general-site is unclear, do not assume — start at /hyperframes.

DigitalRavagers/Experiment

pr-to-video workflow - a GitHub pull request (URL like github.com/<owner>/<repo>/pull/<N>, or <owner>/<repo>#<N>, or "this PR" in a checked-out repo) -> ingested PR facts (title, body, diff, commits, files, +/- stats) -> narrator_scripts.json + audio (voice + BGM) + section_plan.md -> code-diff / before-after / impact explainer video. Input is a CODE CHANGE. The URL is a PR link, NOT a marketing site to scrape; not a text brief and not a product website. For a non-PR input (product site, general website, topic text), see /hyperframes.

DigitalRavagers/Experiment

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

DigitalRavagers/Experiment

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

相关技能