Skip to main content
POST
Create Avatar Looks

Authorizations

x-api-key
string
header
required

HeyGen API key. Obtain from your HeyGen dashboard.

Headers

Idempotency-Key
string

Optional client-supplied key for safely retrying mutations. Subsequent calls within 24 hours that share this key replay the original response — even if the request body differs slightly (a warning is logged). A retry that arrives while the original is still in flight gets a 409 request_in_progress. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default. Scope is per-endpoint and per-resource: the same key on a different route or path parameter is independent.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9_\-:.]{1,255}$

Body

application/json

Generate a Look Pack's looks into the avatar an existing look belongs to.

type
string
required

Generation method. 'look_pack' applies a Look Pack template.

Allowed value: "look_pack"
reference_look_id
string
required

An existing avatar look used as the identity reference. The new looks are added to its avatar.

Required string length: 1 - 128
template_id
string
required

The Look Pack template to apply: a public template, or an enterprise custom pack assigned to your workspace.

Required string length: 1 - 128
aspect_ratio
enum<string> | null

Output aspect ratio, '16:9' by default. Generation is always 16:9; '9:16' center-crops the delivered frames to portrait as the final step.

Available options:
16:9,
9:16

Response

Successful response

data
CreateAvatarLooksResponse · object

Response for POST /v3/avatars/looks.