Discussions
Upload Talking Photo to specific photo avatar group using API
5 months ago by Kanishka Chathuranga
How can I add an Upload Talking Photo to a specific photo avatar group using the following cURL command?
curl -XPOST https://upload.heygen.com/v1/talking_photo
-H 'x-api-key: xxx'
--data-binary '@'
-H 'Content-Type: image/jpeg'
Since there is a limit of 30 photo avatar groups, and I am using the Pro package, I need guidance on how to upload a Talking Photo to a specific photo avatar group using the API. I pass the talking_photo_id to the https://api.heygen.com/v2/video/generate endpoint. However, every time I run the https://upload.heygen.com/v1/talking_photo endpoint, it creates a new photo avatar group. How can I resolve this issue to release my product in production?