mirror of
https://github.com/hanzoai/video.git
synced 2026-11-03 04:21:39 +00:00
11 production pipelines, 47 tools, 124 agent skills. Supports cloud APIs (fal.ai, OpenAI, ElevenLabs, Suno, HeyGen, Runway) and free local providers (diffusers, Piper TTS, WAN 2.1, Hunyuan, CogVideo). Co-authored-by: Hanzo Dev <[email protected]>
922 B
922 B
name, description, metadata
| name | description | metadata | ||
|---|---|---|---|---|
| subtitles | subtitles and caption rules |
|
All captions must be processed in JSON. The captions must use the Caption type which is the following:
import type { Caption } from "@remotion/captions";
This is the definition:
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 file for more instructions.
Displaying captions
To display captions in your video, load the ./display-captions.md file for more instructions.
Importing captions
To import captions from a .srt file, load the ./import-srt-captions.md file for more instructions.