Heygen MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Heygen MCP or direct API to generate videos, automate editing, fetch video status, and manage assets through natural language.

Heygen logoHeygen
Api Key

HeyGen is an AI-driven video creation platform that streamlines content production. Create, edit, and automate video workflows with generative AI for faster results.

191 Tools

Try Heygen now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Heygen
Try asking
TOOLS

Supported Tools

Every Heygen action and event your agent gets out of the box.

Abort Asset Upload Parts

Cancel a multipart asset file upload and discard its stored parts.

Add looks to photo avatar group

Tool to add additional looks (images) to an existing photo avatar group.

Add motion to photo avatar

Tool to add natural motion or animation to an existing photo avatar, turning a still image into a moving, lifelike one.

Bulk Asset Statuses

Returns statuses for up to 100 assets by `asset_ids` and/or `batch_ids`: `queued`, `processing`, `completed`, `failed`, or `not_found`.

Bulk Lipsync Statuses

Returns statuses for up to 100 lipsyncs by `lipsync_ids` and/or `batch_ids`: `queued`, `processing`, `completed`, `failed`, or `not_found`.

Bulk Video Statuses

Returns 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

Returns statuses for up to 100 video translations by `video_translation_ids` and/or `batch_ids`: `queued`, `processing`, `completed`, `failed`, or `not_found`.

Check photo/look generation status

Retrieve the status and available image details of a photo avatar or look generation by ID.

Complete Asset Upload

Finalize a direct-to-S3 upload into a reusable asset.

Complete Asset Upload Batch

Finalizes every uploaded file in a batch once all PUTs return 200.

Convert Speech

Convert recorded speech into an ACTIVE instant voice owned by your workspace, preserving words and timing.

Create AI Clipping

Submit a source video and return a job id immediately.

Create Asset Upload

Begin a direct-to-S3 upload.

Create Asset Upload Batch

Returns up to 100 presigned upload URLs in one call.

Create or Retrain an Audio Voice

Create an instant voice from one recording, a professional voice from recordings, or a designed voice from a description and language.

Create Avatar

Creates a new avatar from an image, video footage, or a text prompt.

Create Avatar 6 Video

Animates a reference image or video with driving speech audio using Avatar 6 (`heygen-avatar-6` or `heygen-avatar-6-turbo`).

Create Avatar Consent

Starts the consent flow for an avatar group and returns a URL where the subject approves in their browser.

Create Avatar Looks

Generates new looks for an existing avatar from `reference_look_id`.

Create Brand Glossary

Creates a brand glossary.

Create Brand Kit

Creates a brand kit by importing logos, colors and fonts from a public website; by calling it you confirm you have the rights to use those assets.

Create Decision

Classify, check or score text, images, video or audio with HeyGen Decision 1.

Create Filler Word Removal

Submits a video for filler-word removal and returns a job id.

Create a new folder

Tool to create a new folder under your HeyGen account.

Create Folder

Creates a folder at the root or inside `parent_id`.

Create HeyGen Image

Generate one to five portraits with identity_remix, the default and only supported mode.

Create HeyGen Video

Generates a scene with its sound from a prompt using HeyGen Video (`heygen-video-1`).

Create HyperFrames Render

Renders a HyperFrames composition (an HTML+JS+assets project bundled as a .zip) into a video.

Create knowledge base

Tool to create a new knowledge base with a specified name, opening line, and custom prompt for Interactive Avatar streaming sessions.

Create Lipsync

Replaces the audio on an existing video and re-animates the speaker's lip movements to match the new audio.

Create Lipsync Batch

Submits up to 100 lipsync payloads as one batch, and items run independently.

Create photo avatar group

Tool to create an avatar group which can include both AI-generated and user-uploaded photos of the avatar.

Create Proofread Session

Creates a proofread session that extracts editable subtitles from a video before final rendering.

Create Template from Video

Creates a private template from one of your videos, copying its scenes, avatars, script and media.

Create Video

Creates an avatar video: a HeyGen avatar or an image speaks your script or audio with lip-sync.

Create Video Agent Session

One-shot video generation from a prompt — agent handles scripting, avatar selection, scene composition, and rendering.

Create Video Batch

Submit up to 100 video creation payloads in one request and return a batch id immediately.

Create Video Translation

Translates a video into one or more target languages with voice cloning and lip-sync.

Create Video Translation Batch

Submits up to 100 translation payloads, each shaped like POST /v3/video-translations, as one batch.

Create Webhook Endpoint

Registers an HTTPS URL to receive webhook event notifications.

Create WebM video

Tool to create a WebM format video with transparent background featuring an avatar speaking text or audio.

Delete AI Clipping

Soft-deletes an AI clip job and its clips.

Delete an avatar video

Delete a generated avatar video or translated video by ID from a HeyGen account.

Delete asset

Tool to delete a specific asset by its unique asset ID from HeyGen account.

Delete Asset

Permanently deletes an asset.

Delete an Audio Voice

Deletes the caller-owned model-backed audio voice.

Delete Avatar Group

Permanently deletes an avatar group and all its associated looks.

Delete Avatar Look

Deletes an avatar look.

Delete Brand Glossary

Deletes a brand glossary.

Delete Brand Kit

Deletes a brand kit and its colors, logos and fonts.

Delete HyperFrames Render

Soft-deletes a HyperFrames render.

Delete knowledge base

Tool to delete a specific knowledge base by its ID.

Delete Lipsync

Permanently deletes a lipsync job and its associated files.

Delete photo avatar

Tool to delete a photo avatar by its ID from HeyGen account.

Delete photo avatar group

Tool to delete a photo avatar group by its ID from HeyGen account.

Delete Proofread Session

Deletes a proofread session, removing it from listings and from the workspace's projects.

Delete Template

Soft-deletes a template.

Delete Video

Permanently deletes a video and its associated files.

Delete Video Translation

Permanently deletes a video translation and its associated files.

Delete webhook endpoint

Tool to permanently delete a webhook endpoint from HeyGen.

Delete Webhook Endpoint

Permanently removes a webhook endpoint.

Download Proofread SRT

Returns presigned download URLs for the edited and original SRT files of a completed proofread session.

Generate photo avatar photos

Tool to generate a personalized AI avatar based on text prompts and attribute inputs.

Generate Speech

Generate speech from an ACTIVE HeyGen Voice clone in your workspace.

Generate text-to-speech audio

Tool to generate a speech audio file from any text input using a specified voice, powered by HeyGen's Starfish model.

Generate Video from Proofread

Starts final video generation using the approved subtitles from a proofread session.

Generate Video from Template

Generates a video from a template by filling its variables.

Generate voice audio preview

Tool to generate a short audio preview with the specified voice and text.

Get AI Clipping

Returns the full job resource including produced clips, statuses, and presigned download URLs.

Get Asset

Retrieve metadata and the public URL for one HeyGen workspace asset.

Get Asset Batch

Returns batch aggregate status and one page of items with their ids and statuses.

Get Asset Upload Part URLs

Get signed part upload instructions for an existing multipart asset upload.

Get an Audio Voice

Returns one model-backed audio voice, owned by the caller's workspace or public, and its current lifecycle state.

Get Avatar Group

Retrieve one HeyGen v3 avatar group by its identifier.

Get Avatar Look

Retrieve a HeyGen v3 avatar look and its rendering compatibility.

Get Brand Glossary

Returns one brand glossary with its full term list.

Get Brand Kit

Returns one brand kit with its colors, logos and fonts and the role each plays.

Get Current API Key

Returns non-secret metadata, expiration, and permission scopes for the authenticating API key.

Get Current User

Returns the authenticated user's profile, remaining credits or balance, and billing details.

Get current user information

Tool to retrieve the profile information of the currently authenticated user.

Get Filler Word Removal

Returns the job resource: lifecycle status, progress, and — once completed — the presigned download URL of the cleaned video plus removal statistics (num_cuts, reduction_pct, durations).

Get Folder

Returns one folder in your workspace, including one in the trash (`is_trash`).

Get HeyGen Image

Return the generation job status and ordered images with fresh download URLs once the entire job completes.

Get HeyGen Video

Returns a HeyGen Video generation: `pending`, `processing`, `completed`, `failed` or `cancelled`.

Get HyperFrames Render

Returns full details for a single HyperFrames render, including status and signed video_url when complete.

Get Lipsync

Returns details for a lipsync job including status, video_url, caption_url, and failure info if applicable.

Get Lipsync Batch

Returns batch aggregate status and one page of items with their ids and statuses.

Get Proofread Session

Returns the status and details of a proofread session.

Get Session Resource

Returns a single session resource (image, video, draft, avatar, voice, etc.) by its resource_id.

Get Template

Returns template details including its variable schema (with current default values) and scenes.

Get training job status

Tool to retrieve the current training status and details of a photo avatar training job by group ID.

Get Video

Returns details for a video including status, video_url, thumbnail_url, duration, and failure info if applicable.

Get Video Agent Session

Returns the current status, progress, video_id, and recent chat messages for a session.

Get Video Batch

Returns batch aggregate status and one page of items with their video ids and statuses.

Get Video Scenes

Returns a video's scenes as it stands now, with the `edit_version` to send when editing.

Get Video Translation

Returns details for a translation job including status, output language, video_url, and failure info if applicable.

Get Video Translation Batch

Returns batch aggregate status and one page of items with their ids and statuses.

Get Video Voice Capabilities

Lists the voice engines and models offered for each language and accent when creating a video.

Get Voice

Retrieve one HeyGen v3 voice and its clone workflow status by ID.

Keep alive streaming session

Tool to reset the idle timeout counter for an active streaming session.

List AI Clipping

Returns a cursor-paginated list of AI clip jobs in the authenticated user's workspace, newest first.

List all avatar groups

Tool to retrieve a list of all available avatar groups in your HeyGen account.

List all locales for voices

Tool to retrieve available locales for multilingual voices.

List assets

Tool to retrieve a paginated list of all assets (images, audios, videos) created under your account.

List Audio Voices

Returns model-backed audio voices.

List Audio Voice Languages

Returns the languages and native locales of the voices the public voice list (`type=public`) returns, as the `language` and `locale` filters of the public voice list accept them.

List Avatar Groups

Browse HeyGen v3 avatar groups by ownership with cursor pagination.

List Avatar Looks

Browse avatar looks and their engine compatibility, with optional group, type and ownership filters and cursor pagination.

List Brand Glossaries

Lists the brand glossaries in your workspace.

List Brand Kits

Returns brand kits available in the authenticated user's workspace.

List brand voices

Tool to retrieve a list of brand glossaries created under your account.

List folders

Tool to retrieve a paginated list of folders created under your account.

List avatars in a specific group

Tool to retrieve all avatars that belong to a specific avatar group.

List HyperFrames Renders

Returns a cursor-paginated list of HyperFrames renders in the account, newest first.

List knowledge bases

Tool to retrieve a list of all existing knowledge bases associated with your account.

List Lipsyncs

Returns a paginated list of all lipsync jobs in the account.

List Look Templates

Lists the look templates and Look Packs your workspace can apply with POST /v3/avatars/looks.

List Proofread Sessions

Returns a paginated list of all proofread sessions in the workspace, newest first.

List session history

Tool to retrieve a paginated history of all streaming sessions with metadata including session duration, timestamps, and other details.

List Session Videos

Returns all videos produced within a Video Agent session, sorted newest-first.

List streaming avatars

Tool to retrieve a list of public and custom interactive avatars for streaming.

List Templates

Returns a paginated list of API-ready templates in the workspace.

List Supported Translation Languages

Returns all supported target language names for video translation, and the names the caller's current plan can use.

List TTS voices

Tool to retrieve a list of public and custom voices compatible with HeyGen's Starfish TTS model.

List Uploaded Asset Parts

For an upload created with `multipart`: the parts S3 already holds, so an interrupted upload sends only the rest.

List V3 Voices

Browse HeyGen v3 voices using catalog, engine, language, and gender filters.

List Videos

Returns a paginated list of the videos in the account that the caller can read.

List Video Agent Sessions

Returns a paginated list of video agent sessions for the authenticated user, sorted newest-first.

List Video Agent Styles

Returns curated visual style templates available for Video Agent sessions.

List Video Translations

Returns a paginated list of all video translation jobs in the account.

List Webhook Endpoints

Returns a paginated list of registered webhook endpoints.

List Webhook Events

Returns a paginated history of delivered webhook events.

List Webhook Event Types

Returns all available webhook event types with human-readable descriptions.

Create new streaming session

Tool to initiate a new streaming session with an Interactive Avatar for real-time interactions.

Add contact to personalized video project

This endpoint allows you to add one or more contacts to a specific personalized video project in the Heygen platform.

Fetch personalized video project detail

Retrieves detailed information about a specific personalized video project in HeyGen, including status, settings, and metadata.

Get photo avatar details

Tool to retrieve detailed information about a photo avatar or look using its unique ID.

Post talking photo binary image

Uploads a JPEG or PNG image to create a talking photo asset for subsequent video generation.

Restore folder from trash

Tool to restore a previously deleted folder from trash by its unique folder ID.

Retrieve avatar details

Tool to retrieve detailed information about a specific avatar by its ID.

Retrieve sharable video URL

Tool to generate a public, shareable URL for a specific video by ID.

Retrieve template details v3

Tool to retrieve comprehensive details about a specific template including all available variables for replacement and scene mappings for templates built in the New AI Studio.

Retrieve video status details

Tool to retrieve the current processing status and metadata for a specific video by ID.

Search audio (music or sound effects)

Searches the music or sound-effects catalog by natural-language description (`type=music` by default, or `sound_effects`).

Search public avatar groups

Tool to search and retrieve public avatar groups with optional filters and pagination.

Send Feedback

Sends feedback on one result: a video, a translation, an image, a Video Agent session, or any call by its X-Request-Id.

Send Video Agent Message

Sends a follow-up turn to a session created in either `generate` or `chat` mode; follow-up turns preserve the session mode.

Set Template Variables

Replaces a template's full set of variables: any variable you omit is removed.

Stop Video Agent Session

Halts an active agent run at its next checkpoint.

Create streaming token with expiry

Creates a new streaming token for use with HeyGen's real-time avatar and voice chat services.

Post streaming ice candidates

This endpoint is used to submit ICE (Interactive Connectivity Establishment) candidate information for a specific streaming session in the Heygen platform.

Interrupt streaming session

Interrupts an ongoing streaming session with an interactive avatar.

Retrieve streaming list

Retrieves a list of active or available streaming sessions or content within the HeyGen platform.

Set streaming quality endpoint

Initiates a new streaming session with HeyGen, allowing users to start an avatar-based stream with specified quality settings.

Start streaming session

Starts an existing HeyGen streaming session using its session ID and an SDP answer for WebRTC connection setup.

Stop streaming session

The streaming.stop endpoint is used to terminate an active streaming session in the Heygen API.

Send task to streaming avatar

The StreamingTask endpoint initiates a real-time speaking task for an AI-driven avatar within an active streaming session.

Stream Speech

Synthesize speech with an ACTIVE HeyGen Voice clone.

Move folder to trash

Tool to move a specific folder to trash by its unique folder ID.

Update Avatar Group

Updates an avatar group you own.

Update Avatar Look

Updates the display name of an avatar look.

Update Brand Glossary

Updates a brand glossary.

Update Brand Kit

Updates a brand kit's name or role assignments: color roles, main logo, heading and body fonts.

Update folder name

Tool to update (rename) an existing folder by its unique folder ID.

Update knowledge base

Update an existing knowledge base by ID for Interactive Avatar streaming sessions.

Update Lipsync

Updates the display title of a lipsync job.

Update Template

Renames a template.

Update Video Translation

Updates the display title of a video translation job.

Update webhook endpoint

Tool to modify an existing webhook endpoint configuration including URL and subscribed event types.

Update Webhook Endpoint

Updates the URL and/or subscribed event types for a webhook endpoint.

Upload asset

Tool to upload a file asset (image, video, or audio) to HeyGen platform.

Upload Asset V3

Upload an image, video, audio, PDF, or SRT for use in other HeyGen endpoints.

Upload Proofread SRT

Replaces the proofread subtitles with an edited SRT file.

Upscale motion avatar

Tool to enhance the resolution and visual quality of a motion avatar.

List avatars endpoint

Retrieves available HeyGen avatars and talking photos for selection or inventory management.

List talking photo entries

Retrieves a list of talking photos created using the HeyGen platform.

List videos

Lists videos associated with the HeyGen account, with pagination via a limit and cursor token.

List voice endpoints

Retrieves available HeyGen voices for avatar and text-to-speech use, including voice IDs, names, languages, and audio preview URLs.

Add webhook endpoint

Adds a new webhook endpoint to receive real-time notifications for specified Heygen events.

List webhook endpoints

Retrieves a list of all webhook endpoints configured for your HeyGen account.

List webhooks

Retrieves a list of all available webhook event types that can be subscribed to in your HeyGen account.

Delete talking photo by id

Deletes a specific talking photo from the HeyGen platform using its unique identifier.

Retrieve all templates

Retrieves a list of HeyGen video templates, including template IDs, names, and preview images, for selecting a template for video generation.

Generate video template with variables

Generates a customized video from a pre-existing template using HeyGen's AI platform.

Get template by id

Retrieves the customizable variables of a specific HeyGen template by its ID, including their types and available properties.

Retrieve user remaining quota

Retrieves the authenticated user's remaining HeyGen quota and category breakdown.

Generate video with inputs

Generates a customized video using Heygen's AI-driven platform.

Post video translate request

The TranslateVideo endpoint enables the translation of video content from one language to another.

Retrieve video translation by id

Retrieves the current status of a video translation job in the HeyGen platform.

Retrieve video translation target languages

Retrieves a list of all available target languages supported by HeyGen's video translation feature.

List available voices

Retrieves a list of available voice models and options that can be used with HeyGen's AI-driven video creation platform.

SETUP GUIDE

Connect Heygen MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["heygen"],
  mcp: true,
});
Create a session scoped to Heygen and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Generate a talking photo from this uploaded image",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Heygen request
SETUP GUIDE

Connect Heygen API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["heygen"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Heygen
3

Run Heygen tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Generate a talking photo from this uploaded image" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Heygen tool calls through the session, and print the final answer

Why Use Composio?

AI Native Heygen Integration

  • Supports both Heygen MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for creating, editing, and managing Heygen videos

Managed Auth

  • Built-in API key management for Heygen
  • Central place to manage, scope, and revoke Heygen access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Heygen
  • Scoped, least privilege access to Heygen resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Heygen.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Heygen tool your agent needs.Free to start.

Start building