Videoslash API
Tools

apply caption style

Restyle every caption clip with a caption preset. Optionally set Caption Animation, spoken-word highlight, and one-word vs multiple-word grouping.

apply caption style

Tool name: apply_caption_style

Required scope: editor:write

Restyle every caption clip with a caption preset. Optionally set Caption Animation, spoken-word highlight, and one-word vs multiple-word grouping.

Parameters

NameTypeRequiredDescription
projectIdstringrequiredEditor project id.
styleIdstringrequiredCaption preset id from list_editor_catalogs (MINIMAL, HORMOZI, KARAOKEBAR, …). Also sets Caption Animation to the preset default unless animationId is passed.
animationIdstringoptionalCaption Animation id: none, pop, bounce, rise, moving-pill, underline, typewriter, fade, blur-focus, shake.
highlightEnabledbooleanoptionalWhether the spoken-word color swap is on.
wordGroupingenum (single, multi)optionalCaption grouping: one word per cue, or multiple words (max four).

On this page