Skip to main content
POST
cURL
Pass exactly 1 public HTTPS portrait photo in image_urls and your verbatim spoken script in prompt. Output is a 720p narrated MP4 video (16:9, 9:16, 4:5, 5:4, 1:1, or auto; default 16:9) using the Warm Pro Narrator voice. Omit duration and generate_audio — output length is determined by the script and synthesized speech, and final billing settles on actual output seconds.

Authorizations

Authorization
string
header
required

APIPod API Key (sk-...)

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "heygen-avatar-iv"
image_urls
string[]
required

Required. Exactly 1 public HTTPS portrait photo URL.

Required array length: 1 element

Public HTTPS portrait photo URL.

prompt
string
required

Required. The exact text script for the avatar to speak verbatim. Output duration depends on script length and synthesized voice.

Required string length: 1 - 8000
aspect_ratio
enum<string>
default:16:9

Output video aspect ratio (default 16:9).

Available options:
16:9,
9:16,
4:5,
5:4,
1:1,
auto
resolution
enum<string>
default:720p

Output resolution (720p).

Available options:
720p
callback_url
string

Optional webhook URL to receive task completion notifications.

Response

200 - application/json

Task accepted

code
integer
required
data
object
required
message
string
required