HeyGen MCP integration for AI agents.
Connect AI agents to HeyGen through 17 structured actions, including get avatar, upload asset, delete asset, and generate template video. Review authenticati…
- ACTION CONTRACTS
- 17
- AUTHENTICATION
- OAuth 2.0 + API key
- SOURCE STATUS
- Provider-backed
CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE
CAPABILITY PROFILE
What the HeyGen integration exposes
The HeyGen Agent App exposes 17 provider-backed actions for ai and design & media work. Its current contract lets an authorized agent retrieve details for a single heygen avatar by avatar id, upload an image, video, or audio file to heygen and return an asset id usable in video generation, and delete a heygen asset that is no longer needed. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.
A connection uses OAuth 2.0 and API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.
For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected HeyGen account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.
VERIFIED ACTION SAMPLE
Real HeyGen capabilities.
Showing 12 of 17 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.
get_avatarREADRetrieve details for a single HeyGen avatar by avatar ID.
INPUTS: avatarId
upload_assetWRITEUpload an image, video, or audio file to HeyGen and return an asset ID usable in video generation.
INPUTS: contentBase64 / mimeType
delete_assetHIGH IMPACTDelete a HeyGen asset that is no longer needed.
INPUTS: assetId
generate_template_videoREVIEWStart an asynchronous HeyGen template video generation job with explicit template variables.
INPUTS: templateId / variables / title / test / caption
delete_videoHIGH IMPACTDelete a generated or translated HeyGen video that is no longer needed.
INPUTS: videoId / type
generate_videoREVIEWStart an asynchronous HeyGen avatar video generation job and return the generated video ID.
INPUTS: videoInputs / title / test / caption / callbackId
get_current_userREADRetrieve profile information for the HeyGen account associated with the API key.
get_remaining_quotaREADRetrieve the remaining generation quota for the authenticated HeyGen account.
get_shareable_video_urlREADRetrieve a public share URL for a rendered HeyGen video by video ID.
INPUTS: videoId
get_templateREADRetrieve variable definitions and metadata for a single HeyGen template.
INPUTS: templateId
get_video_statusREADRetrieve processing status and download URLs for a HeyGen video by video ID.
INPUTS: videoId
list_assetsREADList uploaded HeyGen image, video, and audio assets so they can be reused in video generation.
INPUTS: limit / token / fileType / folderId
INPUT CONTRACTS
Know what the action needs before it runs.
get_avatar
avatarIdREQUIRED- The unique HeyGen avatar ID to retrieve.
upload_asset
contentBase64REQUIRED- The media file content encoded as a Base64 string.
mimeTypeREQUIRED- The MIME type of the media file to upload.
delete_asset
assetIdREQUIRED- The HeyGen asset ID to delete.
generate_template_video
templateIdREQUIRED- The HeyGen template ID to generate from.
variablesREQUIRED- Template variables keyed by the exact variable names returned by the template detail endpoint.
titleOPTIONAL- The optional title for the generated video.
testOPTIONAL- Whether HeyGen should run the request in test mode.
captionOPTIONAL- Whether HeyGen should add captions to the video.
PROVIDER-SPECIFIC WORKFLOWS
Jobs this Agent App can support
Inspect Get Avatar
Retrieve details for a single HeyGen avatar by avatar ID. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.
get_avatarControl Upload Asset
Upload an image, video, or audio file to HeyGen and return an asset ID usable in video generation. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.
upload_assetVerify with Get Current User
Retrieve profile information for the HeyGen account associated with the API key. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.
get_current_userSAFETY BOUNDARY
Operate HeyGen with explicit limits
- Authorize HeyGen with OAuth 2.0 and API key and grant only the provider access required by the selected actions.
- 3 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
- Treat `delete_asset` and `delete_video` as high-impact operations and require an explicit approval boundary.
- No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in HeyGen rather than assuming unrestricted access.
- After a call, inspect the structured result and execution record before reporting that the HeyGen task completed successfully.
CONNECTION MODEL
OAuth 2.0 + API key
HeyGen API key sent with the X-Api-Key header. Create or view API keys in HeyGen API settings.
Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.
- READ SIGNALS
- 12
- WRITE SIGNALS
- 1
- HIGH IMPACT
- 2
- REVIEW SIGNALS
- 2
EVIDENCE AND AVAILABILITY
Provider reference
Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by HeyGen.