Clips and cuts
Split, reorder, delete, duplicate, speed up and cut clips, by time or by the words said.
Split, reorder, delete, duplicate, speed up and cut clips, by time or by the words said. 9 tools.
list_clips
Pro. Reads only. The clips a Recordful video plays, in order: each one's index (what the clip tools take), where it starts and ends as the video plays now, where it comes from in the recording, its speed and the transition into it. Also the edit's version, which the clip tools need. 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, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), durationSeconds (How long the video plays as edited), clips, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
split_clip
Pro. Changes something. Split the clip playing at time in two there, so each part can be moved, sped up or cut on its own. Returns the new version and timeline. With expectedVersion, edit_conflict means the edit changed since it was read. 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). |
time | number | yes | Where to split, in seconds of the video as it plays now. |
expectedVersion | string | no | The version list_clips or 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).
reorder_clip
Pro. Changes something. Move a clip so it plays at another place among the clips. Returns the new version and timeline. Needs expectedVersion: edit_conflict means the clips changed since, so read list_clips again. 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). |
from | integer | yes | The clip to move: its index in list_clips or get_timeline, from 0. |
to | integer | yes | The place it plays at once moved: its index in list_clips or get_timeline, from 0. |
expectedVersion | string | yes | The version list_clips or 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).
delete_clip
Pro. Changes something. Take a clip out of the video. Later clips move earlier. A video keeps one clip at least. Returns the new version and timeline. Needs expectedVersion: edit_conflict means the clips changed since, so read list_clips again. 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). |
index | integer | yes | The clip to take out: its index in list_clips or get_timeline, from 0. |
expectedVersion | string | yes | The version list_clips or 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).
duplicate_clip
Pro. Changes something. Play a clip twice: a copy of it goes straight after it. Returns the new version and timeline. Needs expectedVersion: edit_conflict means the clips changed since, so read list_clips again. 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). |
index | integer | yes | The clip to copy: its index in list_clips or get_timeline, from 0. |
expectedVersion | string | yes | The version list_clips or 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_clip_speed
Pro. Changes something. Play a clip faster or slower, 0.25 to 24 times as recorded; 1 is as recorded. A clip at another speed plays without sound. Returns the new version and timeline. Needs expectedVersion: edit_conflict means the clips changed since, so read list_clips again. 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). |
index | integer | yes | The clip: its index in list_clips or get_timeline, from 0. |
speed | number | yes | How many times as fast, 0.25 to 24. |
expectedVersion | string | yes | The version list_clips or 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_clip_transition
Pro. Changes something. How the cut into a clip plays: "cut" straight on, "fade" through black, "crossfade" from the clip before, "wipe" or "glitch" over it, or "default" to follow the video's fades. Not on the first clip. Returns the new version and timeline. Needs expectedVersion: edit_conflict means the clips changed since, so read list_clips again. 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). |
index | integer | yes | The clip the transition leads into, 1 or later: its index in list_clips or get_timeline, from 0. |
transition | "cut", "fade", "crossfade", "wipe", "glitch", "default" | yes | |
expectedVersion | string | yes | The version list_clips or 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).
cut_clip
Pro. Changes something. Cut stretches out of the video in one call, each range from start to end as the video plays now (before any of them is cut). Overlaps join; later times move earlier by the length cut. Returns the new version and timeline. With expectedVersion, edit_conflict means the edit changed since it was read. 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). |
ranges | object[] | yes | |
expectedVersion | string | no | The version list_clips or 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).
cut_clip_by_transcript
Pro. Changes something. Cut words out of the video by their index in the transcript (get_transcript with format "words"): each range from fromWordIndex to toWordIndex, both included. The cuts fall in the quiet between words, as deleting words in the editor's transcript does. Words in clips at another speed stay. Returns the new version and timeline. With expectedVersion, edit_conflict means the edit changed since it was read. not_ready means the video has no word-timed transcript. 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). |
wordRanges | object[] | yes | |
expectedVersion | string | no | The version list_clips or 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).