← 返回
未分类 Key 中文

HeyGen Video Agent

Official HeyGen plugin for OpenClaw — adds HeyGen as a first-class provider for the built-in video_generate tool. Identity-first avatar videos: pick an avata...
官方 HeyGen 插件,为 OpenClaw 提供第一流的视频生成工具支持。以身份为核心的虚拟形象视频:选择一个头像...
eve-builds eve-builds 来源
未分类 clawhub v0.1.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 396
下载
💾 1
安装
1
版本
#latest

概述

HeyGen Video Agent — OpenClaw Plugin

Adds HeyGen as a first-class provider for OpenClaw's built-in video_generate tool. Same interface every other video provider in OpenClaw uses (Google Veo, Runway, Kling, Wan, MiniMax, Dashscope) — now with identity-preserving avatar/presenter video.

Install

openclaw plugin install heygen

Set HEYGEN_API_KEY in your environment (get one at ).

Quick start

const result = await video_generate({
  model: "heygen/video_agent_v3",
  prompt: "Hi team, here's the product update for this week.",
  providerOptions: {
    avatar_id: "<your-avatar-id>",
    voice_id: "<your-voice-id>",
    orientation: "landscape", // or "portrait"
  },
});
// result.url → downloadable .mp4

Avatar / voice ids: list from the HeyGen dashboard or the heygen-skills companion skill (which composes opinionated avatar/voice picking on top of this plugin).

When HeyGen vs other video providers

  • Avatar-presenter / talking-head video → HeyGen.
  • Cinematic / scene generation → Veo, Runway, Kling.
  • Translation / dubbing → use HeyGen's translate APIs (separate skill).
  • Real-time interactive avatar → HeyGen Streaming Avatar (separate surface, not this plugin).

Provider options

FieldTypeNotes
--------------------
avatar_idstringHeyGen avatar id; falls back to models.providers.heygen.defaultAvatarId.
voice_idstringHeyGen voice id; falls back to models.providers.heygen.defaultVoiceId.
style_idstringOptional style template.
orientation`"landscape" \"portrait"`Maps from aspect ratio. 1:1 rejected.
mode`"generate" \"chat"`Default generate. chat keeps full poll budget for interactive flows.
callback_urlstringAsync webhook completion.
callback_idstringCaller-supplied correlation id for the webhook.
incognito_modebooleanSkip retention on HeyGen side where supported.

Errors surfaced cleanly

  • 401HeyGen API key missing or invalid
  • 402 / quota → HeyGen credit limit reached
  • Generate-mode + 8 consecutive thinking polls → fast-fail with a hint pointing at avatar_id / voice_id.
  • failed status surfaces HeyGen's failure_message rather than a generic error.

Polling

Three-tier backoff: 5s × 6 → 15s × 12 → 30s until MAX_POLL_ATTEMPTS. Long renders (20–45 min) stay under typical HeyGen per-key rate limits.

Source + tests

  • Repo:
  • 19 unit tests, live smoke verified end-to-end against api.heygen.com.
  • Extracted from openclaw/openclaw#69578 (closed in favor of external/ClawHub publication per VISION.md).

License

MIT. See LICENSE.

版本历史

共 1 个版本

  • v0.1.2 当前
    2026-05-07 09:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 136 📥 53,144
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 434 📥 117,721
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 335 📥 94,531