Skip to main content
Version: Latest

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.aistudios.com/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-
isExportWhether this project will be exportedBooleanfalsefalse
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.aistudios.com/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",
"isExport" : true,
"webhookUrl": ${webhook_delivery_address}
}'