Videos
Save a subtitle preset
Saves a subtitle look as a personal preset, like the editor's "Save as preset". Pass videoId to snapshot that video's current subtitles (style, font, weight, size, position, grouping and lines per block), captionStyle to build one from scratch on the style's defaults, or both — explicit caption fields override the video's. Omit name for the editor's default (the matching built-in's name, numbered). The preset then appears in GET /v1/subtitle-presets and in the editor's Subtitles panel, and can be applied to other videos with PUT /v1/videos/{id}/subtitle-preset.
post/v1/subtitle-presets
Request
- Base URL: https://api.tella.com
- URL: https://api.tella.com/v1/subtitle-presets
- Auth: HTTP bearer
Request body
Example request
{
"captionFontFamily": "Inter",
"captionFontSize": 64,
"captionFontWeight": 500,
"captionLinesPerBlock": 1,
"captionStyle": {
"activeWordTextColor": "#5E51F8FF",
"backgroundColor": "#5E51F8FF",
"highlightColor": "#5E51F8FF",
"outlineColor": "#5E51F8FF",
"shadowColor": "#5E51F8FF",
"textColor": "#5E51F8FF"
},
"name": "Brand captions",
"videoId": "vid_abc123"
}Response
Preset saved
Example response
{
"preset": {
"captionStyle": {
"activeWordTextColor": "#5E51F8FF",
"backgroundColor": "#5E51F8FF",
"highlightColor": "#5E51F8FF",
"outlineColor": "#5E51F8FF",
"shadowColor": "#5E51F8FF",
"textColor": "#5E51F8FF"
},
"presetId": "default:spotlight"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.