# HeyGen Documentation ## About HeyGen HeyGen is an AI video platform: avatars, voice, translation and lip-sync, used by 85,000+ companies. This file indexes the developer docs. For product, pricing and use cases, see [heygen.com](https://www.heygen.com) and its [llms.txt](https://www.heygen.com/llms.txt). ## Start here if you are an AI agent Read [For AI Agents](https://developers.heygen.com/docs/for-ai-agents.md) first, and verify auth before writing any code. Use HeyGen in this order: 1. **API**: HTTPS calls to `api.heygen.com` with an API key in the `X-Api-Key` header, read from `HEYGEN_API_KEY`. The default for everything. Start with the [Quick Start](https://developers.heygen.com/docs/quick-start.md). Never ask the user to paste a key into chat. 2. **CLI**: the [`heygen` commands](https://developers.heygen.com/commands.md) with the same API key, for terminal and scripted workflows. 3. **MCP**: `mcp__heygen__*` tools over OAuth, billed to the user's subscription credits. Good for a first test from an AI host; move to an API key for anything at scale. Route by goal: see [Choose an endpoint](#choose-an-endpoint). Official agent skills: [`heygen-com/skills`](https://github.com/heygen-com/skills) ([install guide](https://github.com/heygen-com/skills/blob/master/INSTALL_FOR_AGENTS.md)). ## Getting Started - [For AI Agents](https://developers.heygen.com/docs/for-ai-agents.md): Agent-first onboarding — auth detection, skills install path, and rules for agents generating HeyGen videos on a user's behalf. - [Quick Start](https://developers.heygen.com/docs/quick-start.md): Get from zero to a generated video in minutes — auth, create, poll. - [Stripe Projects](https://developers.heygen.com/docs/stripe-projects.md): Fund API usage with a Stripe-backed project wallet — for agents provisioning on a user's behalf. - [Discord](https://developers.heygen.com/docs/discord.md): Join the HeyGen developer community on Discord for direct access to engineers, PMs, and other developers. - [Slack Integration](https://developers.heygen.com/docs/slack.md): Generate HeyGen videos from Slack — connect, prompt, and share. - [Changelog](https://developers.heygen.com/changelog.md): Product updates and announcements for the HeyGen API and developer platform. ## Authentication An **API key** authenticates the API and CLI and bills to API plans: use it for anything real. **OAuth** (MCP, or CLI `--oauth`) uses the user's web subscription credits and suits small trials. - [API Key](https://developers.heygen.com/docs/api-key.md): Generate, rotate, and secure your HeyGen API key. Verify it with `GET /v3/users/me`. - [API Key Permission Scopes](https://developers.heygen.com/docs/api-key-permissions.md): Map restricted API key read and write scopes to the public endpoints that require them. ## Choose an endpoint Pick by what the user has and wants. Every endpoint below takes an API key; IDs such as `avatar_id` come from the user's HeyGen workspace or the public library. Check each route's input requirements before calling it. - Video from a prompt, an image or a reference clip, with no speaking presenter: HeyGen Video 1, `POST /v3/models/videos`, then poll `GET /v3/models/videos/{video_id}`. Also the route for mascots, animals and stylized or cartoon characters ([HeyGen Video 1](https://developers.heygen.com/docs/models/heygen-video.md)). - Talking video from a photo or video of a person plus a script or speech audio: HeyGen Avatar 6, `POST /v3/models/avatars`, then poll `GET /v3/models/videos/{video_id}`. It takes speech audio: for a script, first generate it with HeyGen Voice 1 (`POST /v3/models/audio/tts`) and pass the returned `audio_url` as `audio`. A photo of a person, used with their permission, works in every workspace; a realistic-human reference video needs Enterprise video-reference access and the person's consent, and otherwise returns `422 realistic_human_reference_not_allowed` ([reference media](https://developers.heygen.com/docs/models/avatar-6.md#reference-media)). - A HeyGen avatar look (public or the user's own) speaking a script or audio: `POST /v3/videos` with `type: "avatar"`, then poll `GET /v3/videos/{video_id}`. - A finished, edited video from a prompt (scenes, b-roll, optional avatar): Video Agent, `POST /v3/video-agents`, then poll `GET /v3/video-agents/{session_id}` for a `video_id` and `GET /v3/videos/{video_id}` for the file. - Speech from text: HeyGen Voice 1, `POST /v3/models/audio/tts`, with a public voice or the user's voice clone. To shape how it sounds, see [Pick a voice control](#pick-a-voice-control). - Translate a video into another language: `POST /v3/video-translations`. - New audio on an existing video, lip-synced: `POST /v3/lipsyncs`. - One person's face in a new scene: HeyGen Image 1, `POST /v3/models/images`, then poll `GET /v3/models/images/{generation_id}`. Send 1–5 `identity_images` of the person and exactly one `reference_images` entry showing one person; the scene, pose, clothing and light come from that image, not from a text prompt ([HeyGen Image 1](https://developers.heygen.com/docs/models/heygen-image.md), [contract](https://developers.heygen.com/reference/create-heygen-image.md)). - Classify, check or score text, images, video or audio: HeyGen Decision 1, `POST /v3/models/decisions`. ## Video - [HeyGen Video 1](https://developers.heygen.com/docs/models/heygen-video.md): Prompt-to-video model `heygen-video-1` on POST /v3/models/videos: text, image or reference to 5–30 s clips with turbo/quality enhancement, over the API and MCP; disabled/ultraquality enhancement stays at 5–15 s. Auto duration estimates quoted speech with an 8 s minimum, up to 30 s for text or image to video and 15 s for reference to video or MCP. Clips include their own audio. Use POST /v3/videos instead to animate an avatar from a script. - Video Agent: - [Prompt to Video](https://developers.heygen.com/docs/video-agent.md): Create videos from a text prompt with full control over avatar, voice, style, and file inputs. - [Prompting Guide](https://developers.heygen.com/docs/prompting-guide.md): Write Video Agent prompts that land on the first cut — duration, style paragraphs, and scene-by-scene scripts. - [Interactive Sessions](https://developers.heygen.com/docs/interactive-sessions.md): Review storyboards, send follow-up messages, and iterate with the Video Agent before generating. - [Edit Scenes](https://developers.heygen.com/docs/edit-scenes.md): Revise only the scenes you name in a Video Agent video: read GET /v3/videos/{video_id}/scenes for scene ids and edit_version, send an edit_plan, poll the new draft. Untouched scenes keep script and visuals. - [Styles & References](https://developers.heygen.com/docs/styles-and-references.md): Browse and apply curated visual styles to Video Agent videos. - [Video Agent Styles (CLI Recipe)](https://developers.heygen.com/video-agent-with-styles.md): Pick a visual style — cinematic, handmade, retro — and let the Video Agent handle the rest. - [Writing Effective Video Prompts](https://developers.heygen.com/writing-effective-video-prompts.md): What actually works when prompting Video Agent — based on real experiments, not theory. - Studio: - [Build a video from scenes](https://developers.heygen.com/studio-videos.md): Compose avatar clips, images, and video footage into one rendered MP4 with a single POST /v3/videos call (type: "studio") — 1–50 whole-frame scenes, global aspect ratio/resolution/captions, all-or-nothing render. - [Get video details](https://developers.heygen.com/video-details.md): Read everything the API knows about a video you've created — delivery URLs, lifecycle timestamps, and the full scene-by-scene composition. - [Edit a video](https://developers.heygen.com/edit-video.md): Edit a rendered video in place with POST /v3/videos/{video_id}: script text, voice, and avatar engine or motion prompt, keyed by ids from GET /v3/videos/{video_id}/scenes. Only changed scenes re-render and bill; Idempotency-Key required; edit_version guards stale edits. - Templates: - [Templates overview](https://developers.heygen.com/templates.md): Discover HeyGen Studio templates and read their variable schema over the API — list API-ready templates, inspect the variables each exposes, and fill them to generate on-brand videos at scale. - [Build a template](https://developers.heygen.com/templates-guide.md): Design a reusable template in the HeyGen Studio editor — named variables, scenes, and the settings that make it API-ready. - [Create a template via API](https://developers.heygen.com/create-template.md): Create a template from a video you generated with the API or saved in the HeyGen editor, and mark which parts change (avatar, voice, images, script phrases), all over the API, then generate personalized videos from it. - HyperFrames: - [What is HyperFrames](https://developers.heygen.com/hyperframes-overview.md): What Hyperframes is — a code-driven video framework that turns HTML compositions into rendered video. Covers core concepts (compositions, data attributes, variables, deterministic rendering) and the ways to render. - [Render a project](https://developers.heygen.com/hyperframes.md): Render an HTML project bundle to video on HeyGen's infrastructure via POST /v3/hyperframes/renders — upload a zip, inject runtime variables, poll or use webhooks, download the MP4/WebM/MOV. - [HyperFrames use cases](https://developers.heygen.com/hyperframes-heygen.md): Combine an avatar video, background music, and sound effects into one finished video by compositing them in a Hyperframes render — wires POST /v3/videos, GET /v3/audio/sounds, and POST /v3/hyperframes/renders into a single pipeline. ## Avatar **Recommended request defaults for `POST /v3/videos`:** set `aspect_ratio: "auto"` (matches the source footage or image, falling back to `16:9`) and `resolution: "1080p"`. Both are supported on the `avatar` and `image` video types. Cinematic Avatar (`type: "cinematic_avatar"`) supports `16:9`/`9:16`/`1:1` only — no `auto` — at `720p` or `1080p`; with `model: "heygen_video_1"` (HeyGen Video) it renders `16:9`/`9:16` at `720p`. The `studio` type composes multiple whole-frame scenes with global output settings. - Avatar models: - [HeyGen Avatar 6](https://developers.heygen.com/docs/models/avatar-6.md): `heygen-avatar-6` and `heygen-avatar-6-turbo`. POST /v3/models/avatars animates a reference photo or video with speech audio you supply, no avatar or voice set up first; poll GET /v3/models/videos/{video_id}. Also an engine on POST /v3/videos (`engine.type`) for HeyGen avatar looks. 1080p or 2K, `motion_prompt` and `motion_expressiveness`. - [HeyGen Avatar 5 (Avatar V)](https://developers.heygen.com/avatar-v.md): Engine on POST /v3/videos (needs an avatar look). Avatar V is HeyGen's highest-fidelity v3 rendering engine, using cross-reference-driven animation for the most natural motion and lip-sync. Opt-in per look. - [HeyGen Avatar 4 (Avatar IV)](https://developers.heygen.com/avatar-iv.md): Engine on POST /v3/videos (needs an avatar look). Avatar IV is the default HeyGen v3 rendering engine — the broadest avatar support, arbitrary image animation, motion_prompt, and expressiveness control. - [HeyGen Avatar 3 (Avatar III)](https://developers.heygen.com/avatar-iii.md): Engine on POST /v3/videos (needs an avatar look). Avatar III is HeyGen's v3 rendering engine built around a dedicated photo-to-video pipeline, with a higher-quality re-engineered model for photo avatars and video avatars (digital twins and studio avatars). - [Models](https://developers.heygen.com/models.md): The models behind the API — HeyGen Video for prompt-to-video, the Avatar V, IV, and III rendering engines compared, plus the HeyGen Voice model with its instant and professional clone tiers. - Make avatar videos (`POST /v3/videos`; pass `"engine": {"type": "heygen-avatar-6"}` on eligible looks): - [Avatar video (digital twin)](https://developers.heygen.com/generate-avatar-video.md): 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. - [Voice in avatar videos](https://developers.heygen.com/voice-in-avatar-videos.md): How voice works on POST /v3/videos: pick a voice, check the script's language and accent (voice_settings.locale) against GET /v3/videos/voice-capabilities, name the engine and model in voice_settings.engine_settings, then set speed, volume and engine controls. - [Photo avatar video](https://developers.heygen.com/photo-avatar.md): 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. - [Talking photo](https://developers.heygen.com/image-to-video.md): Animate a person in any image with a script or audio on POST /v3/videos type image (Avatar IV), no avatar setup. Compares it with HeyGen Avatar 6 on POST /v3/models/avatars for photo plus audio. - [Avatar video from audio](https://developers.heygen.com/audio-to-video.md): Bring your own audio — a voice memo, a podcast segment, a dubbed track — and lip-sync it onto your avatar, digital twin, or any image with one HeyGen API call. - [Cinematic avatar](https://developers.heygen.com/cinematic-avatar.md): Camera-directed avatar videos (`type: "cinematic_avatar"`) — multi-shot prompts, cinematic motion, and scene direction on top of avatar speech. Render with HeyGen Video via `model: "heygen_video_1"` (16:9 or 9:16, 720p, 5–15 s); omitting `model` renders with Seedance 2. - [Transparent background](https://developers.heygen.com/transparent-background-videos.md): Render avatar videos with a transparent background (WebM) for compositing into your own scenes and players. - [Photo to Video (CLI Recipe)](https://developers.heygen.com/photo-to-video.md): Turn a single headshot into a talking avatar video — upload, create, voice, render. All from the CLI. - Create avatars: - [Create an avatar](https://developers.heygen.com/docs/create-avatar.md): The four ways to create an avatar (footage, photo, prompt, Look Pack) and which guide to use. Creation returns an avatar_item (the look) and an avatar_group (the character identity); the look ID is what you pass as avatar_id when creating videos. - [Create an avatar from a video](https://developers.heygen.com/docs/avatar-from-video.md): Train a digital twin from footage of a person with POST /v3/avatars type digital_twin. Covers footage targets (15-600s, one person, audible speech), the voice cloned from the same recording, failure codes, and consent. - [Create an avatar from a photo](https://developers.heygen.com/docs/avatar-from-photo.md): Create an avatar from one still image with POST /v3/avatars type photo. No consent step; the photo becomes the identity reference for every later look. - [Create an avatar from a prompt](https://developers.heygen.com/docs/avatar-from-prompt.md): Generate a synthetic character from text with POST /v3/avatars type prompt, or restyle a look you already own by passing it as avatar_id. Includes the avatar_id vs avatar_group_id matrix, reference_images, and aspect_ratio. - [Looks and look packs](https://developers.heygen.com/docs/avatar-look-packs.md): Generate a curated set of looks for an avatar you own with POST /v3/avatars/looks. type look_pack applies a Look Pack, type template restyles into a single look template. - [Avatar Consent](https://developers.heygen.com/docs/avatar-consent.md): How HeyGen verifies that the person in a digital twin agreed to be cloned. Covers the three increasing levels of consent access (record via webcam, upload a consent video, skip consent) and the POST /v3/avatars/{group_id}/consent flow. - [Manage avatars](https://developers.heygen.com/docs/avatars.md): List avatar groups (characters) with cursor-based pagination. Each group contains one or more looks (outfits/styles) — use the Avatar Looks endpoint to browse them. - [Manage looks](https://developers.heygen.com/docs/avatar-looks.md): List avatar looks (outfits/styles) with cursor-based pagination and filtering. Each look has a unique ID that you pass as avatar_id to POST /v3/videos or POST /v3/video-agents. - [LiveAvatar (realtime)](https://developers.heygen.com/live-avatar.md): Real-time, conversational avatars via the LiveAvatar API. Full docs at docs.liveavatar.com. ## Voice - [HeyGen Voice 1](https://developers.heygen.com/docs/models/heygen-voice.md): HeyGen Voice, Turbo, and Turbo Free compared. Turbo Free is free until November 30, 2026. Request limits apply. Shared capacity is limited. Includes the playground, public voice samples, instant and professional cloning, and endpoints, including WebSocket input streaming. - [Text to speech](https://developers.heygen.com/docs/voices/heygen-voice-speech.md): Generate completed or streaming audio with POST /v3/models/audio/tts and /tts/stream, or stream text in over a WebSocket. Start with heygen-voice-1-turbo-free and Nadine (83548de556df48ba8c09c42a57c51d85), a public voice; no clone or credit balance is required. Free until November 30, 2026. Covers all three models, IPA pronunciation, 429 errors, retry steps, and a copyable prompt for coding agents. - [Audio tags](https://developers.heygen.com/docs/voices/heygen-voice-audio-tags.md): Direct HeyGen Voice delivery with tags such as [excited], [whispers], or [laughs] in text for public and instant voices. Covers audio samples, how tags work, the full tag list, and a prompt that adds tags to a script with an LLM. - [Expressiveness Boost](https://developers.heygen.com/docs/voices/heygen-voice-expressiveness-boost.md): `expressiveness_boost` (0.0 to 1.0, default 1.0) on POST /v3/models/audio/tts and /tts/stream sets how much emphasis, pitch movement and rhythm a public or instant voice uses, per request. Covers choosing a boost level and a same-script audio comparison at 0.0 and 1.0. - [Adaptive Image](https://developers.heygen.com/docs/voices/heygen-voice-adaptive-image.md): Send `image` (JPEG, PNG or WebP of the speaker in their setting) when creating an instant voice with POST /v3/models/audio/voices, and the voice takes on that scene's acoustics and ambience. Without `gender` or `age`; one clone per scene. Covers studio, beach, factory and car samples. - [Similarity](https://developers.heygen.com/docs/voices/heygen-voice-similarity.md): `similarity` (`medium`, `high`, `extra_high` default, `max`) on instant clone creation sets how closely the voice follows its recording, including its room sound. Fixed per clone. Covers samples of all four levels from one recording. - [Speech to speech](https://developers.heygen.com/docs/voices/speech-to-speech.md): Speak a recording again in one of your instant voices with POST /v3/models/audio/sts: same words and timing, one WAV back. Covers the request fields, recording limits, and errors. - [Voice library](https://developers.heygen.com/docs/voices/overview.md): List HeyGen public voices and your clones with GET /v3/models/audio/voices (filter public voices by language, gender, age, or a free-text query), design a voice from a description (mode: design), then use a voice_id in POST /v3/videos or Text to Speech. - [Clone a voice: instant](https://developers.heygen.com/docs/voices/heygen-voice-instant-clone.md): Clone a voice from one recording on the HeyGen Voice model with POST /v3/models/audio/voices mode instant; ready in seconds, no slot, free to create during the preview. Covers creation, waiting for ACTIVE, languages, errors, and a copyable prompt for coding agents. - [Clone a voice: professional](https://developers.heygen.com/docs/voices/professional-voice-clone.md): Create and retrain a professional voice clone from 20+ minutes of recordings. Paid feature: each voice needs a purchased slot. Includes a copyable prompt so a coding agent can run the whole setup with a non-technical user. ### Pick a voice control Match the user's goal to one control. Speech-time controls go in each `POST /v3/models/audio/tts` body; clone-time controls are set once in `POST /v3/models/audio/voices` (`mode: "instant"`) and an instant voice cannot be retrained, so changing one means creating a new clone from the same recording. - Emotion or a sound at a specific point in the script ("say this part sadly", "laugh here"): [audio tags](https://developers.heygen.com/docs/voices/heygen-voice-audio-tags.md) such as `[sad]` or `[laughs]` in `text`. - Livelier or flatter overall, without editing the script: [`expressiveness_boost`](https://developers.heygen.com/docs/voices/heygen-voice-expressiveness-boost.md), `1.0` for full, `0.0` for a plain reading. - The clone does not sound enough like the speaker, or keeps too much of the recording's room: [`similarity`](https://developers.heygen.com/docs/voices/heygen-voice-similarity.md) at clone time, `max` closest and `medium` loosest. For the closest match, clone at `max` and speak with `expressiveness_boost: 0.0`. For HeyGen videos, our preferred combination is `max` with `expressiveness_boost: 0.5`. - The voice should sound like it is in a place (studio, street, car, beach): [`image`](https://developers.heygen.com/docs/voices/heygen-voice-adaptive-image.md) of the speaker in that setting at clone time, without `gender` or `age`. One clone per scene. - A word read wrong: an IPA [pronunciation](https://developers.heygen.com/docs/voices/heygen-voice-speech.md#pronunciation). - Pace or pitch on a professional voice: `speed`, `pitch_shift` and `pitch_variance` ([Text to speech](https://developers.heygen.com/docs/voices/heygen-voice-speech.md#request-fields)). - A different take of the same line: the same voice, text and settings always give the same audio, and instant voices ignore `seed`. Change the wording or punctuation instead. ## Audio - [Background music](https://developers.heygen.com/background-music.md): Semantically search HeyGen's background-music catalog with a natural-language description ("upbeat lofi hip-hop") and get ranked tracks with pre-signed download URLs. - [Sound effects](https://developers.heygen.com/sound-effects.md): Semantically search HeyGen's sound-effects catalog with a natural-language description ("whoosh for a scene change") via GET /v3/audio/sounds with type=sound_effects. Returns ranked SFX with pre-signed download URLs. ## Image - [HeyGen Image 1](https://developers.heygen.com/docs/models/heygen-image.md): Identity-focused portraits with `heygen-image-1` on POST /v3/models/images: one identity, any scene. Six-scene showcase (input to output), copyable agent prompt, full API (inputs, aspect ratios, polling, errors). ## Decision - [HeyGen Decision 1](https://developers.heygen.com/docs/models/heygen-decision.md): Classify, check, and score content with `heygen-decision-1-turbo` (the default) or `heygen-decision-1` on POST /v3/models/decisions: named yes/no (noul), choice, and score questions, answered synchronously with probabilities. Parameters, media sources and limits, model context windows, confidence, context limits, errors, and a copyable agent prompt. - [Text](https://developers.heygen.com/docs/models/decision/text.md): Decide from a string or JSON state; how to shape state. - [Image](https://developers.heygen.com/docs/models/decision/image.md): Up to 100 images in assets.images, with an example comparing two images. - [Video](https://developers.heygen.com/docs/models/decision/video.md): Up to 10 videos in assets.videos, each at most 60 s, with a reference image example and an example that checks what a video shows and says. - [Audio](https://developers.heygen.com/docs/models/decision/audio.md): Up to 10 clips in assets.audios, each at most 30 minutes, in WAV, MP3, FLAC, OGG, M4A, AAC or WebM; voicemail and call-script examples. ## Video editing - [Translate a video: speed](https://developers.heygen.com/docs/video-translate.md): Fast video translation with voice cloning and lip-sync across 175+ languages. - [Translate a video: precision](https://developers.heygen.com/docs/video-translation-precision.md): Higher-quality video translation with editable proofread sessions before final render. - [Lipsync: speed](https://developers.heygen.com/lipsync-speed.md): Replace or dub audio on an existing video with fast audio-only lip-sync. - [Lipsync: precision](https://developers.heygen.com/lipsync-precision.md): Replace or dub audio on an existing video with high-accuracy avatar-inference lip-sync. - [AI clipping](https://developers.heygen.com/ai-clipping.md): Turn a long-form video into short highlight clips via POST /v3/ai-clipping — target durations, portrait/landscape/square framing, virality scores. Captions burn in by default; set output_settings.captions to false for clean footage. - [Remove filler words](https://developers.heygen.com/filler-word-removal.md): Remove filler words ("um", "uh") and overlong silences from a finished video via POST /v3/filler-word-removals — one cleaned cut back, with num_cuts and reduction_pct statistics. $0.01/sec of source video (0.01 credits/sec Enterprise), 1-minute minimum, auto-refunded when nothing changes. ## Brand - [Brand Kits](https://developers.heygen.com/docs/brand-kits.md): What a brand kit is, a quickstart from website import to a branded Video Agent video, and brand kit error codes. - [Import a Brand Kit](https://developers.heygen.com/docs/brand-kits/import.md): Import a kit from a public website with POST /v3/brand-kits, poll until status is completed, and read color, logo, and font roles robustly. - [Manage Brand Kits](https://developers.heygen.com/docs/brand-kits/manage.md): List kits, correct color_roles, logo_roles, and font_roles with PATCH (each role object replaced in full), and delete kits. - [Apply a Brand Kit](https://developers.heygen.com/docs/brand-kits/apply.md): Pass brand_kit_id to Video Agent, re-brand an interactive session per message, and combine a kit with a style_id. - [Brand Glossary](https://developers.heygen.com/docs/brand-glossary.md): What a brand glossary holds (terms, do_not_translate_terms, forced_translations), one glossary per workspace, a quickstart, and glossary error codes. - [Brand Glossary Pronunciations](https://developers.heygen.com/docs/brand-glossary/pronunciations.md): Respelling and IPA pronunciations in terms, generated respellings for IPA-only entries, which voices read IPA, and per-language pronunciation_language rules. - [Brand Glossary Translation Rules](https://developers.heygen.com/docs/brand-glossary/translation-rules.md): do_not_translate_terms and forced_translations with per-language target_language, and precedence when a term is in both. - [Manage a Brand Glossary](https://developers.heygen.com/docs/brand-glossary/manage.md): Create, full-list PATCH updates that keep language fields and IPA, read, delete, and the v1 brand voice field map. - [Apply a Brand Glossary](https://developers.heygen.com/docs/brand-glossary/apply.md): Which endpoints accept brand_glossary_id (videos, batches, templates, Video Agent, translations, proofreads) and what it changes on each. ## Platform ### Batches - [Batch Videos](https://developers.heygen.com/batch-videos.md): Submit up to 100 video creation requests in a single call. Queue avatar, image, cinematic avatar, and studio videos together, then poll one batch id for per-item progress. - [Batch Video Translations](https://developers.heygen.com/batch-video-translations.md): Submit up to 100 video translation requests in a single call. Fan one source video out to many languages, then poll one batch id for per-item progress. - [Batch Lipsyncs](https://developers.heygen.com/batch-lipsyncs.md): Submit up to 100 lipsync requests in a single call. Re-sync many videos to new audio tracks together, then poll one batch id for per-item progress. - [Batch Asset Uploads](https://developers.heygen.com/batch-assets.md): Upload up to 100 files in one batch: request presigned S3 slots in a single call, PUT the bytes in parallel, then finalize and poll one batch id. ### Assets - [Assets Overview](https://developers.heygen.com/assets.md): Pick an upload method, pass files by asset_id, URL, or base64, and manage asset lifetime. - [Simple Upload](https://developers.heygen.com/docs/upload-assets.md): Upload a file up to 50 MB (32 MB for images) in one multipart request with POST /v3/assets. - [Direct Upload to S3](https://developers.heygen.com/docs/direct-upload.md): Upload large files straight to S3 with a presigned URL: 200 MB per video, image, or PDF, 1.5 GB per audio file, 1 GiB per HyperFrames zip. - [Folders](https://developers.heygen.com/folders.md): Create workspace folders and place generated videos and translations in them. ### Webhooks - [Webhooks](https://developers.heygen.com/docs/webhooks.md): Register and manage webhook endpoints to receive real-time notifications from HeyGen. - [Webhook Events](https://developers.heygen.com/docs/webhook-events.md): Understand the event types HeyGen can deliver and browse your event history. ### Limits - [Usage Limits](https://developers.heygen.com/docs/usage-limits.md): Rate limits, concurrency, and quota behavior across HeyGen API endpoints. - [Burst Concurrency](https://developers.heygen.com/docs/burst.md): Enterprise workspaces run above their included concurrency on demand; extra cap up to +50, 1.5× the contract rate only on workflows that burst. - [Error Codes](https://developers.heygen.com/docs/error-codes.md): Error codes, HTTP status codes, and troubleshooting for the HeyGen API. ### Logs - [Request Logs](https://developers.heygen.com/docs/request-logs.md): Read the API request log (GET /v3/requests) and per-key spend (GET /v3/usage) over the API, with filters, grouping and response fields. ### Compliance - [Compliance](https://developers.heygen.com/docs/compliance.md): SOC 2 Type II, SOC 3, GDPR, CCPA, DPF, HIPAA (Enterprise BAA), EU AI Act, and Zero Data Retention for API content (24 hours to 100 days). ## Account & Billing - [User Profile (guide)](https://developers.heygen.com/user-profile.md): Retrieve the authenticated user's profile, credit balance, and plan tier — useful for in-app credit displays and account UIs. - [Self-Serve Pricing](https://platform.heygen.com/pricing): Per-operation API pricing and credit packs. Sign in to the API dashboard at platform.heygen.com to see current prices. - [Enterprise Pricing](https://www.heygen.com/contact-us/sales): Enterprise contract pricing is not published — your account team walks you through the billing models. ## Versioning - [Endpoint Version Comparison](https://developers.heygen.com/endpoint-version-comparison.md): v1/v2 passed their October 31, 2026 sunset and are being removed; calls may fail intermittently. v3 replacements for each legacy endpoint. ## CLI The `heygen` CLI wraps the full API with JSON output. Use it with an API key (`HEYGEN_API_KEY`) for terminal and scripted workflows. - [CLI Overview](https://developers.heygen.com/cli.md): Get from zero to a generated video in minutes — right from your terminal. - [Commands](https://developers.heygen.com/commands.md): Complete command reference for the HeyGen CLI, organized by resource. - [Output Modes](https://developers.heygen.com/output-modes.md): How the CLI formats output for agents, scripts, and humans. - [Features](https://developers.heygen.com/features.md): Common flags, error handling, pagination, async polling, and CLI behaviors. - [Examples](https://developers.heygen.com/examples.md): Practical recipes for videos, TTS, avatars, translation, webhooks, and scripting. ## Agent Skills - [Skills Overview](https://developers.heygen.com/skills/overview.md): Official HeyGen skills for AI coding agents — what they are and which workflows they cover. - [Install Skills](https://developers.heygen.com/skills/install.md): Install the official skills across Claude Code, Cursor, Codex, Gemini CLI, and other agents. - [heygen-video Skill](https://developers.heygen.com/skills/heygen-video.md): Guided video generation (v3 only) with frame checks and prompt engineering. - [heygen-avatar Skill](https://developers.heygen.com/skills/heygen-avatar.md): Create and manage avatars and looks from an agent workflow. - [heygen-translate Skill](https://developers.heygen.com/skills/heygen-translate.md): Translate videos across languages from an agent workflow. ## MCP MCP uses OAuth and the user's subscription credits: fine for a first test from an AI host. For scale, use the API with an API key. Apps, gateways and automation tools (Make, n8n) can't use MCP sign-in (`Invalid redirect_uri: not registered for this client`); build them on the API with an API key. - [MCP Overview](https://developers.heygen.com/mcp/overview.md): MCP setup overview — endpoint URL, OAuth flow, supported hosts (ChatGPT and Codex use the HeyGen plugin), and the full tool reference. - [Claude Code](https://developers.heygen.com/mcp/claude-code.md): Connect HeyGen to Claude Code via the remote MCP endpoint — one-command setup, OAuth, and HeyGen skills. - [Claude Web](https://developers.heygen.com/mcp/claude-web.md): Generate AI avatar videos directly within Claude using HeyGen's remote MCP server. - [Codex](https://developers.heygen.com/mcp/codex-cli.md): Use HeyGen in Codex: install the HeyGen plugin in the Codex app, or add the remote MCP server in Codex CLI (`--url`, OAuth login, setup errors). The HeyGen CLI is an alternative. - [Cursor](https://developers.heygen.com/mcp/cursor.md): Connect HeyGen to Cursor via the remote MCP endpoint. - [Gemini CLI](https://developers.heygen.com/mcp/gemini-cli.md): Connect HeyGen's Video Agent to Gemini CLI to generate AI avatar videos directly from your terminal. - [Grok](https://developers.heygen.com/mcp/grok.md): Connect HeyGen to Grok via the remote MCP endpoint. - [Lovable](https://developers.heygen.com/mcp/lovable.md): Generate HeyGen videos from Lovable apps via the remote MCP endpoint. - [Manus](https://developers.heygen.com/mcp/manus.md): HeyGen's Video Agent is available as a native tool connection in Manus — agents can script, render, and deliver videos, including on automated schedules. - [ChatGPT](https://developers.heygen.com/mcp/open-ai.md): Install the HeyGen plugin in ChatGPT from the plugin directory, connect it with OAuth, and generate videos from the chat. - [Superhuman](https://developers.heygen.com/mcp/superhuman.md): Generate HeyGen videos from any web page using the HeyGen agent in Superhuman Go. ## Cookbook (Use-Case Workflows) - [Cookbook Overview](https://developers.heygen.com/overview.md): The API docs show you how to call the endpoints. The cookbook shows you what to build. - [Showcase](https://developers.heygen.com/showcase.md): Real projects built with the HeyGen API. Get inspired, then build your own. - [Social Media Content Pipeline](https://developers.heygen.com/social-media-content-pipeline.md): Batch-generate short-form videos for TikTok, Reels, and Shorts — no camera, no mic, no editing. - [Personalized Sales Outreach](https://developers.heygen.com/personalized-sales-outreach.md): Generate personalized video messages for prospects at scale — from CRM data to inbox. - [Training & Onboarding Videos](https://developers.heygen.com/training-and-onboarding-videos.md): Convert training docs, policies, and SOPs into engaging video — and keep them in sync when materials change. - [Product Demo Videos](https://developers.heygen.com/product-demo-videos.md): Generate product demos from screenshots and specs — and regenerate when your product changes. - [Multilingual Content](https://developers.heygen.com/multilingual-content.md): Create one video, translate it into 10+ languages with lip-sync — reach a global audience. - [Content Repurposing](https://developers.heygen.com/content-repurposing.md): Turn blog posts, articles, and newsletters into video — reach audiences that don't read. - [Real Estate Listing Videos](https://developers.heygen.com/real-estate-listing-videos.md): Turn property photos and listing data into narrated tour videos — for a fraction of traditional production costs. - [E-commerce Product Videos](https://developers.heygen.com/e-commerce-product-videos.md): Generate product videos from catalog data at scale — because product pages with video consistently outperform those without. - [Automated Broadcast](https://developers.heygen.com/automated-broadcast.md): Build a pipeline that generates and distributes video content on a schedule — daily news, weekly updates, recurring series. - [Docs to Video](https://developers.heygen.com/docs-to-video.md): Auto-generate video walkthroughs when your documentation changes — in CI/CD or on demand. - [Personalized Greetings & Recognition](https://developers.heygen.com/personalized-greetings-and-recognition.md): Generate personalized birthday, welcome, and recognition videos at scale — make every person feel valued. - [Motion Graphics from a Prompt](https://developers.heygen.com/motion-graphics.md): Generate animated title cards, product launches, and visual content — no After Effects, no React, just HTML. - [Data Visualization Videos](https://developers.heygen.com/data-to-video.md): Turn datasets, metrics, and algorithms into animated videos — charts that move, dashboards that update, patterns that evolve. - [Automated Video Pipeline](https://developers.heygen.com/automated-pipeline.md): Generate videos programmatically from data — in CI/CD, on a schedule, or triggered by events. ## API Reference Auto-generated from the OpenAPI spec. Grouped by modality, in the same order as the API Reference. ### Video - [Create Video](https://developers.heygen.com/reference/create-video.md): Creates a video from a HeyGen avatar, an arbitrary image, a cinematic-avatar prompt, or a studio scene composition (type: avatar | image | cinematic_avatar | studio). Supports scripts or pre-recorded audio for lip-sync, and the Avatar III, IV, and V engines via the 'engine' field (Avatar IV by default). - [Get Video](https://developers.heygen.com/reference/get-video.md): Returns details for a video including status, video_url, thumbnail_url, duration, and failure info if applicable. - [List Videos](https://developers.heygen.com/reference/list-videos.md): Returns a paginated list of all videos in the account. Filterable by folder_id or title substring. - [Delete Video](https://developers.heygen.com/reference/delete-video.md): Permanently deletes a video and its associated files. This action cannot be undone. - [Get Video Scenes](https://developers.heygen.com/reference/get-video-scenes.md): Returns a video's scenes as it stands now, with the `edit_version` to send when editing. - [Create HeyGen Video](https://developers.heygen.com/reference/create-heygen-video.md): Generates a scene with its sound from a prompt using HeyGen Video (`heygen-video-1`) on POST /v3/models/videos. - [Get HeyGen Video](https://developers.heygen.com/reference/get-heygen-video.md): Returns a HeyGen Video generation's status and, once completed, its `video_url`. ### Avatar - [Create Avatar](https://developers.heygen.com/reference/create-avatar.md): Creates a new avatar from an image, video footage, or a text prompt. Supports photo, digital_twin, and prompt types. Avatar training is asynchronous. - [Create Avatar Consent](https://developers.heygen.com/reference/create-avatar-consent.md): Initiates the consent flow for an avatar group and returns a URL for the user to complete approval in their browser. Required before a private avatar can be used for video generation. - [Create Avatar Looks](https://developers.heygen.com/reference/create-avatar-looks.md): Generates new looks for an avatar you own from `reference_look_id`, with a Look Pack or a look template. - [List Look Templates](https://developers.heygen.com/reference/list-look-templates.md): Lists the look templates and Look Packs your workspace can apply. - [Get Avatar Group](https://developers.heygen.com/reference/get-avatar-group.md): Returns details for a specific avatar group including name, gender, preview URLs, looks count, and training status. - [List Avatar Groups](https://developers.heygen.com/reference/list-avatar-groups.md): Returns a paginated list of avatar groups (characters). Each group contains one or more looks. Filterable by ownership. - [Update Avatar Group](https://developers.heygen.com/reference/update-avatar-group.md): Updates an avatar group you own, such as its `default_voice_id`. - [Get Avatar Look](https://developers.heygen.com/reference/get-avatar-look.md): Returns details for a specific avatar look including supported engines, preferred orientation, preview URLs, and training status. - [List Avatar Looks](https://developers.heygen.com/reference/list-avatar-looks.md): Returns a paginated list of avatar looks (outfits, poses, styles). Filterable by group_id, avatar_type, and ownership. The look id is the avatar_id to pass when creating a video. - [Update Avatar Look](https://developers.heygen.com/reference/update-avatar-look.md): Updates the display name of an avatar look. Only supported for photo avatar and digital twin look types. - [Delete Avatar Look](https://developers.heygen.com/reference/delete-avatar-look.md): Deletes a photo avatar, digital twin, or kit-based look. Deleting the last look in a group also deletes the parent group, after which that group id returns 404. Studio avatar looks cannot be deleted over the API. - [Delete Avatar Group](https://developers.heygen.com/reference/delete-avatar-group.md): Permanently deletes an avatar group and all its looks. Public and community groups cannot be deleted. ### Voice - [Generate Speech](https://developers.heygen.com/reference/generate-model-speech.md): Generate speech from the voice identified by `voice_id`. - [Stream Speech](https://developers.heygen.com/reference/stream-speech.md): Stream speech from the voice identified by `voice_id`. - [Convert Speech](https://developers.heygen.com/reference/convert-model-speech.md): Convert a recording into an ACTIVE instant voice in your workspace. - [List Audio Voices](https://developers.heygen.com/reference/list-audio-voices.md): Returns model-backed audio voices, ordered newest first. - [Get an Audio Voice](https://developers.heygen.com/reference/get-an-audio-voice.md): Returns one model-backed audio voice, owned by the caller's workspace or public, and its current lifecycle state. - [Create or Retrain an Audio Voice](https://developers.heygen.com/reference/create-or-retrain-an-audio-voice.md): Creates an instant voice with `mode: instant` from one recording, a professional voice with `mode: professional`, or a reusable HeyGen voice from a description in the requested language with `mode: design`. - [Delete an Audio Voice](https://developers.heygen.com/reference/delete-an-audio-voice.md): Deletes the caller-owned model-backed audio voice. - [Create Speech Input Token](https://developers.heygen.com/reference/create-speech-input-token.md): Creates a single-use token that authenticates one WebSocket handshake for streaming text input to speech. ### Audio - [Search Audio (Music or Sound Effects)](https://developers.heygen.com/reference/search-audio-music-or-sound-effects.md): Semantically searches the audio catalog by natural-language description — `type=music` (default) for background beds like 'upbeat lofi hip-hop', or `type=sound_effects` for SFX like 'whoosh for a scene change'. Returns tracks ranked by similarity, each with a pre-signed download URL. ### Image - [Create HeyGen Image](https://developers.heygen.com/reference/create-heygen-image.md): Generates one to five identity portraits with `heygen-image-1` on POST /v3/models/images. - [Get HeyGen Image](https://developers.heygen.com/reference/get-heygen-image.md): Returns the image generation status and ordered images with download URLs. ### Video editing - [Create Video Translation](https://developers.heygen.com/reference/create-video-translation.md): Translates a video into one or more target languages with voice cloning and lip-sync. Returns one video_translation_id per language. Use mode: 'speed' (default) for fast turnaround or 'precision' for higher lip-sync quality. - [Get Video Translation](https://developers.heygen.com/reference/get-video-translation.md): Returns details for a translation job including status, output language, video_url, and failure info if applicable. - [List Video Translations](https://developers.heygen.com/reference/list-video-translations.md): Returns a paginated list of all video translation jobs in the account. - [List Supported Translation Languages](https://developers.heygen.com/reference/list-supported-translation-languages.md): Returns all supported target language names for video translation. - [Update Video Translation](https://developers.heygen.com/reference/update-video-translation.md): Updates the display title of a video translation job. - [Delete Video Translation](https://developers.heygen.com/reference/delete-video-translation.md): Permanently deletes a video translation and its associated files. This action cannot be undone. - [Create Proofread Session](https://developers.heygen.com/reference/create-proofread-session.md): Creates a proofread session that extracts editable subtitles from a video before final rendering. - [Get Proofread Session](https://developers.heygen.com/reference/get-proofread-session.md): Returns the status and details of a proofread session. - [Download Proofread SRT](https://developers.heygen.com/reference/download-proofread-srt.md): Returns presigned download URLs for the edited and original SRT files of a completed proofread session. - [Upload Proofread SRT](https://developers.heygen.com/reference/upload-proofread-srt.md): Replaces the proofread subtitles with an edited SRT file. - [Generate Video from Proofread](https://developers.heygen.com/reference/generate-video-from-proofread.md): Starts final video generation using the approved subtitles from a proofread session. - [List Proofread Sessions](https://developers.heygen.com/reference/list-proofread-sessions.md): Returns a paginated list of proofread sessions in the workspace, newest first. - [Delete Proofread Session](https://developers.heygen.com/reference/delete-proofread-session.md): Deletes a proofread session. - [Create Lipsync](https://developers.heygen.com/reference/create-lipsync.md): Replaces the audio on an existing video and re-animates the speaker's lip movements to match the new audio. Use mode: 'speed' for fast output or 'precision' for high-quality lip-sync. - [Get Lipsync](https://developers.heygen.com/reference/get-lipsync.md): Returns details for a lipsync job including status, video_url, caption_url, and failure info if applicable. - [List Lipsyncs](https://developers.heygen.com/reference/list-lipsyncs.md): Returns a paginated list of all lipsync jobs in the account. - [Update Lipsync](https://developers.heygen.com/reference/update-lipsync.md): Updates the display title of a lipsync job. - [Delete Lipsync](https://developers.heygen.com/reference/delete-lipsync.md): Permanently deletes a lipsync job and its associated files. This action cannot be undone. - [Create AI Clipping](https://developers.heygen.com/reference/create-ai-clipping.md): Starts a clipping job for a source video — target durations, aspect ratio, captions (on by default), and an optional editorial prompt. Returns an ai_clipping_id. - [Get AI Clipping](https://developers.heygen.com/reference/get-ai-clipping.md): Returns job status, live progress, and produced clips with virality scores and presigned URLs. - [List AI Clipping](https://developers.heygen.com/reference/list-ai-clipping.md): Returns a paginated list of clipping jobs. - [Delete AI Clipping](https://developers.heygen.com/reference/delete-ai-clipping.md): Permanently deletes a clipping job and its clips. - [Create Filler Word Removal](https://developers.heygen.com/reference/create-filler-word-removal.md): Submits a video (URL or asset_id) for filler-word and silence removal. Returns a filler_word_removal_id immediately (202); the job runs asynchronously. - [Get Filler Word Removal](https://developers.heygen.com/reference/get-filler-word-removal.md): Returns job status, progress, and — once completed — the presigned URL of the cleaned video plus removal statistics (num_cuts, reduction_pct, durations). ### Video Agent - [Create Video Agent Session](https://developers.heygen.com/reference/create-video-agent-session.md): One-shot video generation from a prompt — agent handles scripting, avatar selection, scene composition, and rendering. Supports generate (fire-and-forget) and chat (multi-turn) modes. - [Get Video Agent Session](https://developers.heygen.com/reference/get-video-agent-session.md): Returns the current status, progress, video_id, and recent chat messages for a session. - [List Video Agent Sessions](https://developers.heygen.com/reference/list-video-agent-sessions.md): Returns a paginated list of video agent sessions for the authenticated user, sorted newest-first. - [List Session Videos](https://developers.heygen.com/reference/list-session-videos.md): Returns all videos produced within a Video Agent session, sorted newest-first. - [List Video Agent Styles](https://developers.heygen.com/reference/list-video-agent-styles.md): Returns curated visual style templates available for Video Agent sessions. Each style controls scene composition, pacing, and aesthetics. Supports tag filtering (e.g. 'cinematic', 'retro-tech'). - [Get Session Resource](https://developers.heygen.com/reference/get-session-resource.md): Returns a single session resource (image, video, draft, avatar, voice, etc.) by its resource_id. - [Send Message or Request Revision](https://developers.heygen.com/reference/send-message-or-request-revision.md): Sends a follow-up message to an existing session. Use to answer agent questions, add context, or request edits to a generated video. Only valid for sessions created in chat mode. - [Stop Video Agent Session](https://developers.heygen.com/reference/stop-video-agent-session.md): Halts an active agent run at its next checkpoint. Partial results are preserved. ### Templates - [List Templates](https://developers.heygen.com/reference/list-templates.md): Returns a paginated list of API-ready HeyGen Studio templates in the workspace. - [Get Template](https://developers.heygen.com/reference/get-template.md): Returns a template's variable schema (with current defaults) and its scenes. - [Generate Video from Template](https://developers.heygen.com/reference/generate-video-from-template.md): Renders a video from a template by replacing its variables (text, image, video, audio, character, voice). - [Create Template from Video](https://developers.heygen.com/reference/create-template-from-video.md): Creates a private template from one of your videos, copying its scenes, avatars and script. - [Update Template](https://developers.heygen.com/reference/update-template.md): Renames a template. - [Set Template Variables](https://developers.heygen.com/reference/set-template-variables.md): Replaces a template's full set of variables; any variable you omit is removed. - [Delete Template](https://developers.heygen.com/reference/delete-template.md): Deletes a template so it can no longer generate videos. ### HyperFrames - [Create HyperFrames Render](https://developers.heygen.com/reference/create-hyperframes-render.md): Renders an HTML composition bundle to video on HeyGen infrastructure; returns a render_id to poll. - [Get HyperFrames Render](https://developers.heygen.com/reference/get-hyperframes-render.md): Returns render status and the finished video download URL. - [List HyperFrames Renders](https://developers.heygen.com/reference/list-hyperframes-renders.md): Returns a cursor-paginated list of renders in the account, newest first. - [Delete HyperFrames Render](https://developers.heygen.com/reference/delete-hyperframes-render.md): Soft-deletes a render; subsequent GETs return 404. ### Brand - [Create Brand Kit](https://developers.heygen.com/reference/create-brand-kit.md): Imports logos, colors, and fonts from a public website URL and returns a brand_kit_id with status loading. - [Get Brand Kit](https://developers.heygen.com/reference/get-brand-kit.md): Returns one brand kit with its colors, logos, fonts, and role assignments, plus the import status. - [List Brand Kits](https://developers.heygen.com/reference/list-brand-kits.md): Returns the brand kits in the workspace, each with its colors and logo URL. - [Update Brand Kit](https://developers.heygen.com/reference/update-brand-kit.md): Renames a brand kit or reassigns which color, logo, and font play which role; each role object is replaced in full. - [Delete Brand Kit](https://developers.heygen.com/reference/delete-brand-kit.md): Permanently deletes a brand kit along with the colors, logos, and fonts it holds. - [Create Brand Glossary](https://developers.heygen.com/reference/create-brand-glossary.md): Creates a brand glossary from a workspace-unique name and optional terms (pronunciations), do_not_translate_terms, and forced_translations. - [Update Brand Glossary](https://developers.heygen.com/reference/update-brand-glossary.md): Replaces a brand glossary's name, terms, do_not_translate_terms, or forced_translations in full; an omitted field is left unchanged. - [List Brand Glossaries](https://developers.heygen.com/reference/list-brand-glossaries.md): Returns the brand glossaries in the workspace with their names and timestamps. - [Get Brand Glossary](https://developers.heygen.com/reference/get-brand-glossary.md): Returns one brand glossary with its full terms list plus do_not_translate_terms and forced_translations when present. - [Delete Brand Glossary](https://developers.heygen.com/reference/delete-brand-glossary.md): Deletes a brand glossary. This cannot be undone. ### Assets and folders - [Upload Asset](https://developers.heygen.com/reference/upload-asset.md): Uploads a file (image, video, audio, PDF, or SRT) and returns an asset_id for use in other endpoints. Max 50 MB, or 32 MB for an image. Supported types: png, jpeg, mp4, webm, mp3, wav, pdf, srt. - [Create Asset Upload](https://developers.heygen.com/reference/create-asset-upload.md): Presigns a direct-to-S3 upload slot for large files; finalize with Complete Asset Upload. - [Complete Asset Upload](https://developers.heygen.com/reference/complete-asset-upload.md): Finalizes a direct-to-S3 upload into a reusable asset. Call after the upload PUT returns 200. Idempotent — repeated calls return the same asset. - [Get Asset](https://developers.heygen.com/reference/get-asset.md): Returns an asset's metadata — owner, upload timestamp, file type, and a publicly accessible URL. - [Delete Asset](https://developers.heygen.com/reference/delete-asset.md): Permanently deletes an asset in the caller's workspace. - [Create Folder](https://developers.heygen.com/reference/create-folder.md): Creates a folder at the root or inside `parent_id`; pass its `folder_id` when creating videos. - [Get Folder](https://developers.heygen.com/reference/get-folder.md): Returns one folder in your workspace. ### Batches - [Create Video Batch](https://developers.heygen.com/reference/create-video-batch.md): Submits up to 100 video creation payloads in one call and returns a single batch_id. - [Get Video Batch](https://developers.heygen.com/reference/get-video-batch.md): Returns aggregate batch status and per-item video ids. - [Create Video Translation Batch](https://developers.heygen.com/reference/create-video-translation-batch.md): Submits up to 100 translation payloads in one call; multi-language payloads expand to one item per language. - [Create Lipsync Batch](https://developers.heygen.com/reference/create-lipsync-batch.md): Submits up to 100 lipsync payloads in one call. - [Create Asset Upload Batch](https://developers.heygen.com/reference/create-asset-upload-batch.md): Presigns up to 100 direct-to-S3 upload slots in one call; finalize with the complete-batch endpoint. - [Complete Asset Upload Batch](https://developers.heygen.com/reference/complete-asset-upload-batch.md): Finalizes every uploaded file in a batch after the upload PUTs return 200. Files are ingested independently, so one bad file does not fail the rest. Idempotent. - [Get Video Translation Batch](https://developers.heygen.com/reference/get-video-translation-batch.md): Returns aggregate batch status and one page of per-item ids and statuses. - [Get Lipsync Batch](https://developers.heygen.com/reference/get-lipsync-batch.md): Returns aggregate batch status and one page of per-item ids and statuses. - [Get Asset Batch](https://developers.heygen.com/reference/get-asset-batch.md): Returns aggregate batch status and one page of per-item ids and statuses. **Bulk status reads.** Four parallel endpoints check up to 100 ids (or whole batches) in one request, addressed by comma-separated ids and/or batch_ids. Every one of them returns each entry's id under the key `video_id` — the batch read model is shared across resources, so an asset's id also arrives as `video_id`. Unknown or unowned ids come back as `not_found` rather than an error. - [Bulk Video Statuses](https://developers.heygen.com/reference/bulk-video-statuses.md): Statuses for up to 100 videos. - [Bulk Video Translation Statuses](https://developers.heygen.com/reference/bulk-video-translation-statuses.md): Statuses for up to 100 video translations. - [Bulk Lipsync Statuses](https://developers.heygen.com/reference/bulk-lipsync-statuses.md): Statuses for up to 100 lipsyncs. - [Bulk Asset Statuses](https://developers.heygen.com/reference/bulk-asset-statuses.md): Statuses for up to 100 assets. ### Webhooks - [Create Webhook Endpoint](https://developers.heygen.com/reference/create-webhook-endpoint.md): Registers an HTTPS URL to receive webhook event notifications. Returns the endpoint details and a signing secret. The signing secret is only shown at creation and rotation — store it securely. - [List Webhook Endpoints](https://developers.heygen.com/reference/list-webhook-endpoints.md): Returns a paginated list of registered webhook endpoints. - [Update Webhook Endpoint](https://developers.heygen.com/reference/update-webhook-endpoint.md): Updates the URL and/or subscribed event types for a webhook endpoint. The events array is fully replaced — include all types you want to keep. - [Delete Webhook Endpoint](https://developers.heygen.com/reference/delete-webhook-endpoint.md): Permanently removes a webhook endpoint. Events will no longer be delivered to this URL. This action cannot be undone. - [Rotate Webhook Signing Secret](https://developers.heygen.com/reference/rotate-webhook-signing-secret.md): Generates a new signing secret for a webhook endpoint and immediately invalidates the old one. Store the new secret securely — it will not be shown again. - [List Webhook Event Types](https://developers.heygen.com/reference/list-webhook-event-types.md): Returns all available webhook event types with human-readable descriptions. - [List Webhook Events](https://developers.heygen.com/reference/list-webhook-events.md): Returns a paginated history of delivered webhook events. Filterable by event_type or entity_id. ### Account and usage - [Get Current User](https://developers.heygen.com/reference/get-current-user.md): Returns the authenticated user's profile, remaining credits or balance, and billing details. - [Get Current API Key](https://developers.heygen.com/reference/get-current-api-key.md): Returns non-secret metadata, expiration and permission scopes for the API key making the request. ## OpenAPI Specs - [HeyGen API (v3)](https://developers.heygen.com/openapi/external-api.json): The OpenAPI spec behind the API Reference. Build against the v3 operations; v1 and v2 paths are retired.