HeyGen Avatar 6 API
Create a lip-synced video from a portrait or an animated character reference video and a speech audio track. Supports 1080p and 2K.
- Image to video
- Video to video
Starting at
$0.15
per second of output
HeyGen Avatar 6 playground
Input
Public URL of the speech audio (2–60 seconds, maximum 15 MB). Video length follows the audio. Billing rounds the audio duration up to whole seconds.
Optional direction for the avatar's gestures, expression and posture.
Public URL of an animated or illustrated character video, at least 2 seconds long and up to 50 MB. Providing videoUrl selects video-to-video mode. The output follows the video's aspect ratio.
Public URL of one portrait image, required when videoUrl is omitted. In image-to-video mode the output follows the portrait's aspect ratio. With videoUrl, you may supply an image of the same character.
Runs are charged to your balance.
Output

Output will appear here.
Check the price and run the model. Your result will appear here; browser use does not need an API key.
HeyGen Avatar 6 API pricing
| Option | Price per second |
|---|---|
| 1080p | $0.15 |
| 2K | $0.21 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "heygen-avatar-6",6 "input": {7 "audioUrl": "https://example.com/speech.mp3",8 "resolution": "1080p",9 "imageUrls": [10 "https://example.com/portrait.jpg"11 ]12 }13 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
audioUrl | string | Yes | — | Public URL of the speech audio (2–60 seconds, maximum 15 MB). Video length follows the audio. Billing rounds the audio duration up to whole seconds. |
resolution | string | No | 1080p | Output resolutionOne of: 1080p, 2K |
prompt | string | No | — | Optional direction for the avatar's gestures, expression and posture. |
videoUrl | string | No | — | Public URL of an animated or illustrated character video, at least 2 seconds long and up to 50 MB. Providing videoUrl selects video-to-video mode. The output follows the video's aspect ratio. |
imageUrls | string[] | No | — | Public URL of one portrait image, required when videoUrl is omitted. In image-to-video mode the output follows the portrait's aspect ratio. With videoUrl, you may supply an image of the same character. |
Frequently asked questions
How much does HeyGen Avatar 6 cost?
HeyGen Avatar 6 starts at $0.15 per second of output on API Stock. The final charge depends on the selected settings.
How do I get an API key for HeyGen Avatar 6?
Create an account and API key on API Stock, then fund your balance. The same key works with HeyGen Avatar 6 and other catalog models.
How do I call the HeyGen Avatar 6 API?
POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "heygen-avatar-6". Use the returned task id for polling or receive a webhook.
What input parameters does HeyGen Avatar 6 accept?
HeyGen Avatar 6 accepts 5 input parameters, including the required field(s) audioUrl. See their types, defaults and allowed values above.
What happens if a HeyGen Avatar 6 request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use HeyGen Avatar 6 with the same API key as other models?
Yes. Use your API Stock API key and balance for HeyGen Avatar 6 and other catalog models.
Other Video models
- Veo 3.1 LiteGoogle$0.1/ generation
- MAGI-2Sand AI$0.114/ second
- Kling 4.0 FlashKling$0.132/ second
- Seedance 2.5ByteDance$0.132/ second
- Seedance 2.5 SpicyByteDance$0.134/ second
- Kling 4.0Kling$0.189/ second
- Veo 3.1 FastGoogle$0.2/ generation
- Gemini Omni 1.1 FlashGoogle$0.279/ generation
- Veo 3.1 QualityGoogle$0.715/ generation
Read next
Guides
- Text to videoWhich text-to-video model fits the shot you have in mind, prompts that actually work, and the full API run from create to finished file.8 min read
- Image to videoTurning a still into a shot — which model to animate it with, first and last frame control, motion transfer, and the prompts that keep the subject intact.7 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read