Skip to main content
Version: Latest

Edit project and export

Edit existing project and export the video.


1. API endpoint

https://app.deepbrain.io/api/odin/v3/editor/project/${key}

2. Request parameter

keydesctyperequireddefault
updatesContent to change in the existing template.Jsontrue-
updates.backgroundAudioProject Background Audio information.Jsonfalse-
updates.valueChanges by clip in the project.Array(json)true-
updates.value[].sceneIdxThe index of the scene to be changedInttrue-
updates.value[].typeType of clip to changeString enum
(aiModel, shape, image, textImage, videoImage, audio, background)
true-
updates.value[].valuesContent to change.Jsontrue-
webhookUrlUrl address where the synthesis result should be sent.Stringfalse-

3. Response parameters

keydesctype
projectIdProject Id - Fetching the Chroma-key video data that has been exported.String

4. Sample Request

curl https://app.deepbrain.io/api/odin/v3/editor/project/${project key}  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"updates": [
{
"sceneIdx": 0,
"type": "aiModel",
"values": {
"script": "changed script"
}
},
{
"sceneIdx": 1,
"type": "textImage",
"values": {
"text": "change text",
"fontSize": 100
}
}
],
"webhookUrl": ${webhook_delivery_address}
}'