remotion-video
Create, modify, and render Remotion React video projects in the current Vetta conversation workspace. Use for requests to make programmatic videos, motion graphics, animated explainers, social videos, data videos, or to edit an existing Remotion composition and export it as MP4.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 299
- Forks
- 50
01 前言 Front Matter
- name
- remotion-video
- description
- Create, modify, and render Remotion React video projects in the current Vetta conversation workspace. Use for requests to make programmatic videos, motion graphics, animated explainers, social videos, data videos, or to edit an existing Remotion composition and export it as MP4.
02 资源文件 1
- 参考文档agents/openai.yaml268 B
03 SKILL.md 正文
Remotion Video
Treat the current workspace root as the Remotion project. Do not create another project directory inside it.
Workflow
- Inspect
package.json,src/,public/, and existing compositions before editing. - If no project exists, create a standard TypeScript Remotion project directly in the workspace root.
- Install dependencies with
npm install. Vetta Desktop guarantees managed Node and npm; do not assume Bun is available to the packaged app. - Build or edit compositions using normal Remotion React APIs.
- Call
render_remotion_videowith the exact Composition id after the source is complete. - Report the returned
out/*.mp4path. Do not claim the render succeeded unless the tool returnsok: true.
New project baseline
Use exact matching Remotion versions. The supported baseline is 4.0.507:
{
"name": "remotion-video",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"studio": "remotion studio src/index.ts",
"render": "remotion render src/index.ts Main out/main.mp4"
},
"dependencies": {
"@remotion/cli": "4.0.507",
"react": "19.1.1",
"react-dom": "19.1.1",
"remotion": "4.0.507"
},
"devDependencies": {
"@types/react": "^19.1.1",
"@types/react-dom": "^19.1.1",
"typescript": "^5.9.2"
}
}
Create src/index.ts with registerRoot(), a root component that registers at least one <Composition>, composition modules under src/, public/ for media, and out/ for renders. Preserve an existing project's versions and structure instead of replacing them with this baseline.
Composition rules
- Drive animation with
useCurrentFrame(),interpolate(),spring(),<Sequence>, and other deterministic Remotion APIs. - Use
staticFile()for files underpublic/. - Keep width, height, fps, and duration explicit on each Composition unless
calculateMetadata()intentionally computes them. - Pass the same JSON props through the render tool that the Composition expects.
- Keep
remotion.config.tswhen present. The renderer calls the project-local Remotion CLI, so normal CLI configuration and installed Remotion extensions continue to apply. - Install any additional package imported by the composition before rendering.
Rendering
Use:
render_remotion_video({
compositionId: "Main",
inputProps: {},
outputName: "main.mp4"
})
entryPoint defaults to src/index.ts. The renderer writes only MP4/H.264 output in this version. Fix source, dependency, or Composition errors reported by the tool and retry; do not bypass the plugin by inventing a different render pipeline.
04 同仓库更多 Skills
publish-ability
Publish a skill, MCP server, plugin, or bundle to the Vetta ability marketplace. Use when the user asks to upload/publish/submit an ability, put a plugin on the marketplace, share a skill with other users, or migrate an existing package into Vetta.
install-ability
在本机 Vetta 中安装能力——插件(plugin)、Skill 与 MCP 服务器。用户说「装一个插件 / install plugin / 从能力市场安装 / 加一个 MCP server / 配置 MCP / 装个 skill」,或插件装完没生效、需要 reload、pending 版本没应用时使用。不用于安装 npm 依赖、IDE 插件、浏览器扩展,也不用于开发插件(那是 plugin-workbench)或创作 Skill(那是 create-skill)。
create-skill
Create or update Vetta-compatible Agent Skills. Use when the user asks to create a skill, add a SKILL.md workflow, register a skill in skills-manifest.json, package a skill in a Vetta plugin, or add a built-in Vetta skill preset.
vetta-ui-design
Build and edit design documents (.vetd) on the Vetta design canvas — app screens, landing pages, slides, posters, infographics. Use when the user asks for a UI design, mockup, screen, deck, or poster, or attaches a design frame/element from the canvas. Frames are real React (TSX) routes, not pictures. Do NOT use for ordinary front-end work in the user's own codebase — building, styling or reworking pages of a real app is that repo's job, and none of the vetd_* tools or canvas rules here apply to it.
plugin-workbench
Create, implement, build, pack, install, reload, and manage Vetta desktop plugins for non-developers. Use whenever the user wants a Vetta plugin, plugin scaffolding, apply a `.vettapkg` package to Vetta, edit plugin.json name/guidingWords, or debug plugin load/install. Requires the Plugin Workbench input-bar toggle (hard isolation). The plugin handbook ships inside the project's own @vetta-org/plugin-sdk; locate it with the bundled CLI's docs command.
review-content-quality
Evaluate generated images and videos against their creative brief, delivery requirements, continuity rules, and technical quality, then propose the smallest evidence-based repair. Use when the user asks whether an output is good, requests critique or selection among variants, reports weak or broken media, or before expanding an approved direction into more assets.