본문으로 건너뛰기
버전: 최신 버전

커스텀아바타 내보내기


커스텀 아바타 내보내기 기능은 사용자가 생성한 커스텀 아바타를 이용해 영상을 제작할 수 있도록, JSON 형식의 API 요청을 통해 비디오를 출력하는 과정을 설명합니다.

1. API endpoint

https://app.aistudios.com/api/odin/v3/simple/custom

2. Request parameter

keydesctyperequireddefault
language작성한 스크립트의 언어Stringtrue-
text모델이 발화할 스크립트Stringtrue-
model사용할 커스텀아바타 모델의 IDStringtrue-
isExport이 프로젝트 내보내질지 여부. false 인경우는 프로젝트에 노출Booleanfalsetrue
webhookUrl합성 결과를 보내줄 주소Stringfalse-

3. Response parameters

keydesctype
projectId내보내기 요청을 한 크로마키의 프로젝트 IDString
taskId내보내기 요청을 한 태스크IDString

4. Sample Request

curl https://app.aistudios.com/api/odin/v3/simple/custom  \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"language": "en",
"text": "Sample Script",
"model": "67da28f034b05ae2e4385a2b",
"webhookUrl": ${webhook_delivery_address}
}'