Guides · ai · Everyday developer services

HeyGen API

AI avatar video generation API. Authenticate with an X-Api-Key header; custom avatars of real people need their explicit consent.

Researched · not yet run liveLast researched 25 October 2026 · HeyGen · provider site

Researched, not yet run live. Built from the provider’s official pages (linked below). A person hasn’t walked this flow end to end yet, so check each step against the source.

Steps

Steps marked “human step” are ones only you can do: verapli never signs in, submits, pays or accepts terms for you.

  1. Sign in or create a HeyGen account

    Sign in to HeyGen. If you have no account yet, you create it yourself; verapli does not create accounts.

    • Guided by hand
    • Human step: You sign in

    Where: https://app.heygen.com/

  2. Create an API key

    On the API keys page create a key and store it as HEYGEN_API_KEY (sent as X-Api-Key), or run stripe projects add heygen/api.

    • Guided by hand
    • Human step: You press submit
    • After: Sign in or create a HeyGen account

    verapli captures HEYGEN_API_KEY here by plain code: encrypted in your browser, never shown to AI.

    Where: https://platform.heygen.com/api-keys

Terms and gotchas

Plain-English summary, not legal advice. Each card links its source.

Can get you bannedThe rules say

Likeness consent

Creating avatars of other people, including public figures, without their explicit consent is prohibited; video digital twins require a consent video from the person depicted. [5]

What you end up with

Env varSecretFormatWhat it is
HEYGEN_API_KEYsecretHeyGen API key (X-Api-Key header)

For agents

The same entry as JSON: /api/v1/entries/heygen/api · requirements /api/v1/requirements/heygen/api · terms /api/v1/terms/heygen/api.

Remote MCP (read-only, no auth)
claude mcp add --transport http verapli https://verapli.com/mcp

> "What do I need for HeyGen API, and how long will it take?"
  → tools/call requirements { "provider_id": "heygen/api" }

Sources

  1. Stripe Projects CLI (Available providers) HeyGen is listed as a Stripe Projects provider (AI) · accessed 25 October 2026 · official
  2. projects.dev provider catalogue Catalogue service id heygen/api · accessed 25 October 2026 · official
  3. HeyGen developer docs - Quick start Create a key at platform.heygen.com/api-keys; X-Api-Key header; HEYGEN_API_KEY in examples; Enterprise has higher limits · accessed 25 October 2026 · official
  4. HeyGen developer docs - Avatar consent Consent requirements for avatars of real people; consent video flow · accessed 25 October 2026 · official
  5. HeyGen Content Moderation Policy Creating avatars of others without explicit consent is prohibited; no representing real people including public figures without consent · accessed 25 October 2026 · official

Provider rules change. This page is generated from verapli registry version 2026.1025.316; spotted something out of date? Tell us. HeyGen is not affiliated with verapli.