Skip to main content
Version: Latest

Create Custom Avatar

Create a custom avatar and voice clone using a video.


1. API endpoint

POST https://app.aistudios.cn/api/odin/v3/avatars/customavatar

2. Request parameter

keydesctyperequireddefault
urlVideo URLStringtrue-
nameName of the custom avatar and voice cloneStringtrue-
genderGender of the custom avatar and voice cloneString enum (MALE, FEMALE)true-
localeLanguage of the voice clone sample voiceString enum (en, ko, zh)falseen
perFrameWhether the video has person movementsBooleanfalsetrue
isWebcamWhether the video is recorded with a webcamBooleanfalsefalse

3. Response parameters

keydesctype
avatarIdID of the created custom avatarString
voiceIdID of the created voice cloneString

4. Sample Request

curl https://app.aistudios.cn/api/odin/v3/avatars/customavatar  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"url": "https://cdn.aistudios.com/uploads/models/en/M000351175_BG00001308.mp4",
"name": "Ian",
"gender": "MALE",
"locale": "en",
"perFrame": false,
"isWebcam": true
}'