Communitygithub.com

NVlabs/Skill2Env

当用户希望使用AI工具或编程框架创建、生成或制作视频内容时使用。也适用于用户提及'视频制作'、'AI视频'、'Remotion'、'Hyperframes'、'HeyGen'、'Synthesia'、'Veo'、'Sora'、'Runway'、'Kling'、'Seedance'、'Hailuo'、'MiniMax'、'Pika'、'Hunyuan'、'Wan'、'视频生成'、'AI虚拟形象'、'人物讲话视频'、'程序化视频'、'视频模板'、'解说视频'、'产品演示视频'、'视频管线'或'给我做个视频'等关键词。适用于视频创作、生成和制作工作流程。关于视频内容策略和发布内容,请参考social。关于付费视频广告创意,请参考ad-creative。

Skill2Env 是什么?

此技能将AI代理转变为专业的视频制作专家,能够利用AI生成模型、AI虚拟形象和程序化视频框架高效制作营销视频。它支持多种视频制作方法:程序化视频(如Hyperframes和Remotion,适合数据驱动的模板化视频批量生成)、AI生成(如Veo 3、Sora 2、Runway、Kling等模型,用于从文本或图像提示生成原创素材)以及AI虚拟形象(如HeyGen和Synthesia,用于创建逼真的人物讲话视频而无需真人拍摄)。该技能提供了详细的工具选择指南、视频提示技巧以及端到端的工作流程,涵盖产品演示、解说视频和社交媒体短片制作。它特别强调了代理原生视频管线——使用HTML/CLI/API使得AI代理可以直接控制视频生成流程,无需手动编辑步骤。此外,还包含编辑与复用工具(如Descript、Opus Clip)以及常见错误提醒,帮助用户高效产出专业级视频内容。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/NVlabs/Skill2Env/tree/HEAD/SkillHub/skills/corey-haines/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代理)

开源,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 竖屏
});

最佳用途: 产品公告、更新日志、数据驱动报告、个性化外联视频。

为什么AI代理更偏好它: 纯HTML/CSS意味着任何编码代理无需学习框架即可生成帧。确定性渲染——相同输入始终产生相同输出。

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、插值)
批量渲染本地Lambda (AWS) 可扩展
学习曲线极低中等(React + Remotion API)
许可证Apache 2.0商业使用需公司许可证

AI视频生成

从文本或图像提示生成原创素材。用于B-roll素材、主镜头以及实际无法拍摄的场景。

模型对比

模型分辨率最大时长最佳用途费用
Veo 3 (Google)最高1080p (4K视情况而定)可变综合质量最高,同步音频基于API
Sora 2 (OpenAI)最高1080p最长约20秒电影级画质 + 同步音频,集成ChatGPT/APIAPI + ChatGPT
Runway Gen-4最高4K约10秒/次生成运动控制、时间一致性、编辑风格工作流每月$12-76
Kling 2.5/3.0 (快手)最高1080p最长2分钟长镜头生成,每秒成本较低约$0.03/秒
Seedance (字节跳动)最高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代理可直接生成虚拟形象视频。

套餐视频数量时长
免费版每月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. 在各平台安排发布

代理原生视频管线

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

代理编写脚本(从产品上下文中获取)
    ↓
Hyperframes: 生成模板化视频(HTML → MP4)
    和/或
HeyGen MCP: 根据脚本生成虚拟形象视频
    和/或
Veo/Runway API: 生成B-roll素材
    ↓
代理组装最终成片
    ↓
输出:可直接发布的视频

使其成为代理原生的原因:

  • Hyperframes使用HTML——任何编码代理都能生成
  • HeyGen MCP服务器——代理可直接调用
  • 视频模型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-psychology:用于视频中的钩子和说服技巧

Individual skills in this repo

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

NVlabs/Skill2Env

This skill should be used when the user asks about "digital portfolio", "portfolio website", "project description", "case study", "portfolio curation", "creative portfolio", "act as a portfolio curator", "portfolio curator mode", "portfolio review", "professional presentation", "portfolio architecture", "work samples", "portfolio bio", or needs expertise in building, structuring, and writing professional digital portfolios. Part of the AlterLab FC Skills collection (New Media & Communication department).

NVlabs/Skill2Env

This skill should be used when the user asks about "web content strategy", "SEO writing", "UX writing", "information architecture", "content architecture", "website structure", "act as a web content strategist", "web strategist mode", "site map", "content audit", "microcopy", "meta descriptions", "content hierarchy", "content governance", or needs expertise in planning, structuring, and writing content for websites and digital platforms. Part of the AlterLab FC Skills collection (New Media & Communication department).

NVlabs/Skill2Env

Balance visual design with ATS compatibility for creative roles

NVlabs/Skill2Env

Build immersive, cinematic 2.5D interactive websites using scroll storytelling, parallax depth, text animations, and premium scroll effects — no WebGL required. Use this skill for any web design task: landing pages, product sites, hero sections, scroll animations, parallax, sticky sections, section overlaps, floating products between sections, clip-path reveals, text that flies in from sides, words that light up on scroll, curtain drops, iris opens, card stacks, bleed typography, and any site that should feel cinematic or premium. Trigger on phrases like "make it feel alive", "Apple-style animation", "sections that overlap", "product rises between sections", "immersive", "scrollytelling", or any scroll-driven visual effect. Covers 45+ techniques across 8 categories. Always inspects, judges, and plans assets before coding. Use aggressively for ANY web design task.

NVlabs/Skill2Env

Read-only queue dashboard for workspace-aware ship. (gstack)

NVlabs/Skill2Env

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

NVlabs/Skill2Env

Audits any landing or service page across 48 checks in 10 categories for LLM/AI discoverability, GEO readiness, content clarity, schema markup, internal linking, freshness signals, and technical crawlability. Produces an overall score out of 100, a per-category score out of 100, pass/warn/fail/ manual counts, and a prioritised fix list — all rendered as a standalone HTML report saved to disk. Use when a user provides a URL and asks to audit it, score it, check its GEO readiness, test its AI discoverability, run a landing page audit, or evaluate it for LLM citation potential. Also trigger on phrases like "audit this page", "score this URL", "check GEO for", "is this page AI-ready", "run a GEO audit", "LLM page check", "how would AI read this page", or "landing page score".

NVlabs/Skill2Env

Generates a premium single-page HTML landing page with 3D CSS animations, GSAP scroll effects, and mouse-parallax depth. Forcing intake (product + elevator pitch, audience register, brand overrides, tone) locks down positioning before any copy or markup is written, so the page reflects the actual product rather than generic boilerplate. Use whenever the user says 'landing for X', 'create a landing page', 'build a landing page', 'make a landing page for X', 'I need a web page for Y', or provides product/service details and wants a polished website. Also triggers on 'promotional page', 'product page', 'one-pager', 'web presence', 'sales page'. Outputs a single self-contained HTML file (Claude Code) or HTML artifact (Claude.ai). Supports configurable brand colors via CSS custom property overrides.

NVlabs/Skill2Env

Use when a user asks to build, optimize, backtest, rebalance, or analyze a stock portfolio with Mean-CVaR, efficient frontiers, scenario generation, or NVIDIA cuOpt.

NVlabs/Skill2Env

Transform resume bullets into detailed portfolio case studies

NVlabs/Skill2Env

Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP < 1s, CLS < 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.

NVlabs/Skill2Env

> Visual design direction framework organized by emotional intent (Warm/Cold x Active/Calm). The first design reference system that categorizes sites by what they make you FEEL, not how they look. Includes 48 annotated public website references.

NVlabs/Skill2Env

Run a structured 5-pass finishing audit on any website before launch — scoring visual polish, technical foundation, UX completeness, content quality, and cross-device readiness on 100 points. Use when: **Pre-launch** - Final validation before going live; **Post-redesign** - Verify nothing broke during the overhaul; **Client handoff** - Structured proof that the site is ready; **Quarterly review** - Catch accumulated debt; **Single-pass focus** - Run just Pass 2 after a perf sprint

相关技能