AGENT SKILL

HeyGen Automation

Automate AI video generation, avatar browsing, template-based video creation, and video status tracking through HeyGen's platform via Composio

License 许可
MIT
最近更新
2026-11-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
HeyGen Automation
requires
{ "mcp": [ "rube" ] }
description
Automate AI video generation, avatar browsing, template-based video creation, and video status tracking through HeyGen's platform via Composio

03 SKILL.md 正文

HeyGen Automation

Automate AI-powered video creation workflows -- browse avatars and templates, generate personalized videos from templates, track processing status, and retrieve shareable URLs -- all orchestrated through the Composio MCP integration.

Toolkit docs: composio.dev/toolkits/heygen


Setup

  1. Connect your HeyGen account through the Composio MCP server at https://rube.app/mcp
  2. The agent will prompt you with an authentication link if no active connection exists
  3. Once connected, all HEYGEN_* tools become available for execution

Core Workflows

1. Browse Available Templates

Retrieve pre-designed avatar templates from the HeyGen library for video creation.

Tool: HEYGEN_V2_TEMPLATES

No parameters required -- returns template IDs, names, preview images, and customization options.

Use this to discover templates before generating videos. Each template has a unique ID needed for generation.


2. Inspect Template Details & Variables

Retrieve the full structure of a template including all variables, scene mappings, and customization options.

Tool: HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3

Parameter Type Required Description
template_id string Yes Template ID from HEYGEN_V2_TEMPLATES or the HeyGen dashboard

This is a required prerequisite before generating videos -- it tells you exactly which variables must be populated.


3. Browse Available Avatars

List all realistic avatars available for video creation, useful for mapping characters to scenes.

Tool: HEYGEN_V2_AVATARS

No parameters required -- returns avatar identifiers, names, and preview images.
The list may be paginated; additional calls might be needed for the full set.

4. Generate Video from Template

Create a customized video by populating a template with your variables and content.

Tool: HEYGEN_V2_TEMPLATE_GENERATE

Provide a video title and all template variables discovered via HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3. Every required variable must be supplied with exact names and types.


5. Check Video Processing Status

Poll the processing status and retrieve metadata for a video being generated.

Tool: HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS

Parameter Type Required Description
video_id string Yes Video ID returned from the generation API

Returned URLs expire after 7 days but can be regenerated by calling this endpoint again.


6. Get Shareable Video URL

Generate a public, shareable link that allows anyone to view the video without authentication.

Tool: HEYGEN_RETRIEVE_SHARABLE_VIDEO_URL

Provide the video_id to receive a public URL for distribution.


Known Pitfalls

Pitfall Details
All template variables required HEYGEN_V2_TEMPLATE_GENERATE demands every variable from HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3 with exact names and types -- missing or misnamed fields break scenes or fail generation
Always inspect templates first Never skip HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3 before generation -- multi-scene templates have complex variable structures
Video URLs expire URLs from HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS expire after 7 days; regenerate by calling the endpoint again
Paginated avatar lists HEYGEN_V2_AVATARS may return paginated results -- additional calls may be needed for the full library
Processing time varies Video generation is asynchronous; poll HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS until status is complete before using output URLs

Quick Reference

Tool Slug Purpose
HEYGEN_V2_TEMPLATES List available video templates
HEYGEN_RETRIEVE_TEMPLATE_DETAILS_V3 Get template variables and scene structure
HEYGEN_V2_AVATARS Browse available AI avatars
HEYGEN_V2_TEMPLATE_GENERATE Generate video from a template
HEYGEN_RETRIEVE_VIDEO_STATUS_DETAILS Check video processing status and get URLs
HEYGEN_RETRIEVE_SHARABLE_VIDEO_URL Get a public shareable video link

Powered by Composio

04 同仓库更多 Skills

siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

x-article-draft-uploader

把本地 Markdown 转为经核验的 X Articles 新草稿。适用于需要保留首图封面、正文图片相对位置,并在独立 Playwright 会话中复用用户已授权 Chrome 登录态的任务;不负责公开发布。

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wecom-operations

通过用户已配置的官方 wecom-cli 管理企业微信文档、智能文档、待办、会议和日程。适合创建或查询这些云端对象、把本地 Markdown 转为智能文档,以及在明确确认后更新或取消对象;不发送消息、不控制桌面客户端。

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wecom-local-vault

Inspect authorized local WeCom databases on macOS, create private plaintext snapshots, and query or export contacts, conversations, and messages without modifying the source account store. Use when the user asks to parse 企业微信/WeCom local data, recover a private database snapshot, inspect local contacts or sessions, search chat history, or export a bounded conversation.

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wechat-reading

Read and analyze WeRead/微信读书 search results, book metadata, bookshelf entries, progress, notes, highlights, public reviews, recommendations, and reading statistics through the official read-only Agent Gateway. Use for WeRead account questions or exports; do not imply that the current Gateway can add, remove, upload, rate, like, or edit content.

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wechat-mp-batch-exporter

Build a bounded, private archive from known WeChat Official Account article URLs or an owner-authorized account-history export, with explicit reconciliation of article, publish-group, and platform-marked-original counts. Use for batch body capture, history normalization, or enhanced metrics/comments workflows. Do not use for a one-page summary or to automate the WeChat client.

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wechat-local-vault

在 macOS 本机建立并查询私有微信数据快照。适用于盘点数据库、离线校验已有密钥候选、创建全量或增量明文快照、查会话与联系人、按时间检索消息、导出指定聊天、查看朋友圈或收藏,以及准备群聊摘要素材。所有查询只读,默认隐藏内部账号标识,不操控微信界面,也不发送任何内容。

★ 1