AI talking avatar video: make it and embed it on a page
12 steps · about 4 h 10 min · Beginner
- How to Create a Talking AI Avatar for Free: The Complete Guide (guide, HeyGen, 10 min)
Start with a hosted free-plan tool to see the whole flow: pick an avatar, paste a script, choose a voice, generate.
- I Made a Talking AI Avatar for FREE (video, YouTube, 15 min)
A screen-recorded walkthrough makes the free-tool steps concrete before you make your own.
- How To Create A Talking AI Avatar For Free! Tutorial for Beginners (video, YouTube, 15 min)
A second tool (Canva) shows the same pipeline in another product, so you can compare free options.
- rhasspy/piper: A fast, local neural text to speech system (repo, GitHub (Rhasspy), 25 min)
Voice is half the avatar: generate narration audio free and offline from your script. This repo is archived, with development continuing in OHF-Voice/piper1-gpl.
- OHF-Voice/piper1-gpl: Fast and local neural text-to-speech engine (repo, GitHub (Open Home Foundation), 20 min)
The current maintained Piper, installed with pip, so you can follow up on the voice step with up-to-date instructions.
- SadTalker: photo-to-video explained (article, sync.so, 10 min)
Explains how a single photo plus audio becomes a talking head, and how it differs from lip-sync models.
- SadTalker: Learning Realistic 3D Motion Coefficients for Talking Face Animation (repo, GitHub (OpenTalker), 1 h)
Run an open-source avatar generator yourself on one photo and your Piper audio, with no per-video fees. It needs a GPU or a free Colab.
- Benchmark Open Source Talking Head Solutions (repo, GitHub (danieljelinko), 20 min)
Compare SadTalker with Wav2Lip and others by hardware needs and licence, to pick the right free option.
- HTML video and audio - Learn web development (doc, MDN Web Docs, 30 min)
Now that you have an exported MP4, learn the video element, controls, poster, and fallback content to put it on a page.
- <video> HTML video embed element (reference, MDN Web Docs, 15 min)
Look up attributes such as playsinline, source order and sizing so the avatar plays well on phones.
- Web Video Text Tracks Format (WebVTT) (doc, MDN Web Docs, 20 min)
Your script already is the caption text; write it as a .vtt file so the avatar video is accessible.
- Embed Video in HTML: Video Tag and Iframe Code (article, Mindstamp, 10 min)
Last step: choose between hosting the MP4 yourself and pasting an iframe embed from a video platform.