← 返回 Skills 市场
michaelwang11394

Avatar Video

作者 Michael Wang · GitHub ↗ · v2.23.0 · MIT-0
cross-platform ✓ 安全检测通过
428
总下载
1
收藏
1
当前安装
9
版本数
在 OpenClaw 中安装
/install avatar-video
功能描述
Create AI avatar videos with precise control over avatars, voices, scripts, and backgrounds using HeyGen's v3 API (POST /v3/videos). Two modes: type="avatar"...
使用说明 (SKILL.md)

Avatar Video

Create AI avatar videos with full control over avatars, voices, scripts, and backgrounds using POST /v3/videos. Two creation modes via discriminated union on type:

  • "type": "avatar" + avatar_id — use a HeyGen avatar from the library
  • "type": "image" + image (AssetInput) — animate any photo via Avatar IV

Authentication

All requests require the X-Api-Key header. Set the HEYGEN_API_KEY environment variable.

curl -X GET "https://api.heygen.com/v3/avatars" \
  -H "X-Api-Key: $HEYGEN_API_KEY"

Tool Selection

If HeyGen MCP tools are available (mcp__heygen__*), prefer them over direct HTTP API calls — they handle authentication and request formatting automatically.

Task MCP Tool Fallback (Direct API)
Check video status / get URL mcp__heygen__get_video GET /v3/videos/{video_id}
List account videos mcp__heygen__list_videos GET /v3/videos
Delete a video mcp__heygen__delete_video DELETE /v3/videos/{video_id}

Video generation (POST /v3/videos) and avatar/voice listing are done via direct API calls — see reference files below.

Default Workflow

  1. List avatar looksGET /v3/avatars/looks → pick a look, note its id (this is the avatar_id) and default_voice_id. See avatars.md
  2. List voices (if needed) — GET /v3/voices → pick a voice matching the avatar's gender/language. See voices.md
  3. Write the script — Structure scenes with one concept each. See scripts.md
  4. Generate the videoPOST /v3/videos with avatar_id, voice_id, script, and optional background per scene. See video-generation.md
  5. Poll for completionGET /v3/videos/{video_id} until status is completed. See video-status.md

Routing: This Skill vs Create Video

This skill = precise control (specific avatar, exact script, custom background). create-video = prompt-based ("make me a video about X", AI handles the rest).

Reference Files

Read these as needed — they contain endpoint details, request/response schemas, and code examples (curl, TypeScript, Python).

Core workflow:

Customization:

Advanced:

Best Practices

  1. Preview avatars before generating — Use GET /v3/avatars/looks and download preview_image_url so the user can see the avatar before committing
  2. Use avatar's default voice — Most avatars have a default_voice_id pre-matched for natural results
  3. Fallback: match gender manually — If no default voice, ensure avatar and voice genders match
  4. Use test mode for development — Set test: true to avoid consuming credits (output will be watermarked)
  5. Set generous timeouts — Video generation often takes 5-15 minutes, sometimes longer
  6. Validate inputs — Check avatar and voice IDs exist before generating
安全使用建议
This skill appears to do what it says (control HeyGen avatar/video creation). Before installing/providing your HEYGEN_API_KEY: (1) Use a least-privileged API key or a key you can revoke if possible; (2) Be cautious about supplying local file paths or giving the agent permission to access sensitive files — the examples show reading and uploading local files, which would transmit those files to HeyGen; (3) Monitor credit/quota usage (test mode is recommended for development) to avoid unexpected charges; (4) If you enable MCP tools, confirm they are trusted and scoped appropriately; (5) Revoke the API key if you later suspect misuse. If you want a tighter risk profile, only provide the key when generating videos and avoid letting the agent access arbitrary filesystem locations or secrets.
功能分析
Type: OpenClaw Skill Name: avatar-video Version: 2.23.0 The avatar-video skill bundle is a legitimate integration for the HeyGen v3 API, providing comprehensive documentation and instructions for an AI agent to generate AI avatar videos. The bundle includes detailed reference files (such as video-generation.md, voices.md, and assets.md) that cover API authentication, asset management, and video polling patterns. All code snippets and markdown instructions are strictly aligned with the stated purpose, and no indicators of malicious intent, data exfiltration, or harmful prompt injection were identified.
能力标签
crypto
能力评估
Purpose & Capability
Name/description, declared env var (HEYGEN_API_KEY), and all referenced endpoints (api.heygen.com, upload.heygen.com, files.heygen.ai) match the stated purpose of creating HeyGen avatar videos. The primary credential requested is the expected API key; no unrelated services or binaries are required.
Instruction Scope
SKILL.md and reference files contain comprehensive examples (curl, TypeScript, Python) that read local files (fs.readFileSync, read streams) and upload them to HeyGen, download URLs and re-upload them, and poll video status. These behaviors are coherent with video/asset upload functionality, but they do mean the agent (or code you run from it) may read and transmit local files or fetch arbitrary HTTPS URLs — so avoid providing sensitive local file paths or secrets as assets.
Install Mechanism
No install spec or external downloads are present (instruction-only). This minimizes risk because nothing is written to disk by an installer or fetched from untrusted URLs as part of installation.
Credentials
Only HEYGEN_API_KEY is required and declared as the primary credential. No additional secrets, config paths, or unrelated environment variables are requested. Examples consistently use that key for HeyGen API calls.
Persistence & Privilege
always is false and the skill is user-invocable (normal). The skill does not request permanent platform privileges or modify other skills; autonomous invocation is allowed by default but is not combined here with any other high-risk factors.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install avatar-video
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /avatar-video 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.23.0
Auto-publish from commit 5a8486fef06c1fe3040b66b15652b2f16da6bff9
v2.22.0
Auto-publish from commit ce047e148b0ae2d2b598d79d38ee6712cb4a6a67
v2.21.0
Auto-publish from commit 75c3620f66d7a8df362ac4373abc9d6203728ef9
v2.20.0
Auto-publish from commit 5055da1e6d20c67c639d38d345101f10cb39650c
v2.19.0
Auto-publish from commit 7d4016b7db5ac6c920ce753755b052203864f6ec
v2.18.0
Auto-publish from commit 8864caec0d0c08616995584960c0b0f538c9f064
v2.17.0
Auto-publish from commit b97c4c9a4e42d0efcfabc9c19dd59b2999833bc6
v2.16.0
Auto-publish from commit 08a0b7df4d33ba5466973f4ee4ffcf00d2b3a68c
v2.15.0
Auto-publish from commit 3d843ec844607c358e068fc1b96079436cdb58fd
元数据
Slug avatar-video
版本 2.23.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 9
常见问题

Avatar Video 是什么?

Create AI avatar videos with precise control over avatars, voices, scripts, and backgrounds using HeyGen's v3 API (POST /v3/videos). Two modes: type="avatar"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 428 次。

如何安装 Avatar Video?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install avatar-video」即可一键安装,无需额外配置。

Avatar Video 是免费的吗?

是的,Avatar Video 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Avatar Video 支持哪些平台?

Avatar Video 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Avatar Video?

由 Michael Wang(@michaelwang11394)开发并维护,当前版本 v2.23.0。

💬 留言讨论