Skip to content
Back to skills

Video Agent

ASecurity

Generate AI avatar videos with HeyGen's Video Agent API. One-shot prompt to video generation.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add Demerzels-lab/elsamultiskillagent --skill video-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Video Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Video Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/demerzels-lab-video-agent/badge)](https://www.skillsdirectory.com/skills/demerzels-lab-video-agent)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: video-agent
description: Generate AI avatar videos with HeyGen's Video Agent API. One-shot prompt to video generation.
homepage: https://docs.heygen.com/reference/generate-video-agent
metadata:
  {
    "openclaw":
      {
        "emoji": "🎬",
        "requires": { "bins": ["python3"], "env": ["HEYGEN_API_KEY"] },
        "primaryEnv": "HEYGEN_API_KEY",
      },
  }
---

# HeyGen Video Agent

Generate videos with a single prompt using HeyGen's Video Agent API. The Video Agent takes your prompt and automatically creates an AI avatar video.

## Reference Files

- [references/prompt-optimizer.md](references/prompt-optimizer.md) - Write effective prompts for professional results

## Setup

1. Get your API key from https://app.heygen.com/settings?nav=API
2. Set the environment variable:
   ```bash
   export HEYGEN_API_KEY="your-api-key"
   ```

## Generate a Video

```bash
python3 {baseDir}/scripts/generate.py --prompt "Create a 30-second explainer video about AI agents"
```

Options:
- `--prompt`: The video generation prompt (required)
- `--poll`: Wait for video completion and show URL
- `--out-dir`: Output directory for downloaded video (default: ./heygen-output)
- `--download`: Download the video when complete (requires --poll)

Examples:

```bash
# Quick submit (returns video_id immediately)
python3 {baseDir}/scripts/generate.py --prompt "Introduce our new product feature"

# Wait for completion and get video URL
python3 {baseDir}/scripts/generate.py --prompt "Create a welcome message for new users" --poll

# Wait and download the video
python3 {baseDir}/scripts/generate.py --prompt "Explain how to use the dashboard" --poll --download
```

## Check Video Status

```bash
python3 {baseDir}/scripts/status.py --video-id <video_id>
```

Options:
- `--video-id`: The video ID from generate.py (required)
- `--poll`: Keep checking until complete
- `--download`: Download video when complete
- `--out-dir`: Output directory for downloaded video

## API Reference

**Generate Video:**
- Endpoint: `POST https://api.heygen.com/v1/video_agent/generate`
- Auth: `x-api-key: <your-api-key>`
- Body: `{ "prompt": "your video prompt" }`
- Response: `{ "data": { "video_id": "..." } }`

**Check Status:**
- Endpoint: `GET https://api.heygen.com/v1/video_status.get?video_id=<id>`
- Auth: `x-api-key: <your-api-key>`
- Response includes: status (pending, processing, completed, failed), video_url (when complete)

## Notes

- Video generation typically takes 1-5 minutes depending on length
- The Video Agent automatically selects appropriate avatars and voices based on your prompt
- For more control over avatar/voice selection, see HeyGen's standard video API

Files in this skill

  • SKILL.md2.6 KB
  • _meta.json299 B
  • references/prompt-optimizer.md18.7 KB
  • scripts/generate.py4.6 KB
  • scripts/status.py4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.