get https://api.heygen.com/v2/avatar//details
Retrieve detailed information about a specific avatar by its ID, including its name, gender, preview media, default voice, and tags.
Response
| Field | Type | Description |
|---|---|---|
| error | string | Error message, if any (null if no error). |
| data | object | Avatar details. |
| data.type | string | Always "avatar". |
| data.id | string | Unique identifier of the avatar. |
| data.name | string | Name of the avatar. |
| data.gender | string | Gender of the avatar ("male" or "female"). |
| data.preview_image_url | string | URL to a preview image of the avatar. |
| data.preview_video_url | string | URL to a preview video of the avatar. |
| data.premium | boolean | Whether the avatar is a premium avatar. |
| data.is_public | boolean | Whether the avatar is publicly available. |
| data.default_voice_id | string | Default voice ID associated with the avatar. |
| data.tags | array | List of tags associated with the avatar. |
