Discussions
Getting error in Custom Avatar create API
about 2 months ago by Bharat K
Hello
I am trying to create a custom photo avatar. I am following below steps :
Step 1 :
Call https://api.heygen.com/v2/photo_avatar/photo/generate
API to generate photo avatar.
Step 2 :
Call https://api.heygen.com/v2/photo_avatar/generation/{generation_id}
to check status.
Step 3 :
Call https://upload.heygen.com/v1/asset
to upload image asset.
Step 4 :
Call https://api.heygen.com/v2/photo_avatar/avatar_group/create
to finally create a custom avatar. But I get an error in response.
Here is the response data of the last API call.
{"data":null,"error":{"code":"internal_error","message":"This photo was not generated properly. Please contact [email protected]"}}
Please look into it and help me solve this problem.