Skip to main content
Version: Latest

Voice Generation

Generates voice data by inputting text and using the desired model's voice.

info

The types and availability of models that can be used need to be confirmed through inquiry.


1. API endpoint

POST https://app.aistudios.cn/api/odin/v3/tools/voice-generator

2. Request parameter

keydesctyperequireddefault
scriptScript to be spokenStringtrue-
modelVoice IDStringtrue-
typeType of voice
(deepbrainai | elevenlabs | google | ...)
Stringtrue-
languageLanguage of the voice
(en | ko | ja | ...)
Stringtrue-

3. Response parameters

keydesctype
downloadUrlURL of the generated voice dataString
info

The generated voice data can be deleted at any time, so you should download and use the data instead of using the generated URL directly.


4. Sample Request

curl https://app.aistudios.cn/api/odin/v3/tools/voice-generator  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"script": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.\nLorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
"model": "M000351175",
"type": "deepbrainai",
"language": "en"
}'