Skip to main content
Version: 1.4.x

Export Chroma key Video


The chroma-key export section shows how to send an API request in JSON format to export a chormakey video that only contains the AI Model.

1. API endpoint

https://app.deepbrain.io/api/odin/v3/simple/video

2. Request parameter

keydesctyperequireddefault
languageThe langauge the script is written in.Stringtrue-
textText for AI to read. It must match the langauge of your selected model.Stringtrue-
modelTher AI Model to be used.Stringtrue-
clothesClothes that the AI Model will wear.Stringtrue-
ttsTypeExternal TTS information that is not the default voice of the model.Jsonfalse-
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/simple/video  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"language": "en",
"text": "Sample Script",
"model": "M000045058",
"clothes": "BG00002320",
"webhookUrl": ${webhook_delivery_address}
}'