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

Wondershare logo
Deloitte logo
HubSpot logo
HubSpot logo
Lemonade logo
Duolingo logo
Zoom logo
Shopify logo
Salesforce logo
Wondershare logo
Deloitte logo
HubSpot logo
HubSpot logo
Lemonade logo
Duolingo logo
Zoom logo
Shopify logo
Salesforce logo
Wondershare logo
Deloitte logo
HubSpot logo
HubSpot logo
Lemonade logo
Duolingo logo
Zoom logo
Shopify logo
Salesforce logo
Trusted by over 1,000,000 developers and leading companies.

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 / secClone 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 / secReplace your video's audio and the lips re-sync automatically.
Voices - Starfish$0.000667 / secNatural AI voiceovers for explainers, IVR, and training at a fraction of a cent.
Lipsync - Speed$0.0333 / secReplace your video's audio and the lips re-sync automatically.
Powered by V3 API

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.

50M+ videos generated

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

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.