Skip to main content
Version: 1.4.x

AIPlayer DATA

1. AIModel

ParamTypeDescription
jsonObjectgetAiList return
json.aiNameStringAI name
json.aiDisplayNameStringAI display name
json.aiTypeStringAI type('2D', '3D')
json.languageStringAI available Language('kr', 'en', 'zh')
json.thumbUrlStringAI thumbnail image url

2. AIClipSet

ParamTypeDescription
jsonObjectAIClipset json object used for GesturePlay
json.textStringA sentence to be synthesized
json.gstStringGesture name.
json.voiceCustomVoiceA Custom Voice to be synthesized

3. AIGesture

Param
json
json.enableSpeech
json.gst

4. CustomVoice

ParamTypeDescription
jsonObjectCustomVoice
json.idStringCustomVoice id
json.languageStringCustomVoice supported languages
json.nameStringCustomVoice name
json.genderStringCustomVoice gender(MALE, FEMALE, UNI)

5. AIPlayerState

ParamTypeDescription
stateNumberAIPlayerState(NONE: 0, INITIALIZE: 1, IDLE: 2, PLAY: 3, PAUSE: 4, RELEASE: 5)

6. AIError

ParamTypeDescription
jsonObjectAIError
json.codeAIErrorCodeAIError code number
json.messageStringAIError message

6.1. AIErrorCode

ParamTypeDescription
codeNumberAIErrorCode(AI_API_ERR: 10000, AI_SERVER_ERR: 11000, AI_RES_ERR: 12000, AI_INIT_ERR: 13000, INVALID_AICLIPSET_ERR: 14000, AICLIPSET_PRELOAD_ERR: 15000, AICLIPSET_PLAY_ERR: 16000, RESERVED_ERR: 17000, UNKNOWN_ERR:-1,)

7. AIEvent

ParamTypeDescription
jsonObjectAIEvent
json.typeAIEventTypeAIEvent type number
json.clipSetAIClipSetAIClipSet related with this AIEvent

7.1. AIEventType

ParamTypeDescription
typeNumberAIEventType( RES_LOAD_STARTED: 0, RES_LOAD_COMPLETED: 1, AICLIPSET_PLAY_PREPARE_STARTED: 2, AICLIPSET_PLAY_PREPARE_COMPLETED: 3, AICLIPSET_PRELOAD_STARTED: 4, AICLIPSET_PRELOAD_COMPLETED: 5, AICLIPSET_PRELOAD_FAILED: 6, AICLIPSET_PLAY_STARTED: 7, AICLIPSET_PLAY_COMPLETED: 8, AICLIPSET_PLAY_FAILED: 9, AI_CONNECTED: 10, AI_DISCONNECTED: 11, AIPLAYER_STATE_CHANGED: 14, UNKNOWN: -1,)