Heygen Avatar Videoのロゴ

Heygen Avatar Video

組織
gitroomhq
heygen-avatar-video

Generate a HeyGen talking-head video of the user's own avatar (digital twin + cloned voice) from a script. Use when: "make a video of me saying...", "generate my HeyGen video", "turn this script into a video of me", or when another skill (video-shorts) needs the presenter clip. The avatar and voice come only from ~/.content-skills/.env and must never be changed from the task.

概要

公開者gitroomhq
リポジトリpostiz-content-skills
スキル名heygen-avatar-video
スター
90
フォーク
22
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    gitroomhqがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Heygen Avatar Video」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/gitroomhq/postiz-content-skills/tree/main/skills/heygen-avatar-video
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gitroomhq/postiz-content-skills.git /tmp/postiz-content-skills
mkdir -p .claude/skills
cp -r /tmp/postiz-content-skills/skills/heygen-avatar-video .claude/skills/heygen-avatar-video
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHeygen Avatar Videoを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHeygen Avatar Videoを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Heygen Avatar Videoは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

HeyGen avatar video

One command submits, polls and downloads:

bash
node "<this skill's base directory>/generate-video.js" --script-file /tmp/script.txt --out /tmp/talk.mp4 --caption --json

First-time setup

The presenter is configured once, in ~/.content-skills/.env:

  1. HEYGEN_API_KEY from https://app.heygen.com (Settings > API).
  2. Run node generate-video.js --list-looks. It prints the user's own avatar looks. Ask the user which one, then set HEYGEN_AVATAR_ID=<id>. Prefer a landscape look: video-shorts crops it into split screens.
  3. HEYGEN_VOICE_ID can stay empty (the look's own voice is used). To pick another clone: --list-voices.
  4. node generate-video.js --whoami confirms what will be used.

If --list-looks is empty, the user has no avatar yet. Point them to https://app.heygen.com/avatars to create a digital twin (needs a short recording and consent). Do not fall back to a stock avatar without asking.

Hard rules

  1. Never change the presenter from the task. Do not pass --avatar-id, --voice-id or similar; the script rejects them. The only way to change the presenter is to edit ~/.content-skills/.env, and only when the user asks.
  2. Only call HeyGen through generate-video.js.
  3. Never invent a script. Given a topic, draft it, show it, and get a yes. Rendering costs credits.
  4. Keep chat clean. No ids, request bodies or polling chatter. Deliver the file.

Options

NeedFlagDefault
Vertical--aspect 9:1616:9
Save locally (+ .srt with --caption)--out <path.mp4>not downloaded
Captions sidecar / burned in--caption / --caption burnoff
Background--background "#0f172a" or --background <https url>the look's own
Delivery speed--speed 0.5-1.51.0
Calmer gestures--motion-expressiveness lessdefault
Engine--engine heygen-avatar-6 or heygen-avatar-6-turbo (older: avatar_v, avatar_iv)heygen-avatar-6
Resolution--resolution 2k|1080p1080p
Check the request without spending--dry-runoff

Use --resolution 2k when the clip will be shown full-screen in a 1080x1920 Short: 1080p landscape gets upscaled ~1.8x.

The command blocks until done (1-5 min for a short script). Run it in the background and do not narrate the wait. Stdout is JSON: video_id, status, video_url (presigned, expires), duration, file, subtitle_file.

Script guidelines

  • First person, conversational, as the presenter would say it. Contractions are fine.
  • 130-150 words per minute. A 30 second Short is about 70 words. 87 words came out at 36 s.
  • Open with the point. End with one clear ask.
  • No stage directions, emojis or markdown. It is read verbatim.
  • Spell numbers and acronyms the way they should be spoken.
  • Apply the Pronunciation list in ~/.content-skills/brand.md (e.g. a product name the voice mispronounces).

Errors

SymptomAction
HEYGEN_AVATAR_ID is not setRun the first-time setup above.
401Key invalid or revoked. Tell the user.
429Backs off automatically; if it persists, wait and retry once.
status=failed + failure_codeReport it verbatim. Usually moderation on the script or a bad background URL.
Timed out after 20 minutesGive the dashboard link https://app.heygen.com/videos/<id>; it may still finish.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Heygen Avatar Video」では何ができますか?

Generate a HeyGen talking-head video of the user's own avatar (digital twin + cloned voice) from a script. Use when: "make a video of me saying...", "generate my HeyGen video", "turn this script into a video of me", or when another skill (video-shorts) needs the presenter clip. The avatar and voice come only from ~/.content-skills/.env and must never be changed from the task.

TypingMindでHeygen Avatar Videoを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Heygen Avatar Videoはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHeygen Avatar Videoをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/gitroomhq/postiz-content-skills/tree/main/skills/heygen-avatar-videoを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Heygen Avatar Videoを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Heygen Avatar Videoで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHeygen Avatar Videoを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Heygen Avatar Video」は無料ですか?

はい。gitroomhqがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇