SuperAPI AI 工具集

video-render

设计与创作

查看项目

更新于 10-15 19:58

技能介绍

用途:video-render 用于渲染视频,通过 Remotion 项目的合成(Composition)生成视频,适用于创建或生成视频的场景。

主要能力:提供多种可用合成,包括 ClaudeCodeIntro(7 秒)、DataDashboard(12 秒)、KineticTypography(14 秒)、ProductShowcase(15 秒)、CountdownTimer(7 秒)、CodeWalkthrough(16 秒),以及 CodeExplainer、GitHubRecap、ThreadToVideo、Audiogram、VerticalShort、NewsVideo 等新增合成。

使用方式:基础渲染命令为 cd remotion-videos && npx remotion render <CompositionId> ../output/video.mp4。可用 --props 传入参数,如 --props='{"title": "Hello World", "subtitle": "Demo"}';用 --frames=0-100 渲染特定帧范围;用 --width=1080 --height=1920 等指定分辨率;用 --crf=18 或 --crf=28 调整画质。预览命令为 cd remotion-videos && npx remotion studio,随后在浏览器打开 http://localhost:3000。

适用场景:包括代码讲解、GitHub 活动回顾、推文串转视频、音频可视化、9:16 短视频、AI 新闻视频等。

限制与提示:渲染前建议先用 remotion studio 预览;确保输出目录存在(mkdir -p output);CRF 18-23 可平衡画质与体积;渲染时间随合成复杂度变化;可用 --log=verbose 调试。部分合成参数(如 CodeExplainer、GitHubRecap、ThreadToVideo、Audiogram)已列出,但收费、价格和平台支持等信息暂未提供。