heygen/avatar-4
Avatar 4 turns a photo into a talking avatar that speaks your text or lip-syncs to an audio file.
Model Inputs
Photo to animate (.jpg/.png/.webp). It must contain a clear face
Drag & drop a file here, or click to select
Supported formats: JPG, PNG, WEBP (max 10MB)
The text the avatar will speak
Name of the voice to use for the avatar
Optional speech for the avatar to lip-sync to (.mp3/.wav/.flac/.m4a/.ogg). When set, it overrides prompt and voice
Drag & drop a file here, or click to select
Supported formats: MP3, WAV, FLAC, M4A, OGG (max 10MB)
Talking style - 'stable' for minimal movement, 'expressive' for more animation
Facial expression for the avatar to hold, e.g. friendly, serious, excited
Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p
Aspect ratio of the output video. Supported values: '16:9', '9:16', '4:5', '5:4', '1:1', and 'auto'. 'auto' preserves the source aspect ratio when HeyGen can read it, falling back to '16:9' otherwise.
Whether to add captions to the video
Result
Pricing
heygen/
avatar-4
You are billed for what this model actually produces — by the second — so a shorter request costs less and you never pay for idle time.
For example, a request of 60 seconds costs about $6.00.
You are charged for what the request actually produces, so the final amount scales with the seconds you use.
| Provider | Price ($) | Saving (%) |
|---|---|---|
| Synexa | $0.10 | - |
| fal | $1.00 | 90.0% |
Comparison prices are for an equivalent request.
Readme
Avatar 4 animates a photo of a face into a speaking avatar. Drive it either with prompt (the text to speak, using a named voice) or with audio_url - supplying audio overrides both prompt and voice.
talking_style chooses between stable (minimal movement) and expressive (more animation); expression sets the facial expression and caption burns in subtitles. Resolution runs from 360p to 1080p, and aspect_ratio: auto preserves the source shape.
Custom backgrounds exist upstream but are not exposed here, because they take a nested object payload.