본문으로 건너뛰기

매핑 구조

번역 준비중

이 문서의 한국어 번역을 준비중입니다. 아래는 영어 원문입니다.

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.