Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-ai-avatar

БесплатноЗапускает вложенные скриптыНе проверен

Make an AI avatar of yourself that looks and sounds like you. A HeyGen digital twin trained on a couple of minutes of your own footage says lines you never…

MengToот MengTo★ 8 824 звезды на GitHub

Об этом скилле

Create AI Avatar

HeyGen API · ElevenLabs · ffmpeg. Scripts are plain Node 20 and bash, with no packages to install.

An avatar of you is three things, each from its best source. The face and the way you move come from your own footage (a HeyGen digital twin). The voice is your own clone on ElevenLabs, made into an audio file. One engine lip-syncs the two. You then judge the result where likeness breaks first: the mouth, close up, beside your real one.

Boundary. Use html-explainer-video for a film with no face in it, and html-reel to cut your real phone takes into a reel. Use this skill when the person on screen should be you, saying words you didn't record.

Provenance. Built in November 2026 on a creator's own twin, trained from the eye-contact takes of one YouTube video (2 min 48 s) and voiced in his ElevenLabs clone on v4. The same 8.8-second line was rendered on all three engines, and the creator picked by the mouth. The demo shows four presenters made from single portraits as HeyGen photo avatars, so nobody's real footage is on show.

The mechanism

Keep the face, the voice and the lip-sync apart, and only ever change one of them. The twin is trained once. The voice is a file you listen to before it goes anywhere. A render is the twin plus that file on one engine. When something looks wrong you can then tell which part to change. Use the same line and the same audio for every engine you compare: a new line hides what the engine did.

HeyGen can't use an ElevenLabs voice by its id. Make the line on ElevenLabs (scripts/voice.mjs), then send HeyGen the audio as audio_asset_id or audio_url instead of script and voice_id. The video is as long as the audio, up to 30 minutes.

Judge it by the mouth. In a whole frame every engine looks fine. Crop the nose-to-chin box at six moments of each render and of your real footage, and stack them (scripts/mouths.sh). Then look at how wide the lips stretch, how much of the teeth show, the colour of the lips and the corners of the mouth.

Three ways to an avatar

Digital twin Photo avatar Talking photo
From 15 s to 10 min of footage, about 2 min best One photo One photo
Costs first About $2.13 to train, plus consent About $1.32 Nothing
Engines Avatar 6, V, IV, III Avatar 6, V, IV, III Avatar IV only
Moves As you do: your head, your habits What the engine imagines What the engine imagines
Use for Anything that has to pass as you A presenter from a portrait, on Avatar 6 or V A quick line

All three take your audio. Start on Avatar 6, HeyGen's newest engine (since 18 Nov 2026): in Fil it's heygen-avatar-6 and heygen-avatar-6-turbo, with your line wired in as the sound, and a trained twin's looks list it too. scripts/render.mjs doesn't render it yet: its newest engine, and its default, is Avatar V. Judge it by the mouth, and step down to V, IV or III if it over-acts the person you know. (Until 18 Nov this said to start on Avatar V, then the newest.) Fil's Create AI avatar workflow is the photo avatar: your photo and a voice, wired into HeyGen Avatar V; pick heygen-avatar-6 on that node for Avatar 6.

The workflow

  1. Pick the footage (references/footage.md). Use your best talking takes: you alone, facing the camera with the face in frame throughout, in a quiet room, at 1080p. That's two to three minutes of natural speech. Eye-contact takes are best. Download each once and join them with bash scripts/prep-footage.sh footage.mp4 take-*.mp4.
  2. Upload it. node scripts/upload.mjs footage.mp4 direct-uploads up to 200 MB and keeps the asset id beside the file.
  3. Train it. Say the price ($2.13) and the wallet first, and wait for a typed yes. Then run node scripts/train.mjs --footage <asset_id> --name "Ada · March takes", which trains in a few minutes. A new character gets a consent link: the person in the footage opens it within 24 hours and records a short statement. The twin renders only once its look is completed and its consent accepted. To add new footage of the same person, pass --group.
  4. Make the line. Run node scripts/voice.mjs "<one line, about 25 words>" line.mp3 --voice <your clone>. Listen to it, and check its words with node scripts/hear.mjs line.mp3.
  5. Render the line, with no motion prompt: on Avatar 6 in Fil (a video node on heygen-avatar-6 with line.mp3 wired in as its sound), and with the script on Avatar V: node scripts/render.mjs --look <look_id> --audio line.mp3. To compare, render the same line on --engine avatar_iv and avatar_iii too. Each render prints its price first and the wallet after, but it starts at once, so say the price yourself (in Fil, max_credits: 0) and wait for a typed yes before each one. A portrait instead of footage: make it a photo avatar with POST /v3/avatars { type: 'photo' } (references/heygen.md) and render its look the same way.
  6. **Jud
Полный SKILL.md на GitHub

Установить create-ai-avatar в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamldemo/PROMPT.mddemo/avatar-iii.mp4demo/avatar-iii.webpdemo/avatar-iv.mp4demo/avatar-iv.webpdemo/avatar-v.mp4demo/avatar-v.webpdemo/index.htmldemo/mouths.jpgdemo/preview.jpgreferences/footage.mdreferences/heygen.mdreferences/judging.mdscripts/balance.mjsscripts/consent.mjsscripts/hear.mjsscripts/keys.mjsscripts/mouths.shscripts/prep-footage.shscripts/render.mjsscripts/train.mjsscripts/upload.mjsscripts/voice.mjs

FAQ

Что делает скилл create-ai-avatar?

Make an AI avatar of yourself that looks and sounds like you. A HeyGen digital twin trained on a couple of minutes of your own footage says lines you never recorded, in your own ElevenLabs voice, lip-synced from the audio, on the engine whose mouth moves most like yours. Covers picking and joining takes, training, consent, making the voice, rendering the same line on Avatar 6 (HeyGen's newest, through Fil), V, IV and III, and judging them mouth to mouth against your real footage before anything else is made. Use when someone wants a digital twin, an AI avatar or talking head of themselves or a consenting person, a HeyGen avatar from their YouTube videos or recordings, their avatar to speak in their own cloned voice, a lip-synced talking video from a photo and audio, or says their avatar looks wrong, over-acts or its mouth isn't theirs.

Как установить скилл create-ai-avatar?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-ai-avatar запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить create-ai-avatar с