Skip to main content
Version: 1.4.x

Export Chromakey Video


The chromakey 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://aistudios.com/api/odin/simple/video

2. Request parameter

keydesctyperequireddefault
languageThe language the script is written in.Stringtrue-
textText for AI to read. It must match the language of the model.Stringtrue-
modelThe AI Model to be used.Stringtrue-
clothesThe clothes that the AI Model will wear.Stringtrue-
localeThe environment where the user is accessing the API. For users accessing from China, the value should be 'zh'Stringfalse-
uppercutHow much the area above model should be cropped in a chromakey video.Numberfalse-
webhookThe address where the synthesis result should be sent.Stringfalse-

3. Response parameters

keydesctype
successProgress on Request SuccessBoolean
keyProject Id - used when fetching Chromakey/Audio export data.String

4. Sample Request

curl https://aistudios.com/api/odin/simple/video  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"language":"ko",
"text":"샘플 스크립트",
"model": "ysy",
"clothes": "1",
"webhook": ${webhook_delivery_address}
}'