Connect Heygen to AI agents

Connect Heygen to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

upload_asset

Upload Asset

Upload an asset (image, video, or audio) to HeyGen from a public URL. The uploaded asset can be used as a background, audio input, or visual element in video generation.

list_videos

List Videos

List generated videos in your HeyGen account with pagination support. Returns video IDs, statuses, titles, and URLs.

list_avatars

List Avatars

Retrieve all available AI avatars in your HeyGen account, including both public and custom avatars. Returns avatar IDs needed for video generation, along with preview images and videos.

generate_speech

Generate Speech

Generate natural-sounding speech audio from text using HeyGen's text-to-speech engine. Returns an audio URL suitable for narration, podcasts, IVR prompts, or use as audio input in video generation.

list_assets

List Assets

List uploaded assets (images, videos, audio files) in your HeyGen account. Assets can be used as backgrounds, custom audio inputs, or visual elements in video generation.

create_video_from_prompt

Create Video from Prompt

Generate a video using the Video Agent from a simple natural language prompt. Instead of manually configuring scenes, avatars, and scripts, describe what you want and HeyGen's AI handles the rest — from scriptwriting to visual assembly.

translate_video

Translate Video

Translate a video into one or more target languages with natural voice cloning and lip-sync. Submit a video by URL or HeyGen video ID. Translation is asynchronous — use "Get Translation Status" to check progress.

list_voices

List Voices

Retrieve all available voices for text-to-speech in HeyGen. Returns voice IDs needed for video generation and TTS, along with language, gender, and preview audio. Includes both HeyGen and ElevenLabs voices.

list_talking_photos

List Talking Photos

Retrieve all talking photos (photo avatars) in your HeyGen account. Talking photos are still images that can be animated to speak text. Their IDs can be used with character type "talking_photo" when creating avatar videos.

get_remaining_quota

Get Remaining Quota

Check remaining API credits and account quota. API usage is measured in credits — as a general rule, 1 credit = 1 minute of generated avatar video.

list_templates

List Templates

List all available video templates in your HeyGen account. Returns template IDs and names. Use "Get Template" to see the dynamic variables for a specific template.

create_streaming_token

Create Streaming Token

Create a session token for Interactive Avatar streaming. The token is used to establish a real-time streaming session where an avatar can respond to user input. Required before starting a streaming session in your application.

get_template

Get Template

Retrieve details of a specific template including its dynamic variable definitions. Use this to understand what variables need to be provided when generating a video from a template.

get_video_status

Get Video Status

Check the status of a video generation job and retrieve the completed video URL. Use this after creating a video to poll for completion. Returns the video URL, thumbnail, GIF preview, and duration once complete.

delete_video

Delete Video

Permanently delete a generated video from your HeyGen account.

create_avatar_video

Create Avatar Video

Generate an AI avatar video with one or more scenes. Each scene has an avatar character, voice/script, and optional background. Supports multi-scene videos with different avatars, voices, and backgrounds per scene. Video generation is asynchronous — use **Get Video Status** to check when it's ready.

delete_asset

Delete Asset

Permanently delete an uploaded asset from your HeyGen account.

generate_from_template

Generate Video from Template

Generate a customized video from a HeyGen template by filling in dynamic variables. Templates are pre-designed in HeyGen's web interface and contain placeholders (e.g. `{{name}}`, `{{company}}`) that you populate via the API. Ideal for personalized videos at scale.

get_translation_status

Get Translation Status

Check the status of a video translation job and retrieve translated video URLs. Returns per-language translation status and video URLs once complete.

More integrations teams use with Heygen

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Technical notes for Heygen

Generate AI avatar videos from text or audio scripts, with customizable avatars, voices, backgrounds, and multi-scene layouts. Translate videos into multiple languages with lip-sync. Create personalized video campaigns at scale using templates with dynamic variables. Stream real-time interactive avatar sessions for conversational AI experiences. Generate text-to-speech audio. Create photo avatar videos from uploaded photos. Upload and manage image, video, and audio assets. Monitor video generation status via webhooks and check account credit balances.

Connect Heygen to production AI agents

See how Metorial gives Heygen access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Heygen to AI agents with Metorial.

  1. Can Metorial connect Heygen to AI agents?
    Yes. Metorial connects AI agents to Heygen through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.