AI talking avatar video: make it and embed it on a page

12 steps · about 4 h 10 min · Beginner

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. <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.

  11. 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.

  12. 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.