Clips
Update an overlay
Changed onUpdate an overlay's name, timing, position, or dimensions. Only the fields you send are changed.
patch/v1/videos/{id}/clips/{clipId}/overlays/{overlayId}
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
overlayIdstring required
Overlay ID
Request body
Example request
{
"animation": {
"intro": {
"preset": "slide_up"
},
"outro": {
"preset": "fade"
}
},
"depth": "behind_presenter",
"depthChanges": [
{
"atMs": 1200,
"depth": "behind_presenter"
}
],
"dimensions": {
"height": 540,
"width": 960
},
"point": {
"xPct": 30,
"yPct": 30
},
"transition": "smooth"
}Response
OK
Example response
{
"overlay": {
"animation": {
"intro": {
"durationMs": 500,
"easing": {
"bezier": [
0.25,
0.1,
0.25,
1
],
"curve": "slow_down",
"intensity": 0.5,
"spring": {
"damping": 12,
"mass": 1,
"stiffness": 200
}
},
"moveY": -0.5,
"preset": "slide_up",
"scale": 1,
"text": {
"delayMs": 100,
"order": "forward",
"smoothing": "linear",
"unit": "words"
}
},
"motionBlur": true,
"outro": {
"durationMs": 500,
"easing": {
"bezier": [
0.25,
0.1,
0.25,
1
],
"curve": "slow_down",
"intensity": 0.5,
"spring": {
"damping": 12,
"mass": 1,
"stiffness": 200
}
},
"moveY": -0.5,
"preset": "slide_up",
"scale": 1,
"text": {
"delayMs": 100,
"order": "forward",
"smoothing": "linear",
"unit": "words"
}
},
"textIntro": {
"durationMs": 500,
"easing": {
"bezier": [
0.25,
0.1,
0.25,
1
],
"curve": "slow_down",
"intensity": 0.5,
"spring": {
"damping": 12,
"mass": 1,
"stiffness": 200
}
},
"moveY": -0.5,
"preset": "slide_up",
"scale": 1,
"text": {
"delayMs": 100,
"order": "forward",
"smoothing": "linear",
"unit": "words"
}
},
"textOutro": {
"durationMs": 500,
"easing": {
"bezier": [
0.25,
0.1,
0.25,
1
],
"curve": "slow_down",
"intensity": 0.5,
"spring": {
"damping": 12,
"mass": 1,
"stiffness": 200
}
},
"moveY": -0.5,
"preset": "slide_up",
"scale": 1,
"text": {
"delayMs": 100,
"order": "forward",
"smoothing": "linear",
"unit": "words"
}
}
},
"depth": "behind_presenter",
"depthChanges": [
{
"atMs": 1200,
"depth": "behind_presenter"
}
],
"dimensions": {
"height": 540,
"width": 960
},
"durationMs": 5000,
"id": "ly_abc123",
"motionDocumentId": "ffd_abc123",
"name": "Logo",
"point": {
"xPct": 30,
"yPct": 30
},
"sourceId": "su_abc123",
"startTimeMs": 1000,
"transition": "smooth",
"type": "image"
}
}Changes
- warning
added the new
motionenum value to the/response property for the response status - info
added the new optional request property
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- info
added the new optional request property
- info
added the required property
/to the response with the status
- info