Skip to main content
Version: 1.3.x

Export AI Audio


The audio export section shows you how to send an API request in JSON format to create an audio file with the AI Model's voice.

1. API endpoint

https://aistudios.com/api/odin/simple/audio

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/emotion value for the AI Model.Stringtrue-
localeThe environment where the user is accessing the API. For users accessing from China, the value should be 'zh'Stringfalse-
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/audio  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"language":"ko",
"text":"샘플 스크립트",
"model": "ysy",
"webhook": ${webhook_delivery_address}
}'