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

Remotion Captions & Subtitles Skill

AI skill for generating and rendering captions in Remotion videos. Supports transcription, word-level timing, and styled subtitle overlays.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

npx skills add remotion-dev/skills

The captions skill activates automatically when you work with subtitles in a Remotion project.


介绍

A specialized Remotion skill for AI-powered caption and subtitle workflows. Covers transcription (audio/video to captions), the Caption JSON format with word-level timing, styled subtitle rendering, and dynamic composition duration based on caption length. Part of the Remotion AI Skills collection.

Best for: Developers building video content with auto-generated subtitles Works with: Claude Code, OpenAI Codex, Cursor


Caption Format

All captions use the Caption type:

import type { Caption } from "@remotion/captions";

type Caption = {
  text: string;
  startMs: number;
  endMs: number;
  timestampMs: number | null;
  confidence: number | null;
};

Generating Captions

Transcribe video/audio files to generate captions with word-level timestamps. Supports multiple transcription services.

Displaying Captions

Render captions as styled overlays on your video compositions, with full control over:

  • Font, size, color, background
  • Word-by-word or line-by-line display
  • Animated highlighting of current word
  • Position (top, bottom, center)

FAQ

Q: What caption format does Remotion use? A: Remotion uses a JSON-based Caption type with text, startMs, endMs, timestampMs, and confidence fields for word-level timing.

Q: Can I auto-generate subtitles from audio? A: Yes. The skill includes transcription rules for generating captions from audio/video files with word-level timestamps.


🙏

来源与感谢

Created by Remotion. Licensed under MIT. remotion-dev/skills — Subtitles rule

相关资产