The video you imagine, delivered into your system
We orchestrates avatars, voices, images, editing, music, and assets into deterministic, repeatable renders, and delivers production-ready video into your own stack. From one video to batches of thousands on HeyGen Cloud
const res = await fetch("https://api.heygen.com/v3/videos", {
method: "POST",
headers: {
"X-Api-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
type: "avatar",
avatar_id: "YOUR_AVATAR_ID",
engine: { type: "avatar_v" },
script: "Hello, this is a sample video.",
voice_id: "YOUR_VOICE_ID"
})
});
console.log(await res.json());Model Gallery

Avatar V
Digital Twin
Character consistency is what separates a useful avatar from a gimmick. Avatar V delivers it across every angle, every expression, and every video you create.

Avatar IV
Digital Twin
A Digital Twin is a lifelike avatar trained from real video footage of a person. Once created, you can make it speak any script in any supported voice — no camera or studio required.

Avatar IV
Photo Avatar
A Photo Avatar is created from a single still image of a person. HeyGen animates the face, syncs lip movements to your script, and produces a realistic talking-head video — all from one photo.

Precision
Video Translation
Translate any video into 175+ languages with context-aware, highly natural lip-sync and accurate gender detection. Your content speaks every language — in your voice — just the way you intended.

Video Agent
Go from idea to finished video in a single prompt. No scripting, no avatar selection — just describe what you want and let AI handle the rest.

Starfish
Voices
Generate speech audio from text using HeyGen’s TTS engine.

Precision
Lipsync
Dub or replace audio on a video using a provided audio file. HeyGen re-syncs the speaker’s lip movements to match the new audio.

Speed
Video Translation
Translate any video into 175+ languages quickly with fast, scalable dubbing — your content speaks every language.
HeyGen for Agents
To let Claude or Codex use the HeyGen API, just drop the HeyGen CLI command into your Claude or Codex setup and ask it to generate videos or translate something. Simple, but effective. The CLI uses your API key and consumes your API balance. If you want to use your web subscription instead, you'll need to connect MCP to your agent.
Pricing
Start from $5 and only pay for what you generate
| Models | Costs start from | Use Case |
|---|---|---|
| Video Agent | $0.0333 / sec | One prompt in, polished video out. Avatar, script, and editing handled! |
| Digital Twin - Avatar V | $0.0667 / sec | Clone your face and voice from a video — scale yourself instantly |
| Video Translation - Precision | $0.0667 / sec | Lip-synced dubbing in 40+ languages, no re-shoots or voice actors needed. |
| Video Translation - Speed | $0.0333 / sec | Lip-synced dubbing in 40+ languages, no re-shoots or voice actors needed. |
| Lipsync - Precision | $0.0667 / sec | Replace your video's audio and the lips re-sync automatically. |
| Voices - Starfish | $0.000667 / sec | Natural AI voiceovers for explainers, IVR, and training at a fraction of a cent. |
| Lipsync - Speed | $0.0333 / sec | Replace your video's audio and the lips re-sync automatically. |
Start building with HeyGen
Explore the building blocks behind HeyGen's video APIs and find everything you need to get your next project off the ground.
The Basics

50M+ videos generated
HeyGen's global video infrastructure is built to handle production workloads of any size, giving developers and enterprise teams the reliability and scale they need to keep up with demand and grow without limits.

Agentic ready
HeyGen is designed to work alongside your AI agents. Our production-ready APIs integrate directly into agentic workflows, giving your systems the ability to generate and translate video automatically and at scale.
SOC 2 Type II and GDPR
Your data security is our top priority. HeyGen is independently audited and certified for SOC 2 Type II and GDPR compliance, ensuring your information stays protected at the highest possible standards.
99.9% API uptime
HeyGen is built for dependable performance with a 99.9% API uptime, ensuring your video infrastructure stays available and your automated video workflows run without interruption.