首页龙虾技能列表 › Avatar Video — 技能工具

Avatar Video — 技能工具

v2.23.0

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"...

1· 344·1 当前·1 累计
by @michaelwang11394 (Michael Wang)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/14
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is internally consistent: it is an instruction-only HeyGen video generator that only requires the HEYGEN_API_KEY and contains examples for calling HeyGen endpoints and uploading assets; no unrelated credentials or suspicious install steps are present.
评估建议
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 ch...
详细分析 ▾
用途与能力
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.
指令范围
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.
安装机制
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.
凭证需求
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.
持久化与权限
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.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv2.23.02026/3/14

Auto-publish from commit 5a8486fef06c1fe3040b66b15652b2f16da6bff9

● 无害

安装命令 点击复制

官方npx clawhub@latest install avatar-video
镜像加速npx clawhub@latest install avatar-video --registry https://cn.clawhub-mirror.com

技能文档

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.

TaskMCP ToolFallback (Direct API)
Check video status / get URLmcp__heygen__get_videoGET /v3/videos/{video_id}
List account videosmcp__heygen__list_videosGET /v3/videos
Delete a videomcp__heygen__delete_videoDELETE /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

  • List avatar looksGET /v3/avatars/looks → pick a look, note its id (this is the avatar_id) and default_voice_id. See avatars.md
  • List voices (if needed) — GET /v3/voices → pick a voice matching the avatar's gender/language. See voices.md
  • Write the script — Structure scenes with one concept each. See scripts.md
  • Generate the videoPOST /v3/videos with avatar_id, voice_id, script, and optional background per scene. See video-generation.md
  • 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

  • Preview avatars before generating — Use GET /v3/avatars/looks and download preview_image_url so the user can see the avatar before committing
  • Use avatar's default voice — Most avatars have a default_voice_id pre-matched for natural results
  • Fallback: match gender manually — If no default voice, ensure avatar and voice genders match
  • Use test mode for development — Set test: true to avoid consuming credits (output will be watermarked)
  • Set generous timeouts — Video generation often takes 5-15 minutes, sometimes longer
  • Validate inputs — Check avatar and voice IDs exist before generating
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务