Generate, translate, and scale with one API
Our Video Agent, text-to-video, translation, and avatar APIs are production-ready and built to scale, starting at $5.
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
prompt: '<string>',
avatar_id: '<string>',
voice_id: '<string>'
})
};
fetch('https://api.heygen.com/v3/video-agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Model Gallery
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.
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.
Speed
Video Translation
Translate any video into 175+ languages quickly with fast, scalable dubbing — your content speaks every language.
Precision
Overdub
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
Overdub
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.
Starfish
Voices
Generate speech audio from text using HeyGen’s TTS engine.
HeyGen for Agents
The HeyGen CLI is agent-first by design, wrapping the full v3 API so developers and AI agents can create, poll, and download avatar videos straight from the terminal. Every command returns structured JSON, making it a natural fit for scripts, CI pipelines, and autonomous agent workflows.
Pricing
Start from $5 and only pay for what you generate
| Models | Cost | Use Case |
|---|---|---|
| Video Agent | $0.0333 / sec | One prompt in, polished video out. Avatar, script, and editing handled! |
| Photo Avatar - Avatar IV | $0.1 / sec | Turn a single photo into videos — demos, intros, and social media content. |
| Digital Twin - Avatar IV | $0.1 / sec | Clone your face and voice from a video — scale yourself instantly |
| Video Translation | $0.05 / sec | Lip-synced dubbing in 40+ languages, no re-shoots or voice actors needed. |
| Overdub | $0.05 / sec | Replace your video's audio and the lips re-sync automatically. |
| Proofread | $0.0083 / sec | Edit first, then translate with lip-synced dubbing into 40+ languages. |
| Voices - Starfish | $0.000333 / sec | Natural AI voiceovers for explainers, IVR, and training at a fraction of a cent. |
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.
Have questions? We have answers
What are the different ways to integrate with HeyGen?
HeyGen offers three integration paths: MCP for connecting to AI assistants like Claude without managing APIs, Skills for extending AI coding agents like Claude Code and Cursor, and Direct API for full programmatic control over video generation.
How does authentication work for each integration path?
MCP uses OAuth — users authorize via a consent screen with no API keys needed. Skills and Direct API both use an API key passed via the X-Api-Key header, generated from Settings → API in your HeyGen dashboard.
Are MCP credits and API balance the same?
No. MCP usage is deducted from your web plan's premium credit balance, while Skills and Direct API usage is deducted from your API dashboard balance. The two billing pools are independent.
What's the minimum amount to get started with Pay-As-You-Go?
You can start with as little as $5. Just top up your API wallet and pay only for what you use — no monthly commitment required.
What does the Enterprise plan offer beyond Pay-As-You-Go?
Enterprise includes everything in Pay-As-You-Go plus customized scalability, dedicated developer support, Digital Twin Creation API, Proofread API, and discounted rates.
