Programmatic video creation with React components, animations, and audio synchronization.
Works with
Compose videos using React components with frame-based animation via useCurrentFrame() and interpolate() for precise timing and motion control
Supports audio integration (MiniMax TTS for voice cloning, Edge TTS for free synthesis) with automatic scene synchronization via audioConfig.ts
Includes 3D video capabilities via React Three Fiber for product demos, character animation, and data visualiza
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionremotion-videoExecute the skills CLI command in your project's root directory to begin installation:
Fetches remotion-video from wshuyi/remotion-video-skill and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate remotion-video. Access via /remotion-video in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
1
total installs
1
this week
171
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
171
stars
用 React 以编程方式创建 MP4 视频的框架。
npx create-video@latest
选择模板后:
cd <project-name>
npm run dev # 启动 Remotion Studio 预览
my-video/
├── src/
│ ├── Root.tsx # 注册所有 Composition
│ ├── HelloWorld.tsx # 视频组件
│ └── index.ts # 入口
├── public/ # 静态资源(音频、图片)
├── remotion.config.ts # 配置文件
└── package.json
import { AbsoluteFill, useCurrentFrame, useVideoConfig } from "remotion";
export const MyVideo = () => {
const frame = useCurrentFrame();
const { fps, durationInFrames } = useVideoConfig();
return (
<AbsoluteFill style={{ backgroundColor: "white", justifyContent: "center", alignItems: "center" }}>
<h1 style={{ fontSize: 100 }}>Frame {frame}</h1>
</AbsoluteFill>
);
};
// Root.tsx
import { Composition } from "remotion";
import { MyVideo } from "./MyVideo";
export const RemotionRoot = () => {
return (
<Composition
id="MyVideo"
component={MyVideo}
durationInFrames={150} // 5秒 @ 30fps
fps={30}
width={1920}
height={1080}
/>
);
};
import { interpolate, useCurrentFrame } from "remotion";
const frame = useCurrentFrame();
// 0-30帧:透明度 0→1
const opacity = interpolate(frame, [0, 30], [0, 1], {
extrapolateRight: "clamp", // 超出范围时钳制
});
// 位移动画
const translateY = interpolate(frame, [0, 30], [50, 0]);
import { spring, useCurrentFrame, useVideoConfig } from "remotion";
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const scale = spring({
frame,
fps,
config: { damping: 10, stiffness: 100 },
});
import { Sequence } from "remotion";
<>
<Sequence from={0} durationInFrames={60}>
<Intro />
</Sequence>
<Sequence from={60} durationInFrames={90}>
<MainContent />
</Sequence>
<Sequence from={150}>
<Outro />
</Sequence>
</>
为视频添加 AI 语音解说,实现音视频同步。支持两种方案:
| 方案 | 优点 | 缺点 | 硬件要求 | 推荐度 |
|---|---|---|---|---|
| MiniMax TTS | 云端克隆、速度极快(<3秒)、音质优秀 | 按字符计费 | 无 | ⭐⭐⭐ 首选 |
| Edge TTS | 零配置、免费 | 固定音色、无法自定义 | 无 | ⭐⭐ |
1. 首选 MiniMax TTS
- 检测 API Key 是否配置
- 测试调用是否正常(余额充足)
- 如果成功 → 使用 MiniMax
2. MiniMax 不可用时
→ 退回 Edge TTS(使用预设音色 zh-CN-YunyangNeural)
云端 API 方案,无需本地 GPU,生成速度极快,音色克隆效果优秀。
| 版本 | API 域名 | 说明 |
|---|---|---|
| 国际版 | api.minimax.io |
推荐,稳定 |
| 国内版 | api.minimaxi.com |
需国内账号 |
⚠️ 常见错误:api.minimax.chat 是错误的域名,会返回 "invalid api key"。请确认使用上表中的正确域名。
使用 scripts/generate_audio_minimax.py 生成音频,支持:
# 设置环境变量
export MINIMAX_API_KEY="your_api_key"
export MINIMAX_VOICE_ID="your_voice_id"
# 运行脚本
python scripts/generate_audio_minimax.py
| 模型 | 价格 |
|---|---|
| speech-02-hd | ¥0.1/千字符 |
| speech-02-turbo | ¥0.05/千字符 |
| 问题 | 原因 | 解决方案 |
|---|---|---|
invalid api key |
使用了错误的 API 域名 | 国际版用 api.minimax.io,国内版用 api.minimaxi.com |
config.ts 语法错误 Syntax error "n" |
Python 脚本在 f-string 中用 ",\\n".join() 产生了字面量 \n 而非真正换行 |
见下方「Python 生成 TypeScript 注意事项」 |
| 长时间无进度显示 | 后台执行命令看不到输出 | 前台执行脚本,或用 tail -f 实时查看日志 |
❌ 错误写法:在 f-string 中使用 \n 会产生字面量字符
# 这会在生成的文件中写入字面的 \n 字符串,而非换行!
content = f'export const SCENES = [Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
remotion-dev/skills
supercent-io/skills-template
shreefentsar/remotion-video-toolkit
affaan-m/everything-claude-code
davila7/claude-code-templates
heygen-com/skills
I recommend remotion-video for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
remotion-video reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for remotion-video matched our evaluation — installs cleanly and behaves as described in the markdown.
Registry listing for remotion-video matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: remotion-video is focused, and the summary matches what you get after install.
Keeps context tight: remotion-video is the kind of skill you can hand to a new teammate without a long onboarding doc.
Useful defaults in remotion-video — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Registry listing for remotion-video matched our evaluation — installs cleanly and behaves as described in the markdown.
remotion-video reduced setup friction for our internal harness; good balance of opinion and flexibility.
remotion-video reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 56