HeyGen
HeyGen Avatar 6 Turbo
heygen-avatar-6-turbo/image-to-video
HeyGen's fast avatar video model, offering a built-in library of digital human avatars and text-to-speech support, and also supporting photo or animated character reference clips with audio-driven lip-sync for talking-head videos, with optional 1080p or 2K resolution
Try heygen-avatar-6-turbo/image-to-video
Input
Speech audio that drives lip sync and facial expressions; must be an HTTPS link to an audio file. The video duration matches the audio length and cannot be specified separately.
Portrait photo of the person to be animated; must be an HTTPS link. The model uses it as the avatar image to generate the talking video.
Showcases
View all showcasesOutput
videoPricing
heygen-avatar-6-turbo/image-to-video per second
| Specifications | Unit Price |
|---|---|
| 1080P | |
| 2K | |
Overview
This is an image-driven avatar talking-head video generation pipeline: submit a publicly accessible HTTPS portrait photo of a person along with a publicly accessible HTTPS voice recording, and you get a single video of the person speaking on camera, with the final clip length matching the recording length. Developers can optionally provide a motion prompt to guide the avatar's movements and expressions, and choose 1080p or 2k output via the resolution parameter. It suits content teams, training departments, and integration developers who want to quickly turn existing voiceovers into on-camera explainer assets for course pages, social media posts, or workflows within their own applications.
Key Highlights
- A photo plus a recording is all it takes to drive a talking-head video — only two required inputs, image_url and audio_url, are needed, eliminating the need for on-camera filming and scheduling; a single recording becomes a finished clip.
- Clip length is determined by the recording — the video length follows the voice length of audio_url, so finalizing the recording before editing lets you control the pacing and asset planning of the final clip.
- Motion prompts can guide expressions — motion_prompt uses text to describe movement and expression direction and takes effect together with the recording, making it suitable for presenting a fixed portrait in different states.
- Two resolution tiers to choose from as needed — resolution can be 1080p or 2k, with 1080p as the default; 2k suits large screens or close-up scenarios, so decide the tier based on the delivery placement before finalizing.
Capabilities
- image_url portrait input: image_url is required and must be a publicly accessible HTTPS portrait photo of a person. When choosing a photo, prioritize front-facing, clearly featured, evenly lit images; before submitting, open the link directly in a browser to confirm it is accessible, so the avatar generation stage is not interrupted because the image cannot be fetched.
- audio_url voice-driven duration: audio_url is required and must be a publicly accessible HTTPS voice recording; the clip length follows the recording length. When preparing, first trim the silence and noise at the start and end of the recording, then confirm the link can be accessed directly; when precise duration is needed, use this finalized recording as the sole baseline for calculating the final clip length.
- motion_prompt actions and expressions: motion_prompt is optional, up to 1200 characters, and describes the direction of the avatar's movements and expressions, taking effect together with the recording. In writing, describe only observable movements and expressions, avoid stacking conflicting instructions; when multiple versions are needed for the same portrait, prepare short prompts separately for each version for comparison.
- resolution output resolution: resolution can be 1080p or 2k, with 1080p as the default, priced per second of output video: 1080p at $0.0715 per second, 2K at $0.125126 per second. When choosing, first consider the delivery placement; the default tier is sufficient for web and mobile, while 2k is for large screens or when close-up cropping is needed.
Use Cases
- Corporate training teams producing explainer videos — training leads collect front-facing photos of speakers, organize already-recorded course narration audio, select 1080p on submission and use motion_prompt to describe natural gestures, then review lip sync and visuals before delivering to the internal learning page.
- Content creators repurposing existing voiceovers — creators upload podcast or narration recordings as audio_url, pair them with a consistent portrait, select 1080p to generate a talking-head video, check lip sync and pauses, and then publish to short-video platforms or official accounts, reusing existing audio assets.
- Marketing teams producing brand talking-head videos at scale — brand operators use the same spokesperson avatar with multiple product introduction audio tracks, submitting each one and choosing resolution to batch-produce a series of talking-head assets, which are then delivered to the official website and social media accounts after brand review.
- Developers integrating avatar video workflows — developers connect image_url and audio_url to their own content systems, choose 1080p or 2k according to the target screen, embed the generated results into course players or marketing pages, and reconcile usage based on per-second output video.
Limitations and Selection Advice
- Both image_url and audio_url must be publicly accessible HTTPS links; local files or addresses that require login cannot be used directly, so verify each one before submission.
- The clip length follows audio_url entirely; an overly long recording directly lengthens the final clip and the billed duration, so it is recommended to trim leading and trailing silence and unnecessary pauses before submitting the finalized audio.
- motion_prompt allows up to 1200 characters; anything beyond that will be rejected. Keep descriptions short and focused, and avoid putting conflicting action requirements in the same sentence.
- Resolution only has two tiers, 1080p and 2k, with 1080p as the default; 2k is billed at a higher unit price, so before generating at scale, confirm whether the delivery placement really needs 2k.
What's new
View changelog →- New model HeyGen Avatar 6 Turbo is live: three digital-human video routes
Frequently asked questions
View all FAQs →-
Can I generate a video with only text and an avatar?
Yes. identity-to-video supports pure text-driven generation: put the script to be spoken in prompt (up to 5000 characters), select a TTS voice with voice (such as Warm Pro Narrator, Ivy, John Doe, etc.), and choose an image from the built-in avatar library with avatar, and you can generate a lip-synced talking video. In this case the audio is automatically synthesized by the model, and the video duration follows the length of the synthesized audio.
-
How do I drive the avatar with my own recorded audio?
Simply pass audio_url, but it must be an HTTPS link to a speech audio file. Once audio_url is provided, both prompt and voice are ignored, and the video length is determined entirely by the duration of that audio. Note that the audio duration cap corresponds to a generation limit of about 600 seconds, so overly long audio must be trimmed first.
-
Can I specify the video duration myself?
No. The video length for this model is determined by the duration of the input audio and cannot be specified independently through parameters. If driven by text, the duration follows the length of the synthesized speech; if audio_url is passed, it follows the length of that audio. To control the length of the finished video, you can only do so by adjusting the amount of script text or editing the audio.
-
How should I write the prompt to control expressions and actions?
Use the motion_prompt field to describe the actions and expressions, up to 1200 characters; prompt only handles the dialogue content. Suggested order: ① first write the overall emotional tone (e.g. "calm, confident"); ② then write the head and facial details (e.g. "slight nodding, natural blinking, occasional smiling"); ③ finally write the gesture amplitude (e.g. "hands resting naturally in front of the body, occasional small gestures"). Do not repeat the dialogue content, and do not write camera movement or scene changes, as these are not within the scope of motion_prompt's control.
Create a generation task
https://api.hiapi.sh/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: heygen-avatar-6-turbo/image-to-video
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for heygen-avatar-6-turbo/image-to-video and route default — see the parameter table below.
audio_urlstringRequiredminLength 1pattern ^https://HTTPS URL of the speech audio file. Once provided, the lip sync and performance are driven directly by the audio, and the video duration matches the audio length.
image_urlstringRequiredminLength 1pattern ^https://HTTPS URL of the portrait photo of the person to be animated, used as the avatar image input for generating the video.
resolutionstringOptionalDefault: "1080p"Output resolution, defaults to 1080p; 2k is billed higher than 1080p.
1080p2kmotion_promptstringOptionalmaxLength 1200Optional, a prompt used to specify the avatar's motion and facial expression direction.
callbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.sh/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "heygen-avatar-6-turbo/image-to-video",
"input": {
"audio_url": "…",
"image_url": "…",
"resolution": "1080p"
}
}' const res = await fetch("https://api.hiapi.sh/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "heygen-avatar-6-turbo/image-to-video",
input: {
"audio_url": "…",
"image_url": "…",
"resolution": "1080p"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.sh/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "heygen-avatar-6-turbo/image-to-video",
"input": {
"audio_url": "…",
"image_url": "…",
"resolution": "1080p"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.sh/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Tutorial
HeyGen Avatar 6 Turbo identity-to-video in practice: five high-value scenarios
From batch narration to a production pipeline: where a digital human earns its place
10 min read -
Tutorial
HeyGen Avatar 6 Turbo image-to-video in practice: five high-value scenarios
From product explainers to multilingual clips: how developers put a video model to work
8 min read -
Guide
HeyGen Avatar 6 Turbo identity-to-video: Capabilities, Pricing and Integration
From scripts and recordings to talking-head video: capability boundaries, API details and cost estimation
7 min read -
Comparison
HeyGen Avatar 6 Turbo identity-to-video: choosing among digital-human models
From billing to integration: a selection and migration guide for developers
8 min read -
Comparison
HeyGen Avatar 6 Turbo image-to-video: how to compare and migrate
8 min read -
Guide
HeyGen Avatar 6 Turbo image-to-video: Capabilities, Pricing and Integration
From a portrait to a talking clip: input shapes, parameters and per-second cost
8 min read
Related Models
View all models →Same Type
-
Hailuo 2.3 MiniMax $0.270 /video -
Wan 2.6 Flash Alibaba $0.029 /second -
Kling 2.6 Kuaishou $0.100 /second -
Kandinsky 6.0 Pro Sber AI $1.93 /video -
Wan 2.2 Animate Alibaba $0.043 /second -
Gemini Omni 1.2 Google $0.023 /second -
PixVerse V6 Max PixVerse $0.030 /second -
Seedance 2.0 ByteDance $0.009 /second -
Vidu Q4 Preview Vidu $0.051 /second -
Kling 3.0 Kuaishou $0.100 /second -
HappyHorse 1.0 Alibaba $0.168 /second -
Grok Imagine 1.5 Lite xAI $0.029 /second