ClipSDKDOCS
REST API Reference

Captions, Hooks & Bleep Reference

Style burned-in captions with 8 built-in presets or a fine-grained style object, add opening hook headlines in 5 templates, bleep profanity across audio and text, and always receive SRT and VTT subtitle files.

Caption Presets
8 Built-In
bold, karaoke, minimal, punch, boxed, neon, clean, flash
Fonts
4 Typefaces
Montserrat, Anton, Bebas Neue, Poppins
Hook Templates
5 Layouts
classic, outline, sticky, banner, pill
Subtitles
SRT + VTT
Always returned, even when captions: false

8 Burned-In Caption Presets

Pass captions as a preset name (bold, karaoke, minimal, punch, boxed, neon, clean, flash), false for raw video plus SRT/VTT, or a custom style object on POST /v1/clips.

PresetVisual CharacterBest Use Case
bold (default)High-contrast heavy lettering with clear strokePodcasts, founder interviews, and talking-head Shorts
karaokeActive word-by-word color highlight synced to speechTikTok, Instagram Reels, and fast-paced YouTube Shorts
minimalClean understated subtitles with low screen footprintWebinars, keynotes, executive updates, and B2B clips
punchEmphatic high-energy display styling for short burstsOpinion clips, debates, and hook-driven storytelling
boxedSolid contrast pill/box behind caption linesBusy multi-speaker stages, street interviews, and outdoor footage
neonHigh-luminance glowing accent typographyGaming streams, Twitch/Kick VODs, and creator commentary
cleanCrisp balanced modern subtitlesTutorials, SaaS product demos, and educational explainers
flashRapid word-burst cadence for short retention windowsHigh-tempo creator feeds and punchy announcement clips

Passing "captions": false disables burned-in video captions completely while ClipSDK still generates word-timed .srt and .vtt downloads in clip.srt and clip.vtt.

Custom Caption Style Object

Override any preset with a captions object setting font, position, max_words (1-8), uppercase, hex colors, size (0.5-2.0), keyword_color, and pop_in word animation.

PropertyAllowed ValuesDescription
presetbold, karaoke, minimal, punch, boxed, neon, clean, flashStarting preset; on /edit, omitting preset keeps the clip's current preset
fontMontserrat, Anton, Bebas Neue, PoppinsBurned-in font family
positiontop, middle, bottom, centerVertical caption placement inside the frame
max_wordsinteger 1 to 8Maximum words shown per caption line
uppercasebooleanTransform caption text to all caps
text_color#RGB, #RRGGBB, or color namePrimary caption text fill color
highlight_color#RGB, #RRGGBB, or color nameActive spoken word color (e.g. for karaoke)
outline_color#RGB, #RRGGBB, or color nameStroke/outline color behind caption text
sizenumber 0.5 to 2.0Relative scale factor (1.0 is preset default)
keyword_colorcolor string or nullAccent color automatically applied to key emphasis words; null disables
pop_inbooleanAnimates each word popping in as spoken
Custom karaoke caption object + banner hookjson
{
  "video_url": "https://cdn.example.com/founder-podcast.mp4",
  "clips": 5,
  "aspect": "9:16",
  "reframe": "auto",
  "captions": {
    "preset": "karaoke",
    "font": "Montserrat",
    "position": "bottom",
    "max_words": 4,
    "uppercase": true,
    "text_color": "#FFFFFF",
    "highlight_color": "#22C55E",
    "outline_color": "#0B1224",
    "size": 1.15,
    "keyword_color": "#FACC15",
    "pop_in": true
  },
  "hook": {
    "template": "banner",
    "font": "Anton",
    "position": "top",
    "text_color": "#FFFFFF",
    "background_color": "#E0243F",
    "size": 1.1,
    "seconds": 4
  }
}

Opening Hook Headline Templates

Enable hook: true or a hook style object to burn each clip's title over its opening seconds using classic, outline, sticky, banner, or pill layouts.

FieldAllowed ValuesNotes
templateclassic (default), outline, sticky, banner, pillVisual container and typography layout for the opening headline
fontMontserrat, Anton, Bebas Neue, PoppinsHeadline typeface
positiontop, middle, bottom, centerVertical screen placement
text_color#RGB, #RRGGBB, or color nameHeadline text color
background_colorcolor string or nullBackdrop fill for sticky, banner, or pill templates
sizenumber 0.5 to 2.0Relative headline scale multiplier
secondsinteger 1 to 90 or nullHow many opening seconds the hook stays on screen
text (edit only)string (<=1024 chars)Override auto-generated clip title via POST /v1/jobs/{id}/clips/{rank}/edit

During POST /v1/clips, ClipSDK generates a punchy title for each clip and burns it automatically when hook is enabled. On paid accounts, use POST /v1/jobs/{id}/clips/{rank}/edit with hook.text to customize exact wording for A/B hooks without re-billing the source video.

Audio & Caption Profanity Bleeping

Set bleep: true on POST /v1/clips or clip edits to bleep swear words in the rendered MP4 audio and star them out in burned-in captions, SRT/VTT files, and hooks.

Podcast interviews and live Twitch or Kick streams often include occasional profanity that hurts brand safety or ad eligibility on TikTok, LinkedIn, and YouTube Shorts. Setting "bleep": true handles audio censoring and subtitle masking in a single pass. If you need both an uncensored creator cut and a brand-safe sponsor cut, toggle bleep: false or bleep: true on a single clip via POST /v1/jobs/{id}/clips/{rank}/edit.

SRT & VTT Subtitle Files

Every succeeded ClipSDK clip returns direct 7-day URLs for clip.srt and clip.vtt alongside the MP4, ready for native platform captions, search indexing, and player tracks.

Download MP4, poster, SRT, and VTT from a finished clipbash
curl -fsSL "$CLIP_VIDEO_URL" -o clip-01.mp4
curl -fsSL "$CLIP_POSTER_URL" -o clip-01.jpg
curl -fsSL "$CLIP_SRT_URL" -o clip-01.srt
curl -fsSL "$CLIP_VTT_URL" -o clip-01.vtt

Store .srt and .vtt files separately from .mp4 files in local folders so desktop media players do not render external subtitles on top of burned-in captions. To fix domain-specific brand names or acronyms in both burned-in captions and .srt/.vtt files, fetch GET /v1/jobs/{id}/clips/{rank}/words and post the corrected word list to Clips & Jobs Edit API.