Look
Background, frame, canvas shape, camera layout and click effects.
Background, frame, canvas shape, camera layout and click effects. 6 tools.
list_backgrounds
Pro. Reads only. The backgrounds the Recordful editor offers, for set_background and set_frame: its gradients and colours (any #rrggbb colour works too), its images (pass src; url shows it), and the canvas shapes set_aspect_ratio takes.
Parameters
None.
Returns gradients, colors, images, ratios.
set_background
Pro. Changes something. Set what shows behind the picture: none, a solid colour, a gradient or one of list_backgrounds' images. From none with no padding, padding opens to 80 so it shows, as in the editor. With expectedVersion (from get_timeline), edit_conflict means the edit changed since it was read and nothing applied. 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. |
background | any | yes |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), frame, camera, cursor, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_frame
Pro. Changes something. Change how the picture sits on its canvas: padding, inset, rounded corners, shadow, canvas shape, background. Only what is passed changes; it is the whole video's frame. With expectedVersion (from get_timeline), edit_conflict means the edit changed since it was read and nothing applied. 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. |
padding | number | no | Space around the picture in pixels at 1080 tall, 0 to 200. |
inset | number | no | A light glass band around the picture, in pixels at 1080 tall, 0 to 60. |
radius | number | no | Corner radius in pixels, 0 to 80. |
shadow | number | no | How strong the picture's shadow is, 0 (none) to 100. |
shadowStyle | object | no | How the shadow falls; only what is passed changes. |
ratio | "Auto", "16:9", "4:3", "1:1", "9:16" | no | The canvas shape. Auto follows the recording; 9:16 is for Shorts and Reels. |
background | any | no |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), frame, camera, cursor, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_aspect_ratio
Pro. Changes something. Set the canvas shape of the whole video. With expectedVersion (from get_timeline), edit_conflict means the edit changed since it was read and nothing applied. 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. |
ratio | "Auto", "16:9", "4:3", "1:1", "9:16" | yes | The canvas shape. Auto follows the recording; 9:16 is for Shorts and Reels. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), frame, camera, cursor, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_camera
Pro. Changes something. Change how the camera is laid over the picture for the whole video, as the editor's Camera panel does. Only what is passed changes. Fails if the video has no camera. With expectedVersion (from get_timeline), edit_conflict means the edit changed since it was read and nothing applied. 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. |
hidden | boolean | no | true takes the camera off the video. |
mirror | boolean | no | |
spot | "tl", "tc", "tr", "bl", "bc", "br" | no | Where it sits: a corner, or the middle of the top or bottom edge (t/b, l/c/r). |
shape | "circle", "square", "wide", "tall", "full" | no | "tall" stands beside the picture at full height; "full" fills the canvas. |
size | number | no | Its height as a percentage of the canvas's shorter side, 10 to 60 (a tall one's width). |
zoomSize | number | no | Its size while a zoom is closed in, as a percentage of size, 0 to 100. |
radius | number | no | How round the corners of a shape other than circle are, 0 to 100. |
shadow | number | no | 0 to 100. |
zoom | number | no | How close the card looks into the camera video, 1 to 3. |
x | number | no | What the card shows: the centre, across the camera video, 0 to 1. |
y | number | no | The centre down the camera video, 0 to 1. |
Returns videoId, version (The edit's version. Pass it as expectedVersion to apply edits only to the edit you read), frame, camera, cursor, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).
set_cursor_effects
Pro. Changes something. Change what the recorded clicks show and sound like, for the whole video. Only what is passed changes; it shows only where clicks were recorded. With expectedVersion (from get_timeline), edit_conflict means the edit changed since it was read and nothing applied. 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. |
effect | "none", "circle", "ripple", "pressure" | no | |
sound | "none", "mouse-1", "mouse-2", "mouse-3", "mouse-4", "bubble-tap", "lift", "lull", "off" | no | The click sound: none, or mouse-1 (Mouse), mouse-2 (Mouse 2), mouse-3 (Mouse 3), mouse-4 (Mouse 4), bubble-tap (Plop), lift (Wisp), lull (Lull), off (Hush). |
soundVolume | 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), frame, camera, cursor, viewUrl (The video's page on recordful.app), editUrl (Where the user edits it).