How to integrate Heygen MCP with OpenClaw

Connect OpenClaw to Heygen MCP. Create a talking photo from your selfie, add new contacts to your video project, and more using natural language, with authentication handled for you.

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.

78 Tools

Introduction

OpenClaw is the fastest growing agent harness out there, which can work 24/7 to automate almost any kind of tasks. However, its capabilities are limited to the tools it has access to. Composio allows your OpenClaw to access Heygen with authentication management handled for you. You can execute actions on Heygen via your favorite OpenClaw interface (Telegram, WhatsApp, TUI, etc), whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Heygen with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • Programmatic tool calling allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Handling Large tool responses out of LLM context to minimize context rot.
  • Dynamic just-in-time access to 20,000 tools across 1700+ other Apps for cross-app workflows. It loads the tools you need, so LLMs aren't overwhelmed by tools you don't need.

How to install Heygen with OpenClaw

Using Composio API Key and Setup Prompt

Copy the setup prompt from the OpenClaw dashboard
  • Run it in your OpenClaw chat interface.
  • Authenticate Heygen from the dashboard
  • Go back to your OpenClaw interface and start asking questions.

Using OpenClaw/Composio Plugin

1. Install OpenClaw Composio plugin

bash
openclaw plugins install @composio/openclaw-plugin

2. Copy the API Key from dashboard.composio.dev

3. Setup OpenClaw Config

bash
openclaw config set plugins.entries.composio.config.consumerKey "ck_your_key_here"

4. Restart OpenClaw

bash
openclaw gateway restart

5. Go to your chat interface and start asking questions.

6. When prompted, authenticate the app and you're all set.

How It Works

The plugin connects to Composio's MCP server at https://connect.composio.dev/mcp and registers all available tools directly into the OpenClaw agent. Tools are called by name — no extra search or execute steps needed.

If a tool returns an auth error, the agent will prompt you to connect that toolkit at dashboard.composio.dev.

Configuration

bash
{
  "plugins": {
    "entries": {
      "composio": {
        "enabled": true,
        "config": {
          "consumerKey": "ck_your_key_here"
        }
      }
    }
  }
}
OptionDescriptionDefault
enabledEnable or disable the plugintrue
consumerKeyYour Composio consumer key (ck_...)—
mcpUrlMCP server URL (advanced)https://connect.composio.dev/mcp

What is the Heygen MCP server, and what's possible with it?

The HeyGen MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your HeyGen account. It provides structured and secure access to your videos, templates, avatars, voices, assets, and streaming sessions, so your agent can generate videos from templates, browse creative resources, monitor video processing, manage interactive avatar sessions, and check account usage on your behalf.

  • Template-based video creation: Have your agent browse available templates and generate customized videos by filling in their variables.
  • Video and asset tracking: Let the agent list your videos and creative assets, then check the processing status and details of a specific video.
  • Avatar and voice discovery: Direct your agent to explore available voices, browse public and custom streaming avatars, and retrieve details about a chosen avatar.
  • Interactive avatar sessions: Instruct your agent to start a streaming avatar session, send real-time speaking tasks, and review past session activity.
  • Account and quota checks: Have your agent retrieve your HeyGen profile information and check your remaining usage quota.

Conclusion

You've successfully integrated Heygen with OpenClaw using Composio plugin. Now interact with Heygen directly from your terminal, Web UI, or any messenger app using natural language commands.

Key benefits of this setup:

  • Seamless integration across TUI, Web UIs, and Messenger apps like Telegram, WhatsApp, Slack, etc.
  • Natural language commands for Heygen operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1700+ apps for cross-app workflows
  • Programmatic tool calling for complex tool chaining

Next steps:

  • Try asking OpenClaw to perform various Heygen operations
  • Explore cross-app workflows by connecting more toolkits like Calendar, Slack, Notion, etc.
  • Build complex automation scripts that leverage OpenClaw's 24/7 running capabilities
TOOLS

Supported Tools

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

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.

Check photo/look generation status

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

Create a new folder

Tool to create a new folder under your HeyGen account.

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 photo avatar group

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

Create WebM video

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

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 knowledge base

Tool to delete a specific knowledge base by its ID.

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 webhook endpoint

Tool to permanently delete a webhook endpoint from HeyGen.

Generate photo avatar photos

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

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 voice audio preview

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

Get Asset

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

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 current user information

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

Get training job status

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

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 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 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 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 knowledge bases

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

List session history

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

List streaming avatars

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

List TTS voices

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

List V3 Voices

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

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 public avatar groups

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

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.

Send task to streaming avatar

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

Move folder to trash

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

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 webhook endpoint

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

Upload asset

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

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.

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 all templates

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

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.

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