create-ai-avatar
Skill này làm gì
Skill này hướng dẫn agent tạo một nhân vật nói chuyện trông và nghe giống bạn. Nó dành cho nhà sáng tạo muốn một người trên màn hình nói những lời họ chưa từng thu, và có sự đồng ý.
Khi nào nên dùng
- ✓Khi bạn muốn một video có chính mình nói một kịch bản bạn chưa thu.
- ✓Khi bạn muốn một bản sao giọng nói của mình để thuyết minh cho video.
- ✓Khi bạn muốn so sánh vài công cụ tạo avatar và chọn cái giống bạn nhất.
Liên kết skill
https://github.com/MengTo/Skills/blob/main/agent-skills/media/create-ai-avatar/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo avatar AI nói chuyện của tôi từ video đã quay, với giọng nhân bản đọc kịch bản mới của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent huấn luyện một bản sao kỹ thuật số từ đoạn quay của chính bạn và tạo một file giọng nhân bản. Sau đó nó kết hợp cả hai trên một công cụ avatar, và bạn kiểm tra miệng và khuôn mặt thật kỹ so với bản thân thật.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 on 2–3 November 2026, making Meng To's twin from the eye-contact takes of his Framer video (2 min 48 s) and his ElevenLabs voice, Meng Voice 2026 Pro on v4. The same 8.8-second line was rendered on all three engines. Avatar V over-acted his mouth, and he picked Avatar IV.
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.
Two ways to an avatar
| Digital twin | Talking photo | |
|---|---|---|
| From | 15 s to 10 min of footage, about 2 min best | One photo |
| Costs first | About $2.13 to train, plus consent | Nothing |
| A second of video | Avatar V $0.12, IV $0.0805, III $0.01 | $0.0385 (Avatar IV) |
| Moves | As you do: your head, your habits | What the engine imagines |
| Use for | Anything that has to pass as you | A quick line, or no footage yet |
Both take your audio. Fil's Create AI avatar workflow is the talking photo: your photo and a voice, wired into HeyGen Avatar IV.
The workflow
- 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. - Upload it.
node scripts/upload.mjs footage.mp4direct-uploads up to 200 MB and keeps the asset id beside the file. - Train it. Say the price ($2.13) and the wallet first. 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 iscompletedand its consentaccepted. To add new footage of the same person, pass--group. - 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 withnode scripts/hear.mjs line.mp3. - Render the same line on each engine you're weighing, with no motion prompt:
node scripts/render.mjs --look <look_id> --audio line.mp3 --engine avatar_iv. Each render prints its price first and the wallet after. - Judge. Run
bash scripts/mouths.sh mouths.jpg footage.mp4 twin-avatar_v.mp4 twin-avatar_iv.mp4 twin-avatar_iii.mp4and put the renders side by side with their sound. Show the person both before saying which is best: it's their face (references/judging.md). - Use the one they pick for the real lines, and write it down with the ids: the look, the group, the voice and the engine.
Rules
Each rule names the failure it prevents.
- A new render needs a new Idempotency-Key. One render was sent again with the first render's key, and HeyGen handed back the first video.
render.mjsbuilds the key from the subject and the audio. - **
Câu hỏi thường gặp
Có cần sự đồng ý không?
Có. Skill có một bước đồng ý, vì avatar và giọng được tạo từ chính bản thu của bạn.
Cần bao nhiêu đoạn quay?
Ví dụ trong skill dùng khoảng 2 phút 48 giây các đoạn nhìn thẳng vào ống kính. Hãy dùng đoạn do chính bạn quay.
Vì sao tách giọng và khuôn mặt?
Nếu có gì không ổn, bạn biết là khuôn mặt, giọng hay đồng bộ môi cần sửa, và chỉ thay phần đó.
Chi tiết
Mô tả gốc của tác giả
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 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 avata
repo: MengTo/Skills
Độ phổ biến
- Sao GitHub
- 7.2k
- Vị trí xếp hạng
- #13385
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-cloth-material
7.2kGiúp agent của bạn tạo vải dệt 3D trông thật trong Three.js, với sợi dệt, ánh bóng nhẹ, nếp gấp tự nhiên, viền gấu và đường may.
3d-falling-leaves
7.2kGiúp agent của bạn thêm lá rơi chân thực vào cảnh 3D, với lá xoay tròn, trôi theo gió và được tái sử dụng khi máy quay di chuyển.
3d-four-seasons
7.2kGiúp agent của bạn thêm diện mạo xuân, hạ, thu, đông vào cảnh 3D, thay đổi cây cối, ánh sáng, bầu trời và tuyết mà không cần dựng lại cảnh.
3d-high-poly-models
7.2kGiúp agent của bạn dựng mô hình 3D chi tiết với hình dạng mượt và cạnh trông thật, rồi tạo các phiên bản nhẹ hơn chạy tốt trên web.
Skill tương tự
blender-motion-state-inspection
280kCho phép kiểm tra chi tiết trong hoạt ảnh 3D. Hữu ích để kiểm tra tư thế, chuyển động và độ thẳng hàng của nhân vật trong hoạt ảnh.
manim-video
280kGiúp agent tạo video giải thích hoạt hình. Dùng Manim để tạo biểu đồ và sơ đồ rõ ràng cho các khái niệm kỹ thuật.
remotion-video-creation
280kHướng dẫn agent tạo video bằng React với thư viện Remotion. Bao gồm các thực hành tốt nhất về hoạt ảnh, âm thanh, phụ đề và các yếu tố hình ảnh khác.