Introduction

You can create a mapping with resources, audio_tracks, font_changes and template_style_version_id parameters. Each parameter stores set of key-object pairs of editable data.

NameDescription
resourcesSet of key-object pairs of customized text, color, image, video editable data.
audio_tracksSet of key-object pairs of customized audio editable data.
font_changesSet of key-object pairs of customized font editable data.
template_style_version_idThe id of the video design you want to use.
{
"resources": {
"text": {
"source": { ... },
"transform": { ... }
},
...
},
"audio_tracks": {
"background": {
"source": { ... },
"transform": { ... }
},
},
"font_changes": {
"Helvetica": {
"source": { ... },
"transform": { ... }
}
},
"template_style_version_id": "InqO"
}

Editable#

An editable requires source and transform parameter. You can replace an asset from the template with your own media through customize source parameter. With transform, you can specify how to edit the image, or specify which section of the video or audio to use.