Avatars
Update Avatar Group
Changed onUpdates an avatar group you own. Currently sets default_voice_id, the voice this avatar uses by default; any voice in your workspace works, including clones. Public avatars cannot be updated.
patch/v3/avatars/{group_id}
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/avatars/{group_id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
group_idstring required
Unique avatar group identifier
Request body
Example request
{
"default_voice_id": "1bd001e7e50f421d891986aad5c8bbd2"
}Response
Successful response
Example response
{
"data": {
"id": "ag_abc123",
"name": "Anna",
"preview_image_url": "https://files.heygen.ai/avatar/anna_preview.jpg",
"preview_video_url": "https://files.heygen.ai/avatar/anna_preview.mp4",
"gender": "female",
"created_at": 1711929600,
"looks_count": 3,
"default_voice_id": "1bd001e7e50f421d891986aad5c8bbd2",
"consent_status": "accepted",
"error": {
"code": "training_failed",
"message": "Footage duration must be between 15s and 600s"
}
}
}Changes
- info
endpoint added
- info