post https://api.heygen.com/v1/video.webm
Generates a webm video with transparent background and an avatar speaking the input text. You can customize the avatar's pose, style, and voice, as well as the dimensions of the video.
Response
Field | Type | Description |
---|---|---|
code | Integer | The status code of the API response. A 100 indicates a successful response. Other codes might indicate different types of errors. Please refer to the API's error code documentation for more information. |
data | Object | Contains the data from a successful API call. |
data.video_id | String | The ID of the generated video. This ID can be used to retrieve the video. |
msg | String or Null | Legacy field for messages. This field is deprecated |
message | String or Null | New field for messages. This field will contain human-readable messages explaining the status of the request. In case of errors, it will contain an explanation. |