Skills2026年3月29日·1 分钟阅读

Revideo — Code-Driven Video Editor

Create and edit videos with code. MIT-licensed alternative to Remotion with API-driven rendering and dynamic inputs. Forked from Motion Canvas.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Revideo — Code-Driven Video Editor
直接安装命令
npx -y tokrepo@latest install d6468cb8-dd54-40fe-8fe1-513d2e8a8b31 --target codex

先 dry-run 确认安装计划,再运行此命令。

TL;DR
Revideo lets you build videos programmatically in TypeScript with API-driven rendering, forked from Motion Canvas.
§01

What it is

Revideo is an open-source framework for creating videos programmatically using TypeScript. It is a fork of Motion Canvas, designed for developers who want to define scenes, animations, and transitions in code rather than in a GUI timeline editor. Revideo supports API-driven rendering, dynamic inputs, and a local preview server.

This tool targets developers and content teams who produce videos at scale: product demos, explainer animations, data visualizations, or automated social media clips. If your video content follows repeatable patterns and needs dynamic data, Revideo eliminates manual editing.

§02

How it saves time or tokens

This workflow provides the project scaffold and startup commands. Instead of configuring a video rendering pipeline from scratch, you run npm create revideo@latest and get a working project with a local preview server at http://localhost:9000. Changes to your code are reflected in real-time in the preview, and rendering to video files is a single API call.

§03

How to use

  1. Create a new Revideo project:
npm create revideo@latest
cd my-project
npm start
  1. Open http://localhost:9000 to see the visual preview of your project.
  1. Edit scenes in TypeScript. Each scene defines a sequence of animations:
import { makeScene2D, Txt, all } from '@revideo/2d';
import { createRef, waitFor } from '@revideo/core';

export default makeScene2D(function* (view) {
  const title = createRef<Txt>();
  view.add(<Txt ref={title} text='Hello Revideo' fontSize={72} />);
  yield* all(
    title().opacity(1, 0.5),
    title().y(-100, 0.8)
  );
  yield* waitFor(1);
});
  1. Render the final video via the CLI or API.
§04

Example

// Dynamic data-driven scene
import { makeScene2D, Rect, Txt } from '@revideo/2d';

export default makeScene2D(function* (view) {
  const data = [40, 70, 55, 90, 65];
  const bars = data.map((val, i) =>
    <Rect
      x={-200 + i * 100}
      y={200 - val}
      width={60}
      height={val * 2}
      fill='#3b82f6'
    />
  );
  view.add(...bars);
  for (const bar of bars) {
    yield* bar.opacity(0).opacity(1, 0.3);
  }
});
§05

Related on TokRepo

  • Video tools -- Other video creation and editing tools for developers
  • Automation tools -- Automate repetitive content production workflows
§06

Common pitfalls

  • Revideo uses generator functions (function) for animation sequencing. Forgetting the yield keyword causes animations to run instantly instead of being sequenced.
  • The local preview server requires Node.js 18+. Older Node versions cause startup errors.
  • Rendering performance depends on scene complexity. Scenes with many animated elements benefit from reducing resolution during preview and only rendering at full resolution for final output.

常见问题

How does Revideo compare to Remotion?+

Both let you create videos with code. Revideo is MIT-licensed and forked from Motion Canvas, using generator functions for animation sequencing. Remotion uses React components and is licensed under the Remotion License. Choose based on your preferred programming model and licensing needs.

What video formats does Revideo output?+

Revideo renders to MP4 by default using FFmpeg. It supports configurable resolution, frame rate, and codec settings. You need FFmpeg installed on your system for rendering.

Can I use Revideo for automated video generation?+

Yes. Revideo's API-driven rendering accepts dynamic inputs, so you can feed data from a database or API to generate unique videos programmatically. This is ideal for personalized content or data visualization videos at scale.

Does Revideo support audio?+

Yes. You can add audio tracks to your scenes and synchronize them with visual animations. Audio files are loaded as assets and timed using the same generator-based sequencing system.

What is the relationship between Revideo and Motion Canvas?+

Revideo is a fork of Motion Canvas with added features for API-driven rendering and production use cases. Motion Canvas focuses on educational and explanatory animations, while Revideo extends it for programmatic video generation workflows.

引用来源 (3)
🙏

来源与感谢

Created by redotvideo. Licensed under MIT. revideo — ⭐ 3,700+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产