Captions and chapters
Captions from the transcript, their style, word fixes, a captions file and chapters.
Captions from the transcript, their style, word fixes, a captions file and chapters. 7 tools.
add_captions
Pro. Changes something; can remove or replace what is there. Put captions on the video from its transcript's lines, in place of any there, as the editor's Generate captions makes them. Needs a transcript (this never starts one); then style them with set_caption_style. Pass expectedVersion to apply only to the edit you read (edit_conflict otherwise). Returns the new version and timeline. Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
expectedVersion | string | no | The version get_timeline gave. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), timeline, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
remove_captions
Pro. Changes something; can remove or replace what is there. Take the captions off the video. Pass expectedVersion to apply only to the edit you read (edit_conflict otherwise). Returns the new version and timeline. Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
expectedVersion | string | no | The version get_timeline gave. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), timeline, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_caption_style
Pro. Changes something. Change how the captions look, as the editor's Captions panel does. Only what is passed changes. Pass expectedVersion to apply only to the edit you read (edit_conflict otherwise). Returns the new version and timeline. Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
expectedVersion | string | no | The version get_timeline gave. |
size | number | no | Text height in pixels at 1080 tall, 24 to 72. |
top | boolean | no | true to show them at the top instead of the bottom. |
plate | boolean | no | true on a dark background, false outlined. |
font | "sans", "serif", "mono" | no | |
animation | "none", "fade", "rise", "pop" | no | How a line arrives and leaves. |
color | string | no | The text's colour as #rrggbb. |
highlight | string or null | no | The colour of the word being spoken as #rrggbb; null for the text's own. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), timeline, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
update_transcript_words
Pro. Changes something. Fix misheard words in the video's captions: each find (a whole word or phrase, any case) becomes replace in every line, as editing a line in the editor's Captions panel does. The stored transcript stays as heard. Needs captions on the video (add_captions). Pass expectedVersion to apply only to the edit you read (edit_conflict otherwise). Returns the new version and timeline. Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
expectedVersion | string | no | The version get_timeline gave. |
fixes | object[] | yes |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), timeline, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
get_captions_file
Pro. Reads only. The video's captions as a file to upload elsewhere, timed as it plays now (lines inside a cut left out), as the editor's Caption file download makes it: its captions, or without any, its transcript's lines. format "srt" or "vtt" (default). not_ready means it has neither yet. Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
format | "srt", "vtt" | no | "vtt" (default) or "srt". |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), format, from (The video's own captions, or its transcript's lines while it has none), lines, file, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
get_chapters
Pro. Reads only. A Recordful video's chapters, as its page shows them on the player, each where it starts as the video plays now. Empty when it has none (get_summary has the AI's, set_chapters writes them). Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
Returns videoId, chapters, note, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_chapters
Pro. Changes something; can remove or replace what is there. Replace a Recordful video's chapters with these, as writing them on its page does (an empty list clears them). Each at is where it starts as the video plays now; kept to whole seconds of the recording, at most 20, one per second. An AI summary written later keeps them. Needs a transcript (not_ready otherwise; this never starts one). Only the person who recorded it, or the workspace owner, can.
Parameters
| Parameter | Type | Required | What it is |
|---|---|---|---|
videoId | string | yes | The video's id (videoId from list_videos). |
chapters | object[] | yes |
Returns videoId, chapters, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).