Create a WebM Video

Creates a video in WebM format.

Body Params
string
required
Defaults to Vanessa-invest-20220722

ID of the avatar's pose. Can be retrieved from List All Avatars (V2) endpoint. It corresponds to the same value as the avatar_id field returned in the response.

string
enum
required
Defaults to normal

Visual style of the avatar.

Allowed:
string
required
Defaults to This is a WebM video generated by HeyGen API

The text that the avatar will speak in the video. Either (input_text & voice_id) or input_audio needs to be provided. Omitting both or defining both will result in an error.

string
required
Defaults to 1bd001e7e50f421d891986aad5158bc8

Unique identifier of the voice that the avatar will use. Either (input_text & voice_id) or input_audio needs to be provided. Omitting both or defining both will result in an error. Can be retrieved from List All Voices (V2) endpoint.

string
required

URL/ID of the uploaded audio. Either (input_text & voice_id) or input_audio needs to be provided. Omitting both or defining both will result in an error. Can be retrieved from Upload Asset endpoint.

dimension
object

Custom dimensions for the output video. The output will be scaled based on the height of the original avatar size.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json