HeyGen Automation

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

16 stars

Best use case

HeyGen Automation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using HeyGen Automation should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/heygen-automation/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/heygen-automation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/heygen-automation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How HeyGen Automation Compares

Feature / AgentHeyGen AutomationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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](https://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](https://composio.dev)*

Related Skills

i18n-automation

16
from diegosouzapw/awesome-omni-skill

Automate internationalization and localization workflows for web applications with translation, key generation, and library setup

html-to-image-automation

16
from diegosouzapw/awesome-omni-skill

Automate Html To Image tasks via Rube MCP (Composio). Always search tools first for current schemas.

hashnode-automation

16
from diegosouzapw/awesome-omni-skill

Automate Hashnode tasks via Rube MCP (Composio). Always search tools first for current schemas.

happy-scribe-automation

16
from diegosouzapw/awesome-omni-skill

Automate Happy Scribe tasks via Rube MCP (Composio). Always search tools first for current schemas.

googlebigquery-automation

16
from diegosouzapw/awesome-omni-skill

Automate Google BigQuery tasks via Rube MCP (Composio): run SQL queries, explore datasets and metadata, execute MBQL queries via Metabase integration. Always search tools first for current schemas.

google-search-console-automation

16
from diegosouzapw/awesome-omni-skill

Automate Google Search Console tasks via Rube MCP (Composio): search performance, URL inspection, sitemaps, and indexing status. Always search tools first for current schemas.

go-to-webinar-automation

16
from diegosouzapw/awesome-omni-skill

Automate GoToWebinar tasks via Rube MCP (Composio). Always search tools first for current schemas.

getform-automation

16
from diegosouzapw/awesome-omni-skill

Automate Getform tasks via Rube MCP (Composio). Always search tools first for current schemas.

geoapify-automation

16
from diegosouzapw/awesome-omni-skill

Automate Geoapify tasks via Rube MCP (Composio). Always search tools first for current schemas.

genderapi-io-automation

16
from diegosouzapw/awesome-omni-skill

Automate Genderapi IO tasks via Rube MCP (Composio). Always search tools first for current schemas.

gender-api-automation

16
from diegosouzapw/awesome-omni-skill

Automate Gender API tasks via Rube MCP (Composio). Always search tools first for current schemas.

formsite-automation

16
from diegosouzapw/awesome-omni-skill

Automate Formsite tasks via Rube MCP (Composio). Always search tools first for current schemas.