Clips
Update a shape overlay
Changed onUpdate a shape overlay's outline, fill, corners, border, shadow, timing, position, size, animation, depth or stacking order. Only the fields you send are changed.
patch/v1/videos/{id}/clips/{clipId}/shape-overlays/{shapeOverlayId}
Request
- Base URLhttps://api.tella.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Video ID
clipIdstring required
Clip ID
shapeOverlayIdstring required
Shape overlay ID
Request body
Example request
{
"animation": {
"intro": {
"preset": "slide_up"
},
"outro": {
"preset": "fade"
}
},
"border": {
"color": "#FFFFFFFF"
},
"corners": "squircle",
"depth": "behind_presenter",
"depthChanges": [
{
"atMs": 1200,
"depth": "behind_presenter"
}
],
"dimensions": {
"height": 540,
"width": 960
},
"fill": {
"color": "#000000ff",
"gradientAngle": 45,
"gradientColor1": "#ff0080ff",
"gradientColor2": "#7928caff",
"shaderGradientPreset": "Halo",
"sourceId": "su_abc123",
"type": "solid",
"videoDurationSeconds": 12.4
},
"path": "M50 0 L100 100 L0 100 Z",
"point": {
"xPct": 30,
"yPct": 30
},
"shadow": "subtle",
"transition": "smooth"
}Response
OK
Example response
{
"shapeOverlay": {
"border": {
"color": "#FFFFFFFF"
},
"corners": "squircle",
"depth": "behind_presenter",
"depthChanges": [
{
"atMs": 1200,
"depth": "behind_presenter"
}
],
"dimensions": {
"height": 540,
"width": 960
},
"fill": {
"color": "#000000ff",
"gradientAngle": 45,
"gradientColor1": "#ff0080ff",
"gradientColor2": "#7928caff",
"shaderGradientPreset": "Halo",
"sourceId": "su_abc123",
"type": "solid",
"videoDurationSeconds": 12.4
},
"id": "ly_abc123",
"point": {
"xPct": 30,
"yPct": 30
},
"shadow": "subtle",
"transition": "smooth"
}
}Changes
- info
endpoint added
- info