Skip to main content

Prerequisites

A portrait photo (PNG or JPEG) — clear, front-facing, good lighting
A voice_id for the voice you want. Use GET /v3/voices to browse options.

Step 1 — Create a Photo Avatar

Upload your photo and create a Photo Avatar with POST /v3/avatars:
The response includes an avatar_item with an id — this is your avatar_id for video creation.

Step 2 — Generate the video

Use POST /v3/videos with type: "avatar" and the Photo Avatar ID:

Step 3 — Poll for completion

Video generation is asynchronous. Poll until status reaches completed:

Full example

Photo Avatar–specific parameters

These parameters are only available when using a Photo Avatar (avatar_type: photo_avatar):

Example with motion and expressiveness

Optional parameters

Photo quality matters. Use a well-lit, front-facing portrait with a neutral expression for the best results. Avoid sunglasses, hats covering the forehead, or extreme angles.

Using a preset Photo Avatar

You can skip avatar creation and use a public preset avatar instead:
Pick any id from the response and use it directly as your avatar_id in POST /v3/videos.