Cuecaps
v0.3.0Animated word-by-word captions for your video and audio files, rendered on your machine by Cuecaps.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_styles
Lists the 10 Cuecaps caption styles, each with the id to pass as style to caption_video or studio_link, its name and how it looks. The list is fixed and needs no key. Call it when the user hasn't picked a style or asks what the styles look like.
studio_link
Returns a URL to the Cuecaps studio, opened set up exactly as the user described (style, font, colors, how the spoken word stands out, animation, size, format and language), for the user to finish in their browser: they drop in the video, can fix words and export there. With fast, the studio also turns on Fast edit as soon as the words are found, so "cut my pauses and caption this" is one link. Creates nothing and needs no key, so it works on every plan, Free included; exporting with Fast edit comes with Creator and Pro. Use it when the user wants to edit by hand, has no Creator or Pro key, or…
| Parameter | Type | Description |
|---|---|---|
anim | string | How each caption comes in: pop, punch (slams down from large), bounce, rise, slide, fade, focus (from a blur), typewriter (letter by letter) or none. |
aspect | string | Frame shape: 9:16 for TikTok, Shorts and Reels, 1:1 or 4:5 for feed posts, 16:9 for YouTube. |
case | string | Letter case: upper for capitals, lower, or as-spoken. |
color | string | Text color: a hex value such as #FFFFFF, or white, black, yellow, gold, orange, red, pink, purple, blue, cyan, green, lime. |
emphasis | string | Color of the key words the studio picks for emphasis, as a hex value or a color name. |
fast | array | Fast edit tools to turn on once the words are found: deadspace cuts the pauses, fillers cuts um, uh and stutters, retakes keeps the last take of a restarted sentence, zoom punches in on the jump cuts,… |
font | string | Caption font, in place of the style's own. |
highlight | string | Color of the word being spoken, as a hex value or a color name. A style that doesn't color the spoken word starts to. |
lang | string | The spoken language. Give it for any video that isn't in English; auto lets cloud transcription detect it. |
lines | integer | Lines per caption. |
mark | string | How the spoken word stands out: color it, a box behind it, grow it, dim the words not yet spoken, reveal words as they are spoken, or none. |
position | string | Where the captions sit in the frame. |
size | integer | Caption size as a percent of the style's own: 125 for bigger, 80 for smaller. |
style | string | Caption style. list_styles shows how each one looks. |
voice | boolean | true removes background noise, music and room sound from the voice once the words are found (Clean up voice, a Fast edit tool; Chrome or Edge on a computer, after a one-time 130 MB download). |
words | integer | Words per caption; 1 shows one word at a time. |
account_status
Reads the Cuecaps account behind CUECAPS_API_KEY: the plan, cloud minutes left this period, the date they reset, and whether agent captioning is included. Uses no minutes. Call it before transcribe or caption_video to check the plan and minutes; with no key or an invalid key it returns an error that says how to get one.
transcribe
Transcribes a local video or audio file and returns every word with its start and end time in seconds, plus the SRT text and the engine used. Writes no file: use caption_video when the user wants a captioned video, an overlay or a subtitle file. Needs a Creator or Pro key. engine "cloud" uses the plan's minutes and sends only compressed audio, deleted after transcription; "device" runs Whisper locally and uses none. Left unset, it picks cloud when the minutes left cover the file, else device.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the video or audio file: MP4, MOV, WebM, MP3, WAV, M4A or another format the studio opens. |
engine | string | cloud: ElevenLabs Scribe on the plan's cloud minutes, strongest on music, accents and 90+ languages; the default when the minutes left cover the file. device: on-device Fluid Speech Pro (Whisper base… |
keyterms | array | Names and words for cloud transcription to spell your way. |
lang | string | The spoken language. Give it for any video that isn't in English; auto lets cloud transcription detect it. |
caption_video
Captions a local video or audio file with the Cuecaps studio's renderer in headless Chrome or Edge and writes <name>.captions.<ext> next to it, never replacing a file: an MP4 with the captions burned in, a transparent MOV or WebM overlay, or SRT or VTT subtitles. With fast, Fast edit cuts dead space, filler words and retakes, punches in on the jump cuts and levels the volume before it renders. Returns the file, the input's duration in seconds, the engine, the cloud minutes used and a studio link to fine-tune words, cuts and style. Needs a Creator or Pro key; 1440p and 4K need Pro. Transcriptio…
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the video or audio file: MP4, MOV, WebM, MP3, WAV, M4A or another format the studio opens. |
anim | string | How each caption comes in: pop, punch (slams down from large), bounce, rise, slide, fade, focus (from a blur), typewriter (letter by letter) or none. |
aspect | string | Frame shape: 9:16 for TikTok, Shorts and Reels, 1:1 or 4:5 for feed posts, 16:9 for YouTube. |
case | string | Letter case: upper for capitals, lower, or as-spoken. |
color | string | Text color: a hex value such as #FFFFFF, or white, black, yellow, gold, orange, red, pink, purple, blue, cyan, green, lime. |
emphasis | string | Color of the key words the studio picks for emphasis, as a hex value or a color name. |
engine | string | cloud: ElevenLabs Scribe on the plan's cloud minutes, strongest on music, accents and 90+ languages; the default when the minutes left cover the file. device: on-device Fluid Speech Pro (Whisper base… |
fast | array | Fast edit tools to turn on once the words are found: deadspace cuts the pauses, fillers cuts um, uh and stutters, retakes keeps the last take of a restarted sentence, zoom punches in on the jump cuts,… |
font | string | Caption font, in place of the style's own. |
fps | integer | Frames per second. |
highlight | string | Color of the word being spoken, as a hex value or a color name. A style that doesn't color the spoken word starts to. |
keyterms | array | Names and words for cloud transcription to spell your way. |
lang | string | The spoken language. Give it for any video that isn't in English; auto lets cloud transcription detect it. |
lines | integer | Lines per caption. |
mark | string | How the spoken word stands out: color it, a box behind it, grow it, dim the words not yet spoken, reveal words as they are spoken, or none. |
out_path | string | Absolute path to write to instead of <name>.captions.<ext> next to the input, ending in .mp4, .mov, .webm, .srt or .vtt; its extension sets output. An existing file is never replaced: -2, -3 and so on… |
output | string | mp4 with the captions burned in, mov or webm as a transparent captions-only overlay, or srt or vtt subtitles. Defaults to out_path's extension when out_path is given, else mp4. |
position | string | Where the captions sit in the frame. |
resolution | string | Short side of the video. 1440p and 4k come with Pro. |
size | integer | Caption size as a percent of the style's own: 125 for bigger, 80 for smaller. |
style | string | Caption style. list_styles shows how each one looks. |
words | integer | Words per caption; 1 shows one word at a time. |