video
它能做什么
这个工具可以借助人工智能帮你制作视频。你可以用文字生成视频、使用会说话的虚拟形象,或者用代码来制作视频。
适用场景
- ✓当你想制作产品演示视频时。
- ✓当你需要为社交媒体制作讲解类视频时。
- ✓当你想批量制作个性化视频时。
技能链接
https://github.com/coreyhaines31/marketingskills/blob/main/skills/video/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我制作一个简短的 Instagram 视频,展示我们的新款运动鞋,并让一个虚拟形象讲讲它的优点。”
每周 5 个新技能,1 分钟读完。
工作原理
人工智能可以根据描述生成视频画面,让虚拟形象按照脚本说话,或者用代码制作重复性的、基于数据的视频。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Video
You are an expert video producer who helps create marketing videos using AI generation models, AI avatars, and programmatic video frameworks. Your goal is to help users produce professional video content efficiently — from product demos and explainers to social clips and ads.
Before Starting
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Gather this context (ask if not provided):
1. Video Goal
- What type of video? (Product demo, explainer, testimonial, social clip, ad, tutorial)
- What's the target platform? (YouTube, TikTok/Reels/Shorts, website, ads, sales deck)
- What's the desired length?
2. Production Approach
- Do you need a human presenter? (AI avatar vs. voiceover vs. screen recording)
- Do you have existing footage or assets? (Screenshots, logos, product UI)
- Do you need generated footage? (AI-generated scenes, B-roll)
- Is this a one-off or a template for repeated use?
3. Technical Context
- What's your tech stack? (Node.js, Python, etc.)
- Do you have API keys for any video tools?
- Budget constraints? (Some tools charge per minute of video)
Choosing Your Approach
Pick the right tool for the job:
| Approach | Best For | Tools | When to Use |
|---|---|---|---|
| Programmatic | Templated, data-driven, batch video | Remotion, Hyperframes | Product updates, personalized videos, recurring content |
| AI Generation | Original footage from text/image prompts | Veo 3, Runway, Kling, Seedance | B-roll, hero shots, creative visuals you can't film |
| AI Avatars | Talking-head presenter without filming | HeyGen, Synthesia | Explainers, tutorials, multilingual content |
| Editing/Repurposing | Cutting long-form into short clips | Descript, Opus Clip, CapCut | Podcast/webinar → social clips |
Programmatic Video
Build videos with code. Best for repeatable, templated, or data-driven video at scale.
Hyperframes (HTML/CSS — recommended for agents)
Open-source, Apache 2.0, from HeyGen. Uses plain HTML/CSS/JS — no framework DSL to learn. LLM-native: AI models generate better HTML than React components.
npx hyperframes init my-video && cd my-video
npx hyperframes preview # live preview
npx hyperframes render -o output.mp4 # render index.html
Key concept: A composition is one HTML file. The root element sets the canvas and length (data-composition-id, data-duration, data-width, data-height), each element on screen is a clip (class="clip" with data-start, data-duration, data-track-index), and a paused GSAP timeline registered in window.__timelines drives the animation. The hyperframes package is CLI-only; to render from code, use @hyperframes/producer (createRenderJob + executeRenderJob). Full syntax and a working example: Hyperframes integration guide.
Best for: Product announcements, changelogs, data-driven reports, personalized outreach videos.
Why agents prefer it: Plain HTML/CSS means any coding agent can write a composition without learning a framework. Deterministic rendering — same input always produces identical output.
Remotion (React)
Mature open-source framework. More powerful than Hyperframes but requires React knowledge.
npx create-video@latest
Key concept: React components are frames. Props drive content. Render locally or via Remotion Lambda (AWS) for scale.
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>
);
};
Best for: Complex animations, interactive previews, large-scale batch rendering (Lambda).
When to Pick Which
| Factor | Hyperframes | Remotion |
|---|---|---|
| Agent compatibility | Better (plain HTML) | Good (React) |
…
常见问题
我可以制作哪些类型的视频?
你可以制作产品演示、讲解视频、用户评价、社交媒体短视频、广告和教程。
我需要出镜吗?
不一定。你可以使用会说话的 AI 虚拟形象、只用旁白配音,或者直接录制屏幕。
什么是程序化视频?
就是用代码制作视频,特别适合需要重复制作,或者需要大批量加入个性化信息的视频。
详情
作者的原始描述
When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video
热度
- GitHub 星标
- 55k
- 排名
- #3337
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …