Discussions
Issues with custom Avatars/Voices
We are currently testing the API and found the following issue:
We have added a custom avatar (webcam recorded) which adds an Avatar + voice. The Avatar IS identified as "Male" and the documentation states that "premium" should be true if it is account specific.
Our problem is, that we would like to know which type of avatar/voice it is in order to know if it a custom avatar / voice.
This is the JSON we receive currently (v2/avatars):
{
"error": null,
"data": {
"avatars": [
{
"avatar_id": "cc3655e8240747a69c4cb73ba3627261",
"avatar_name": "mol",
"gender": "unknown",
"preview_image_url": "https://files2.heygen.ai/avatar/v3/cc3655e8240747a69c4cb73ba3627261/full/2.2/preview_target.webp",
"preview_video_url": "https://files2.heygen.ai/avatar/v3/cc3655e8240747a69c4cb73ba3627261/full/2.2/preview_video_target.mp4",
"premium": false,
"type": null,
"tags": null,
"default_voice_id": null
},
{
"avatar_id": "cc3655e8240747a69c4cb73ba3627261",
"avatar_name": "mol",
"gender": "unknown",
"preview_image_url": "https://files2.heygen.ai/avatar/v3/cc3655e8240747a69c4cb73ba3627261/full/2.2/preview_target.webp",
"preview_video_url": "https://files2.heygen.ai/avatar/v3/cc3655e8240747a69c4cb73ba3627261/full/2.2/preview_video_target.mp4",
"premium": false,
"type": null,
"tags": null,
"default_voice_id": null
},
....
PLEASE NOTE that the avatar is listed TWICE (why is that?) and the "default_voice_id" is NULL even when the web UI is showing the voice is "mol".
This is the JSON we receive currently ():
{
"error": null,
"data": {
"voices": [
{
"voice_id": "d3c946d72c19462b8b0f554e006cfcf6",
"language": "English",
"gender": "unknown",
"name": "mol",
"preview_audio": null,
"support_pause": true,
"emotion_support": false,
"support_interactive_avatar": false,
"support_locale": false
},
....
PLEASE NOTE that we cannot see that this is a "custom" voice.