HeyGen Automation
它能做什么
这个工具可以让你使用现成的模板创建 AI 视频。你可以浏览模板和虚拟形象、生成个性化视频,并跟踪视频的制作状态。
适用场景
- ✓需要快速制作营销视频时。
- ✓想用虚拟形象生成培训视频时。
- ✓不写代码就想测试不同视频模板时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/heygen-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想用 “Product Launch” 模板和 “Ana” 虚拟形象制作一个视频,文字内容为“发现我们的新产品!””
每周 5 个新技能,1 分钟读完。
工作原理
首先,你需要连接你的 HeyGen 账户。然后,工具会查找可用的模板和虚拟形象。你选择模板并填写必要的信息(如文字和虚拟形象),工具就会为你生成视频。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- Connect your HeyGen account through the Composio MCP server at
https://rube.app/mcp - The agent will prompt you with an authentication link if no active connection exists
- 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
常见问题
如何连接我的 HeyGen 账户?
通过提供的设置链接,在 Composio MCP 服务器中连接你的 HeyGen 账户。
我需要知道用什么信息来制作视频吗?
需要。创建视频之前,你要先查看所选模板的详细信息,了解它需要哪些信息(变量)。
生成的视频链接会一直有效吗?
不会,视频的观看链接 7 天后失效。如有需要,你可以重新生成链接。
详情
作者的原始描述
Automate AI video generation, avatar browsing, template-based video creation, and video status tracking through HeyGen's platform via Composio
热度
- GitHub 星标
- 77k
- 排名
- #2138
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。