captionseasy

v0.1.1
io.github.Ishaan-Gpt/captionseasy Checked 3 days ago Published 1 month ago

99 designed animated caption looks for AI video editors: list, inspect and build styled captions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_looks List caption looks

List CaptionsEasy's designed caption looks (99). Each has a permanent `number` and an `id`; pass either to build_captions / caption_video. Filter with `query` (free text over name, description, tags and section, e.g. "bold", "neon", "subtitle", "one word", "karaoke") or `section` (viral, popular, premium, trending, creator, dynamic, typography, simple, paper, plus clean/fun/retro/tech...). `layout: word` looks show one word at a time (punchy Shorts/TikTok); sentence/karaoke looks show short phrases (talking heads, tutorials).

ParameterTypeDescription
querystring
sectionstring
tagsarray

describe_look Describe a caption look

One look's defaults and the ONLY style controls its design responds to: `controls` [{ key, type, min/max/options, default, dependsOn }] and pacing `settings` (maxWordsPerCard, pauseMs, gapBehavior...). Use it to turn a request like "make the highlight pink and put captions higher" into overrides, e.g. { "active.color": "#FF3366", "position.y": 0.6 }. Keys not listed here are rejected.

ParameterTypeDescription
look *Look number (e.g. 12) or id (e.g. "hormozi_box"), from list_looks

build_captions Build caption props

Turn timed words + a look (+ optional overrides/settings) into validated props { doc, style, settings } for the CaptionedVideo Remotion composition (import { CaptionedVideo } from "captionseasy/remotion"; render it in your own timeline, mode "burn" over a video or "overlay" for captions only). Pure and instant: no video, no rendering. Pass `words` inline or `words_file` (a JSON file with an array or { words }). Pass `out` to write the props to a file and get a short summary back instead of the full JSON. Invalid keys/values return a clear error listing what is allowed.

ParameterTypeDescription
look *Look number (e.g. 12) or id (e.g. "hormozi_box"), from list_looks
languagestringLanguage tag stored in the doc (default "en")
outstringOptional path to write the props JSON
overridesobjectStyle changes, keys from describe_look controls (flat dot paths), e.g. {"active.color": "#FF3366", "fontSize": 80, "position.y": 0.8}
settingsobjectPacing changes, keys from describe_look settings, e.g. {"maxWordsPerCard": 2}
wordsarrayTimed words, milliseconds on the video's clock
words_filestring

caption_video Caption a video file

Render captions onto a local video, entirely on this machine. Needs the add-on `captionseasy-render` (returns ADDON_MISSING with the install command if absent). Give `words` / `words_file`; without them the video is transcribed first (needs the add-on `captionseasy-transcribe`). mode "burn" (default) writes an MP4 with captions and the original audio; mode "overlay" writes only the captions on a transparent background, same size/length as the video: overlay_format "mov" (ProRes 4444, default, every NLE) or "webm" (VP9 alpha, small). `overrides`/`settings` as in build_captions. Returns { out, d…

ParameterTypeDescription
look *Look number (e.g. 12) or id (e.g. "hormozi_box"), from list_looks
video *stringAbsolute path of the local video file
languagestring
modestring
outstringOutput path (default: next to the video)
overlay_formatstring
overridesobjectStyle changes, keys from describe_look controls (flat dot paths), e.g. {"active.color": "#FF3366", "fontSize": 80, "position.y": 0.8}
settingsobjectPacing changes, keys from describe_look settings, e.g. {"maxWordsPerCard": 2}
wordsarrayTimed words, milliseconds on the video's clock
words_filestring

transcribe Transcribe a video

Speech-to-text with word timestamps for a local video/audio file, with a local Whisper model. Needs the add-on `captionseasy-transcribe` (returns ADDON_MISSING with the install command if absent); its first call downloads the model once (~200 MB). Returns { language, durationMs, words: [{ text, startMs, endMs }] }. language: "en" (default), "hinglish" or "auto". Pass `out` to also save the words as JSON.

ParameterTypeDescription
video *stringAbsolute path of the local video or audio file
languagestring
outstring