# Remotion Captions

> Provides a Caption type definition and links to skills for transcribing, displaying, and importing captions in Remotion videos.

- Skill: `remotion-dev/remotion-captions` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds add remotion-dev/remotion-captions`
- Raw SKILL.md: https://api.skillmd.com/api/skills/remotion-dev/remotion-captions/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools, Web & Frontend, Dev Tooling, Frontend Frameworks
- Tags: Captions, Remotion, Srt, Transcription, Typescript, Video Editing
- Author: Remotion (https://skillmd.com/u/remotion-dev)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/remotion-dev/remotion-captions

---


All captions must be processed in JSON. The captions must use the [`Caption`](https://www.remotion.dev/docs/captions/caption.md) type which is the following:

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

This is the definition:

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

## Generating captions

To transcribe video and audio files to generate captions, load the [transcribe-captions.md](transcribe-captions.md) file for more instructions.

## Displaying captions

To display captions in your video, load the [display-captions.md](display-captions.md) file for more instructions.

## Importing captions

To import captions from a .srt file, load the [import-srt-captions.md](import-srt-captions.md) file for more instructions.

