Integration

HeyGen integration

HeyGen generates video of a presenter: an avatar that speaks a script, a still photo animated into a talking head, or a prompt handed to its own agent which picks the avatar and writes the script. It also EDITS video you already have: replace the audio and re-sync the lips (create_lipsync_v3), translate it while keeping the speaker's voice (create_video_translation_v3), cut a long recording into short captioned clips (create_ai_clipping_v3), strip the filler words (create_filler_word_removal_v3), or remove the background (create_background_removal). It clones and designs voices, and reads text aloud. Input media is always either a public HTTPS URL or an asset_id: upload a local file with upload_asset first, then pass the asset_id it returns. Rendering takes time, and the tools come in two shapes. A tool that WAITS says so in its own description, in those words, and returns the finished result with no status call to make; it gives up after ten minutes, which is longer than a normal render but shorter than a long or batched one. Every other tool returns an id straight away, and you read the result with the matching get tool, or have HeyGen call you by passing callback_url. HeyGen republished this API as v3. Tools whose description says SUPERSEDED call the older routes and are kept only so existing work keeps running; each one names its replacement. API access needs a Team plan or above.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in HeyGen.Built from the 131 HeyGen tools below, on the connection you add once.

What you can do with HeyGen

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Batche, 11 operations

  • complete_asset_batch_v3Complete asset batch v3POSTAgents: ask firstMark several direct-to-storage uploads finished so HeyGen ingests them. Only meaningful after something outside this workflow has PUT the bytes to the presigned URLs from create_asset_upload_batch_v3; no tool here does that.
  • create_asset_upload_batch_v3Create asset upload batch v3POSTAgents: ask firstReserve several direct-to-storage upload slots at once, each with a presigned upload_url and its asset_id. Sending the bytes is a separate HTTP PUT that NO tool here performs. To upload files from a workflow, call upload_asset once per file instead.
  • create_lipsync_batch_v3Create lipsync batch v3POSTAgents: ask firstSubmit up to 100 lipsync payloads as a single batch. Each payload becomes one batch item, created and processed independently so one bad source does not fail the rest.
  • create_video_batch_v3Create video batch v3POSTAgents: ask firstSubmit up to 100 video creation payloads in one request and return a batch id immediately.
  • create_video_quality_batchCreate video quality batchPOSTAgents: ask firstSubmit up to 100 pairwise video comparisons for asynchronous processing.
  • create_video_translation_batch_v3Create video translation batch v3POSTAgents: ask firstSubmit up to 100 video-translation payloads (identical in shape to create_video_translation_v3) as a single batch.
  • get_asset_batchGet asset batchGETAgents: ask firstReturns batch aggregate status and one page of items with their ids and statuses. Item statuses are one of queued, processing, completed, or failed.
  • get_comparison_batchGet comparison batchGETAgents: ask firstReturn aggregate batch status and one cursor-paginated page of comparison items.
  • get_lipsync_batchGet lipsync batchGETAgents: ask firstReturns batch aggregate status and one page of items with their ids and statuses. Item statuses are one of queued, processing, completed, or failed.
  • get_video_batchGet video batchGETAgents: ask firstReturns batch aggregate status and one page of items with their video ids and statuses. Item statuses are one of queued, processing, completed, or failed.
  • get_video_translation_batchGet video translation batchGETAgents: ask firstReturns batch aggregate status and one page of items with their ids and statuses. Item statuses are one of queued, processing, completed, or failed.

Voice, 8 operations

  • create_model_audio_voiceCreate model audio voicePOSTAgents: ask firstCreates a model-backed audio voice from one or more recordings, or retrains an existing professional voice when `voice_id` is supplied. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_audio_voiceDelete audio voiceDELETEAgents: ask firstDeletes the caller-owned model-backed audio voice. The voice is removed from subsequent reads, but a voice cannot be deleted while its status is `PENDING`.
  • delete_voiceDelete voiceDELETEAgents: ask firstDeletes a voice clone owned by the caller. The voice must not be in use by any template.
  • design_voiceDesign voicePOSTAgents: ask firstReturns up to 3 voices matching a natural language description (e.g. 'warm, confident female narrator'). Use the seed parameter to get different batches of results.
  • get_audio_voiceGet audio voiceGETAgents: ask firstReturns one caller-owned model-backed audio voice and its current lifecycle state.
  • get_voiceGet voiceGETAgents: ask firstReturns details for a specific voice, including clone workflow status when available. Use this to poll a voice clone until its status is 'complete'.
  • list_model_audio_voicesList model audio voicesGETAgents: ask firstReturns the model-backed audio voices in the caller's workspace, ordered newest first. Use `limit` and `token` to retrieve additional pages.
  • list_voices_v3List voices v3GETAgents: ask firstReturns a paginated list of voices, filterable by type, engine, language, and gender. Use engine=starfish for voices compatible with the TTS endpoint.

Video, 5 operations

  • create_video_v3Create video v3POSTAgents: ask firstGenerate a video of a HeyGen avatar speaking, from a script or from audio you supply. Pick avatar_id with list_avatar_looks and voice_id with list_voices_v3. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_video_v3Delete video v3DELETEAgents: ask firstPermanently deletes a video and its associated files. This action cannot be undone.
  • get_video_v3Get video v3GETAgents: ask firstReturns details for a video including status, video_url, thumbnail_url, duration, and failure info if applicable.
  • list_video_agent_session_videosList video agent session videosGETAgents: ask firstReturns all videos produced within a Video Agent session, sorted newest-first.
  • list_videos_v3List videos v3GETAgents: ask firstReturns a paginated list of all videos in the account. Filterable by folder_id or title substring.

Ai clipping, 4 operations

  • create_ai_clipping_v3Create ai clipping v3POSTAgents: ask firstTurn a long video into one or more short, ready-to-share clips with captions, following the requested output_settings. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_ai_clippingDelete ai clippingDELETEAgents: ask firstSoft-deletes an AI clip job and its clips.
  • get_ai_clippingGet ai clippingGETAgents: ask firstReturns the full job resource including produced clips, statuses, and presigned download URLs.
  • list_ai_clipping_v3List ai clipping v3GETAgents: ask firstReturns a cursor-paginated list of AI clip jobs in the authenticated user's workspace, newest first.

Avatar, 4 operations

  • create_avatarCreate avatarPOSTAgents: ask firstCreates a new avatar from an image, video footage, or a text prompt. Supports photo, digital_twin, and prompt types. Avatar training is asynchronous.
  • delete_avatarDelete avatarDELETEAgents: ask firstPermanently deletes an avatar group and all its associated looks. Cannot delete public or community groups.
  • get_avatarGet avatarGETAgents: ask firstReturns details for a specific avatar group including name, gender, preview URLs, looks count, and training status.
  • list_avatar_groupsList avatar groupsGETAgents: ask firstReturns a paginated list of avatar groups (characters). Each group contains one or more looks. Filterable by ownership.

Background removal, 4 operations

  • create_background_removalCreate background removalPOSTAgents: ask firstRemove a video's background, returning the subject on transparency, an alpha matte and the scene without the subject. Re-sending a request_id returns the original job. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_background_removalDelete background removalDELETEAgents: ask firstSoft-deletes a background removal job.
  • get_background_removalGet background removalGETAgents: ask firstReturns a background removal job including its status and, once completed, presigned download URLs for the produced layers.
  • list_background_removalsList background removalsGETAgents: ask firstReturns a paginated list of background removal jobs for the account, newest first.

Brand glossarie, 4 operations

  • create_brand_glossaryCreate brand glossaryPOSTAgents: ask firstCreates a brand glossary in your workspace. Pass the returned `brand_glossary_id` when creating a video or translation to apply it.
  • delete_brand_glossaryDelete brand glossaryDELETEAgents: ask firstDeletes a brand glossary. This cannot be undone: there is no way to restore a deleted brand glossary through the API.
  • get_brand_glossaryGet brand glossaryGETAgents: ask firstReturns one brand glossary with its full term list, so you can see exactly which terms are remapped and how.
  • list_brand_glossariesList brand glossariesGETAgents: ask firstList brand glossaries (custom term mappings, a.k.a. brand voices) in the authenticated user's workspace.

Brand kit, 4 operations

  • create_brand_kitCreate brand kitPOSTAgents: ask firstCreates a brand kit by importing brand assets from a public website, including logos, colors and font files found on the site.
  • delete_brand_kitDelete brand kitDELETEAgents: ask firstDeletes a brand kit, along with the colors, logos and fonts it holds. This cannot be undone: there is no way to restore a deleted brand kit through the API.
  • get_brand_kitGet brand kitGETAgents: ask firstReturns one brand kit with the colors, logos and fonts it was built from, and which of them play which role.
  • list_brand_kitsList brand kitsGETAgents: ask firstReturns brand kits available in the authenticated user's workspace. Each brand kit contains colors, fonts, and logos that can be applied to Video Agent sessions.

Lipsync, 4 operations

  • create_lipsync_v3Create lipsync v3POSTAgents: ask firstReplaces the audio on an existing video and re-animates the speaker's lip movements to match the new audio. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_lipsyncDelete lipsyncDELETEAgents: ask firstPermanently deletes a lipsync job and its associated files. This action cannot be undone.
  • get_lipsyncGet lipsyncGETAgents: ask firstReturns details for a lipsync job including status, video_url, caption_url, and failure info if applicable.
  • list_lipsyncs_v3List lipsyncs v3GETAgents: ask firstReturns a paginated list of all lipsync jobs in the account.

Podcast, 4 operations

  • create_podcast_v3Create podcast v3POSTAgents: ask firstGenerate a multi-avatar conversational podcast video from a topic and/or source files plus two avatars. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_podcastDelete podcastDELETEAgents: ask firstSoft-deletes a podcast so it no longer appears in the get/list endpoints. Does not cancel in-flight generation or permanently remove files.
  • get_podcastGet podcastGETAgents: ask firstReturns a podcast's status and, once completed, its video_url, thumbnail_url, and duration.
  • list_podcasts_v3List podcasts v3GETAgents: ask firstReturns a paginated list of the podcasts in the authenticated workspace, newest first.

Render, 4 operations

  • create_hyperframes_render_v3Create hyperframes render v3POSTAgents: ask firstRenders a HyperFrames composition (an HTML+JS+assets project bundled as a .zip) into a video. Waits for the job and returns the finished result; gives up after 10 minutes.
  • delete_renderDelete renderDELETEAgents: ask firstSoft-deletes a HyperFrames render. Subsequent GETs return 404.
  • get_renderGet renderGETAgents: ask firstReturns full details for a single HyperFrames render, including status and signed video_url when complete.
  • list_hyperframes_renders_v3List hyperframes renders v3GETAgents: ask firstReturns a cursor-paginated list of HyperFrames renders in the account, newest first.

Statuse, 4 operations

  • bulk_asset_statuses_v3Bulk asset statuses v3GETAgents: ask firstReturns statuses for up to 100 assets in one request, addressed by comma-separated asset_ids and/or batch_ids query params.
  • bulk_lipsync_statuses_v3Bulk lipsync statuses v3GETAgents: ask firstReturns statuses for up to 100 lipsyncs in one request, addressed by comma-separated lipsync_ids and/or batch_ids query params.
  • bulk_video_statuses_v3Bulk video statuses v3GETAgents: ask firstReturns statuses for up to 100 videos in one request, addressed by comma-separated video_ids and/or batch_ids query params.
  • bulk_video_translation_statuses_v3Bulk video translation statuses v3GETAgents: ask firstReturns statuses for up to 100 video translations in one request, addressed by comma-separated video_translation_ids and/or batch_ids query params.

Video agent, 4 operations

  • create_video_agent_v3Create video agent v3POSTAgents: ask firstOne-shot video generation from a prompt, agent handles scripting, avatar selection, scene composition, and rendering.
  • get_video_agentGet video agentGETAgents: ask firstReturns the current status, progress, video_id, and recent chat messages for a session.
  • list_video_agent_sessionsList video agent sessionsGETAgents: ask firstReturns a paginated list of video agent sessions for the authenticated user, sorted newest-first.
  • send_video_agent_messageSend video agent messagePOSTAgents: ask firstSends 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.

Video translation, 4 operations

  • create_video_translation_v3Create video translation v3POSTAgents: ask firstTranslates a video into one or more target languages with voice cloning and lip-sync. Returns one video_translation_id per language.
  • delete_video_translationDelete video translationDELETEAgents: ask firstPermanently deletes a video translation and its associated files. This action cannot be undone.
  • get_video_translationGet video translationGETAgents: ask firstReturns details for a translation job including status, output language, video_url, and failure info if applicable.
  • list_video_translations_v3List video translations v3GETAgents: ask firstReturns a paginated list of all video translation jobs in the account.

Asset, 3 operations

  • delete_assetDelete assetDELETEAgents: ask firstPermanently deletes an asset. The asset must belong to the caller's workspace and not already be deleted.
  • get_assetGet assetGETAgents: ask firstReturns metadata for an asset in the caller's workspace, including owner, upload timestamp, file type, and a publicly accessible URL.
  • list_assetsList assetsGETAgents: ask first**Beta**, this endpoint may change with a few days' notice. Lists a workspace member's uploaded assets, newest first, with cursor-based pagination.

Endpoint, 3 operations

  • create_webhook_endpointCreate webhook endpointPOSTAgents: ask firstRegisters an HTTPS URL to receive webhook event notifications. Returns the endpoint details and a signing secret.
  • delete_webhook_endpointDelete webhook endpointDELETEAgents: ask firstPermanently removes a webhook endpoint. Events will no longer be delivered to this URL. This action cannot be undone.
  • list_webhook_endpointsList webhook endpointsGETAgents: ask firstReturns a paginated list of registered webhook endpoints.

Look, 3 operations

  • delete_lookDelete lookDELETEAgents: ask firstDeletes an avatar look and its backing resource. Supported types: photo_avatar, digital_twin, and kit-based looks. Studio avatar (model_index) types cannot be deleted via the API.
  • get_lookGet lookGETAgents: ask firstReturns details for a specific avatar look including supported engines, preferred orientation, preview URLs, and training status.
  • list_avatar_looksList avatar looksGETAgents: ask firstReturns 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.

Template, 3 operations

  • generate_from_template_v3Generate from template v3POSTAgents: ask firstGenerates a video from the template by replacing its variables (text, image, video, audio, character, voice). Waits for the job and returns the finished result; gives up after 10 minutes.
  • get_templateGet templateGETAgents: ask firstReturns template details including its variable schema (with current default values) and scenes.
  • list_templates_v3List templates v3GETAgents: ask firstReturns a paginated list of API-ready templates in the workspace. Templates are created and edited in the HeyGen web editor; only templates with variables defined are listed.

Version, 3 operations

  • get_versionGet versionGETAgents: ask firstReturns a single immutable, compiled workflow version, including its full plan summary.
  • list_workflow_versionsList workflow versionsGETAgents: ask firstReturns a paginated list of immutable, compiled versions for a workflow definition.
  • publish_workflow_versionPublish workflow versionPOSTAgents: ask firstCompile the complete product graph in the request body and persist it as the next immutable version. The workflow's internal draft is neither read nor modified.

Workflow, 3 operations

  • create_workflowCreate workflowPOSTAgents: ask firstAtomically creates a workflow and publishes its required product graph as immutable version 1: the graph is validated and compiled first, then the workflow.
  • get_workflowGet workflowGETAgents: ask firstReturns a single workflow definition, including its current mutable draft graph.
  • list_workflow_definitionsList workflow definitionsGETAgents: ask firstReturns a paginated list of workflow definitions.

Workflow run, 3 operations

  • create_workflow_runCreate workflow runPOSTAgents: ask firstStarts a run of the workflow named in the request body. Waits for the job and returns the finished result; gives up after 10 minutes.
  • get_workflow_runGet workflow runGETAgents: ask firstReturns a single workflow run: the exact version it is pinned to, created/started/completed timestamps, aggregate node progress, a sanitized terminal error (if any).
  • list_workflow_runsList workflow runsGETAgents: ask firstReturns a paginated list of runs for the workflow named by the required `workflow_id` query parameter, newest first.

Avatar realtime, 2 operations

  • create_avatar_realtime_sessionCreate avatar realtime sessionPOSTAgents: ask firstStart a low-latency streaming avatar session and return a `stream_id`.
  • get_avatar_realtimeGet avatar realtimeGETAgents: ask firstGet the status of a streaming avatar session.

Cancel, 2 operations

  • cancel_avatar_realtime_sessionCancel avatar realtime sessionPOSTAgents: ask firstCancel a running streaming session.
  • cancel_workflow_runCancel workflow runPOSTAgents: ask firstRequests cancellation of a run.

Comparison, 2 operations

  • create_video_quality_comparison_v3Create video quality comparison v3POSTAgents: ask firstSubmit one pairwise video comparison. Waits for the job and returns the finished result; gives up after 10 minutes.
  • get_comparisonGet comparisonGETAgents: ask firstReturn the latest state and result or terminal error for one comparison.

Filler word removal, 2 operations

  • create_filler_word_removal_v3Create filler word removal v3POSTAgents: ask firstRemove filler words ("um", "uh") and overlong silences from a video, returning one cleaned cut plus the number of cuts and how much was removed. Waits for the job and returns the finished result; gives up after 10 minutes.
  • get_filler_word_removalGet filler word removalGETAgents: ask firstReturns the job resource: lifecycle status, progress, and, once completed, the presigned download URL of the cleaned video plus removal statistics.

Proofread, 2 operations

  • create_proofread_v3Create proofread v3POSTAgents: ask firstCreates a proofread session that extracts editable subtitles from a video before final rendering.
  • get_proofreadGet proofreadGETAgents: ask firstReturns the status and details of a proofread session.

Clone, 1 operation

  • clone_voiceClone voicePOSTAgents: ask firstCreate a voice clone from an audio sample of a speaker. Pass the returned voice id as voice_id when generating speech or an avatar video. Waits for the job and returns the finished result; gives up after 10 minutes.

Complete, 1 operation

  • complete_asset_uploadComplete asset uploadPOSTAgents: ask firstMark a direct-to-storage upload finished so HeyGen ingests the file. Only meaningful after something outside this workflow has PUT the bytes to the presigned URL from create_asset_upload; no tool here does that.

Consent, 1 operation

  • create_avatar_consentCreate avatar consentPOSTAgents: ask firstInitiates the consent flow for an avatar group and returns a URL for the user to complete approval in their browser.

Direct upload, 1 operation

  • create_asset_uploadCreate asset uploadPOSTAgents: ask firstReserve a direct-to-storage upload slot, returning a presigned upload_url and the asset_id the file will have.

Event, 1 operation

  • list_webhook_eventsList webhook eventsGETAgents: ask firstReturns a paginated history of delivered webhook events. Filterable by event_type or entity_id.

Event type, 1 operation

  • list_webhook_event_typesList webhook event typesGETAgents: ask firstReturns all available webhook event types with human-readable descriptions.

Generate, 1 operation

  • generate_from_proofread_v3Generate from proofread v3POSTAgents: ask firstStarts final video generation using the approved subtitles from a proofread session.

Language, 1 operation

  • list_languagesList languagesGETAgents: ask firstReturns all supported target language names for video translation.

Me, 1 operation

  • get_user_me_v3Get user me v3GETAgents: ask firstReturns the authenticated user's profile, remaining credits or balance, and billing details.

Node, 1 operation

  • list_workflow_run_nodesList workflow run nodesGETAgents: ask firstPaginated per-node diagnostics for one run: node id, status, timestamps, and a sanitized error for failed nodes.

Node type, 1 operation

  • list_node_typesList node typesGETAgents: ask firstDiscovery catalog of authorable node types, grouped by family with per-variant config schema and ports.

Resource, 1 operation

  • get_video_agent_resourceGet video agent resourceGETAgents: ask firstReturns a single session resource (image, video, draft, avatar, voice, etc.) by its resource_id.

Rotate secret, 1 operation

  • rotate_webhook_endpoint_secretRotate webhook endpoint secretPOSTAgents: ask firstGenerates 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.

Scene, 1 operation

  • list_scenesList scenesGETAgents: ask firstReturns the video's scenes together with the video-level context needed to use them.

Search, 1 operation

  • search_assetsSearch assetsGETAgents: ask firstSemantically search re-hosted public images and icons by natural-language description, e.g. 'pepperoni pizza on a wooden table' or 'minimalist rocket icon'.

Sound, 1 operation

  • search_audio_soundsSearch audio soundsGETAgents: ask firstSemantically search the audio catalog by natural-language description, set type=music (the default) for background music (e.g. 'upbeat lofi hip-hop', 'tense cinematic riser').

Speech, 1 operation

  • create_speech_v3Create speech v3POSTAgents: ask firstSynthesize speech audio from text using a specified voice. The voice must support the starfish engine, use list_voices_v3 (with engine=starfish) to find compatible voices.

Srt, 1 operation

  • download_proofread_srt_v3Download proofread srt v3GETAgents: ask firstReturns presigned download URLs for the edited and original SRT files of a completed proofread session.

Style, 1 operation

  • list_video_agent_stylesList video agent stylesGETAgents: ask firstReturns curated visual style templates available for Video Agent sessions. Each style controls scene composition, pacing, and aesthetics.

Text, 1 operation

  • append_avatar_realtime_textAppend avatar realtime textPOSTAgents: ask firstAppend a text delta to a session created with `type: text_stream`.

Tt, 1 operation

  • generate_model_speechGenerate model speechPOSTAgents: ask firstGenerates speech using the voice identified by `voice_id` and returns a URL for one completed mono PCM16 WAV file at 44.1 kHz.

Showing the first 120 of 131 endpoints. The rest are in the product, searchable from the workflow builder and from chat.

Use HeyGen from Claude Code, Cursor or Codex

Connect HeyGen in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its HeyGen operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect HeyGen

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect HeyGen once

    Add your HeyGen connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

HeyGen integration FAQ

What can you do with the HeyGen integration?

LiveContext exposes 131 operations on HeyGen, covering batche, voice, video and ai clipping.

Popular integrations

Browse the whole catalog