Open source HeyGen alternatives: 3 free tools

Three free open source tools that cover what HeyGen does: face and voice cloning, photo to talking video, and lip sync, with setup steps and GPU rental costs.

Illustration for the guide: Open source HeyGen alternatives: 3 free tools

I canceled my HeyGen subscription. HeyGen costs $29 to $220 per month, and the free plan gives about one minute of video in practice. Three open source tools on GitHub cover most of what HeyGen does, and they are free to use.

In short: Three open source tools replace most of what HeyGen does. Duix-Avatar clones your face and voice and runs offline on Windows. SadTalker turns one photo and one audio file into a talking video, and MuseTalk handles real-time lip sync for products and automation.

Key takeaways

  • HeyGen costs $29 to $220 per month, and its free plan gives about one minute of video in practice.
  • Duix-Avatar is a fully offline Windows tool that needs an NVIDIA GPU with at least 8GB of VRAM.
  • SadTalker turns one portrait photo and one audio file into a talking head video.
  • MuseTalk is the choice for real-time lip sync, products, and automated pipelines.
  • An RTX 4090 on RunPod costs about $0.50 per hour, and a 60-second video renders in 3 to 6 minutes.

What is Duix-Avatar and how do you set it up?

Duix-Avatar is the closest thing to "HeyGen at home." It is an offline Windows tool that clones your look and voice and generates video from text. Everything runs locally, with no subscription, no credits, and no watermark.

Repo: github.com/duixcom/Duix-Avatar

System requirements

  • Windows 10/11
  • An NVIDIA graphics card with at least 8GB of VRAM (an RTX 3060 or higher is recommended)
  • 20GB or more of free disk space

Installation steps

  1. Go to the repo and download the latest Release (the Windows installer) from the Releases page.
  2. Install and launch the tool. On the first run, it downloads the models (several GB, one time only).
  3. Record your source video. You only do this once. Aim for 2 to 5 minutes, a static camera, even lighting, a clean background, direct eye contact with the camera, and natural speech with pauses.
  4. Upload the video and let the tool train your avatar.
  5. From here, type text (or upload an audio file) and get a video of you speaking.

Tips for better results

  • The better your source video (4K, good lighting), the more convincing the avatar.

The model uses them for idle states.

  • For non-English voices, skip the built-in TTS and feed in audio from ElevenLabs (more on this below).

How do you install and run SadTalker?

SadTalker takes one portrait photo and one audio file and produces a talking head with natural head movement and blinking. You don't need to record a video at all. It works well for quick tests, cartoon characters, or when you have no footage.

Repo: github.com/OpenTalker/SadTalker

Installation (on a machine with a GPU, Linux or WSL)

git clone https://github.com/OpenTalker/SadTalker.git
cd SadTalker
conda create -n sadtalker python=3.8
conda activate sadtalker
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
bash scripts/download_models.sh

Run it

python inference.py \
  --driven_audio my_voice.wav \
  --source_image my_photo.png \
  --result_dir ./results \
  --still --preprocess full --enhancer gfpgan

The important flags

  • --enhancer gfpgan noticeably improves face quality. Always use it.
  • --still reduces exaggerated head movement and gives a steady, professional look.
  • --preprocess full keeps the whole frame, including the background, instead of cropping to the face.

A one-minute video renders in a few minutes on an RTX 3090 or 4090. No GPU? Ready-made SadTalker notebooks are available on Google Colab. You run them in the browser without installing anything.

When should you use MuseTalk?

Use MuseTalk when you need high-quality lip sync that runs in real time. Many commercial products in this space are built on it. It fits best if you are building a product, an interactive avatar, or an automated pipeline that produces videos in bulk.

Repo: github.com/TMElyralab/MuseTalk

Choose MuseTalk when

  • You want to sync lips on existing video instead of generating from scratch.
  • You are building an avatar that responds in real time, such as a chatbot with a face.
  • You need an API or automated pipeline rather than a graphical tool.

A full system built on it

If you want a complete platform ready to go, github.com/PunithVT/ai-avatar-system connects the full chain: Whisper (transcription) to Claude or Ollama (the brain) to Chatterbox (voice cloning from 5 seconds of audio) to MuseTalk (lip sync). It runs 100% locally or on AWS, and you get a real-time conversation with an avatar of yourself.

Bonus: Wav2Lip

Wav2Lip is the older, simpler standard for lip syncing existing video. It is less high quality than MuseTalk but much easier to run.

How do you add a realistic voice?

Use ElevenLabs to create the voice, then feed the audio file into any of the tools above. The built-in text-to-speech in these tools is not their strongest feature, so this approach works better.

  1. Sign up for ElevenLabs. There is a free tier of about 10 minutes per month.
  2. Create a voice clone by uploading 1 to 2 minutes of clean recording of your voice. You get a Voice Clone that speaks in your voice.
  3. Type the script for your video and download the MP3 or WAV file.
  4. Feed the audio file into Duix-Avatar, SadTalker, or MuseTalk. The lip sync adapts to the audio in any language.

Tip: In ElevenLabs, choose the Multilingual model. It handles non-English speech much better, including natural intonation.

How much does it cost to rent a GPU?

Renting a GPU by the hour costs about $0.20 to $0.70, depending on the service and card. If you don't have an RTX card at home, these are the options, from cheapest to most advanced.

ServiceEstimated priceBest for
Google ColabFree / $10 per month (Pro)First experiments. Ready-made SadTalker notebooks that run in the browser
Vast.aiAbout $0.20 to $0.40 per hour for an RTX 3090The cheapest option. A marketplace of private GPUs, good for one-time renders
RunPodAbout $0.35 to $0.70 per hour for an RTX 4090The best balance: ready-made templates, Docker, billing by the second
Modal / Lightning AIPay per use, with free credits to startRunning as an API and automation, for example from n8n

The 5-cent math

An RTX 4090 on RunPod costs about $0.50 per hour. Rendering a 60-second video takes 3 to 6 minutes. That means a full reel costs about 2.5 to 5 cents of GPU time. That is not $29 per month. It is cents per video.

What is the best path to get started?

Start free on Colab, move to RunPod for full quality, and then use Duix-Avatar locally if you have a Windows PC with a GPU.

  1. Start on Colab for free. Run SadTalker on a photo of yourself and check whether the result is good enough.
  2. Move to RunPod. Pick a PyTorch + CUDA template, follow the installation steps above

Questions people ask

Is there a free alternative to HeyGen?

Yes. Duix-Avatar, SadTalker, and MuseTalk together cover face and voice cloning, photo to talking video, and real-time lip sync, and they are free. Duix-Avatar runs offline on your own Windows PC, while SadTalker and MuseTalk can run on a rented GPU.

How much does HeyGen cost?

HeyGen costs $29 to $220 per month. In practice, its free plan gives you about one minute of video.

What hardware does Duix-Avatar need?

Duix-Avatar needs Windows 10 or 11, an NVIDIA graphics card with at least 8GB of VRAM (an RTX 3060 or higher is recommended), and 20GB or more of free disk space. Your face and voice stay on your machine because everything runs locally.

Can I run SadTalker without a GPU?

Yes. Ready-made SadTalker notebooks are available on Google Colab, and you run them in your browser without installing anything. The free tier is a good place to start testing.

How much does it cost to rent a GPU for these tools?

Vast.ai runs about $0.20 to $0.40 per hour for an RTX 3090, and RunPod runs about $0.35 to $0.70 per hour for an RTX 4090.5 to 5 cents of GPU time.

open sourceHeyGen alternativesSadTalkerDuix-AvatarMuseTalk
I rest. The agents work. A relaxed panda on a beanbag while a small robot carries its paperwork

One email a week. One agent you can copy.

Every week I send the setup I actually used: the tools, the prompts and the steps. Short enough to read on your phone.

No spam. Unsubscribe with one click.