SuperAPI AI 工具集

json-render-remotion

设计与创作

查看项目

更新于 10-16 08:05

技能介绍

用途:@json-render/remotion 是 json-render 的 Remotion 渲染器,把 JSON 时间线规格(TimelineSpec)转换成视频合成,用于以数据驱动方式构建视频内容。

主要能力:提供 Renderer 将 spec 渲染为 Remotion 合成;通过 defineCatalog 与 schema 定义组件目录,内置标准组件(如 TitleCard、TypingText、ImageSlide、SplitScreen、QuoteCard、StatCard、TextOverlay、LowerThird)、标准转场与特效定义;支持用 zod 定义自定义组件并传入 Renderer;提供 useTransition 转场钩子与 ClipWrapper 包裹片段。时间线规格包含 composition(id、fps、width、height、durationInFrames)、tracks、clips(含 component、props、from、durationInFrames)与 audio。

用法:可在 React 中用 @remotion/player 的 Player,component 设为 Renderer,inputProps 传入 spec,并按 spec.composition 设置时长、帧率与尺寸。使用标准组件时先 defineCatalog(schema, {...});自定义组件在 catalog 中定义后用 components 属性传给 Renderer。

限制:资料未提供安装命令、价格、平台支持范围与性能数据,暂未提供。