Shapes, blurs and watermark
Arrows, boxes, highlights and badges; blurs and spotlights; the watermark.
Arrows, boxes, highlights and badges; blurs and spotlights; the watermark. 8 tools.
list_overlays
Pro. Reads only. What is laid over a Recordful video's picture: its shapes (arrows, lines, boxes, ellipses, highlights, numbered badges), its masks (blurs and spotlights), each with its index and start and end in seconds as the video plays now, and its watermark. The version is what the update and remove 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), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
add_shape
Pro. Changes something. Lay a shape over the picture for a while, as the editor's Shapes panel does: an arrow, line, box (rect), ellipse, highlight (a see-through marker band) or badge (a numbered step, numbered on from the last). What is left out is the editor's: 3 s long, in the middle, in its colours, drawn in as it starts. Times are seconds of the video as it plays now. Pass expectedVersion to apply only to the edit you read; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 list_overlays or get_timeline gave. |
kind | "arrow", "line", "rect", "ellipse", "highlight", "badge" | yes | |
start | number | yes | Where it shows, in seconds of the video as it plays now. |
end | number | no | Where it goes, in seconds of the video as it plays now. |
from | object | no | A box's corner, or where a line or arrow starts, as fractions of the whole recorded picture: x 0 is its left edge and 1 its right, y 0 its top and 1 its bottom; -1 to 2 reaches onto the background. |
to | object | no | The opposite corner, or where a line ends (an arrow's point), as fractions of the whole recorded picture: x 0 is its left edge and 1 its right, y 0 its top and 1 its bottom; -1 to 2 reaches onto the background. |
color | string | no | The outline or line colour (a badge's number) as #rrggbb. |
width | number | no | Outline or line width in pixels at 1080 tall, 0 (none) to 40. |
fill | boolean | no | Whether a box, ellipse, highlight or badge is filled. |
fillColor | string | no | The fill colour as #rrggbb. |
fillOpacity | number | no | 0 to 1. |
opacity | number | no | The whole shape's, 0 to 1. |
head | "filled", "open", "double" | no | An arrow's head. |
animation | "none", "fade", "scale", "draw" | no | How it comes in; it always fades out at its end. |
n | integer | no | A badge's number, 0 to 999. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
update_shape
Pro. Changes something. Change one shape, named by its index in list_overlays' shapes. Only what is passed changes; its kind stays. Times are seconds of the video as it plays now. Pass expectedVersion from the read that gave the index; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 | yes | The version list_overlays or get_timeline gave. |
index | integer | yes | The shape's index in list_overlays' shapes. |
start | number | no | Where it shows, in seconds of the video as it plays now. |
end | number | no | Where it goes, in seconds of the video as it plays now. |
from | object | no | A box's corner, or where a line or arrow starts, as fractions of the whole recorded picture: x 0 is its left edge and 1 its right, y 0 its top and 1 its bottom; -1 to 2 reaches onto the background. |
to | object | no | The opposite corner, or where a line ends (an arrow's point), as fractions of the whole recorded picture: x 0 is its left edge and 1 its right, y 0 its top and 1 its bottom; -1 to 2 reaches onto the background. |
color | string | no | The outline or line colour (a badge's number) as #rrggbb. |
width | number | no | Outline or line width in pixels at 1080 tall, 0 (none) to 40. |
fill | boolean | no | Whether a box, ellipse, highlight or badge is filled. |
fillColor | string | no | The fill colour as #rrggbb. |
fillOpacity | number | no | 0 to 1. |
opacity | number | no | The whole shape's, 0 to 1. |
head | "filled", "open", "double" | no | An arrow's head. |
animation | "none", "fade", "scale", "draw" | no | How it comes in; it always fades out at its end. |
n | integer | no | A badge's number, 0 to 999. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
remove_shape
Pro. Changes something; can remove or replace what is there. Take one shape off the video, named by its index in list_overlays' shapes. Times are seconds of the video as it plays now. Pass expectedVersion from the read that gave the index; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 | yes | The version list_overlays or get_timeline gave. |
index | integer | yes | The shape's index in list_overlays' shapes. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
add_mask
Pro. Changes something. Blur a part of the picture for a while (to hide something private), or spotlight it (the rest darkens, to show where to look), as the editor's Masks panel does. Left out, it lasts 3 s over the middle. Times are seconds of the video as it plays now. Pass expectedVersion to apply only to the edit you read; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 list_overlays or get_timeline gave. |
kind | "blur", "spotlight" | yes | |
start | number | yes | Where it starts, in seconds of the video as it plays now. |
end | number | no | Where it ends, in seconds of the video as it plays now. |
box | object | no | Its top left corner and size, as fractions of the whole recorded picture, each 0 to 1. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
update_mask
Pro. Changes something. Change one blur or spotlight, named by its index in list_overlays' masks. Only what is passed changes. Times are seconds of the video as it plays now. Pass expectedVersion from the read that gave the index; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 | yes | The version list_overlays or get_timeline gave. |
index | integer | yes | The mask's index in list_overlays' masks. |
kind | "blur", "spotlight" | no | |
start | number | no | Where it starts, in seconds of the video as it plays now. |
end | number | no | Where it ends, in seconds of the video as it plays now. |
box | object | no | Its top left corner and size, as fractions of the whole recorded picture, each 0 to 1. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
remove_mask
Pro. Changes something; can remove or replace what is there. Take one blur or spotlight off the video, named by its index in list_overlays' masks. Times are seconds of the video as it plays now. Pass expectedVersion from the read that gave the index; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 | yes | The version list_overlays or get_timeline gave. |
index | integer | yes | The mask's index in list_overlays' masks. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_watermark
Pro. Changes something. Change the mark in the video's bottom right corner, as the editor's Watermark panel does. Only what is passed changes; anything but show "none" shows it. The logo is the Recordful mark or one uploaded in the editor. Times are seconds of the video as it plays now. Pass expectedVersion to apply only to the edit you read; edit_conflict means the edit changed meanwhile and nothing applied: list again and retry. 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 list_overlays or get_timeline gave. |
show | "none", "logo", "text", "both" | no | "none" takes the mark off; otherwise what it shows. |
text | string | no | The words beside or in place of the logo. |
size | number | no | 0 to 100: from 12 to 92 pixels tall at 1080. |
opacity | number | no | 0 to 100. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), shapes (Arrows, lines, boxes, ellipses, highlights and badges, by start; index is what update_shape and remove_shape take), masks (Blurs and spotlights, by start; index is what update_mask and remove_mask take), watermark (The mark in the bottom right corner; null is none), viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).