How-To Install Sadtalker A Free Talking AI Generated Talking Avatar Tool Installation Guide
Education
How-To Install Sadtalker: A Free Talking AI Generated Avatar Tool Installation Guide
In my last video, I compared two web-based talking avatar tools, D-ID and HeyGen. I showcased these talking avatars and mentioned that I'd drop a video on how to make them. This is that video! The tool is called Sadtalker, and it’s my personal favorite. While D-ID might produce slightly better results, Sadtalker offers comparable results for absolutely free. Since I’m just starting out and don't get paid to make these videos, I'll stick with the free versions.
Here’s a detailed guide on how to install Sadtalker locally. All the links required will be in the description below. If the video is too fast, feel free to pause or rewind.
Step 1: Download and Install Python 3.10.6
- Visit the official Python website.
- Use Ctrl+F to search for "3.10.6."
- Download the Windows installer for the 64-bit version.
- During installation, ensure you check the option to "Add Python to PATH."
Step 2: Download and Install Git
- Download the 64-bit version of Git.
- Install Git as you would any other software.
- Verify installation by typing
git --version
in Command Prompt.
Step 3: Install FFmpeg using Chocolatey
Install Chocolatey:
- Go to the Chocolatey website.
- Copy the installation command from the site.
- Open PowerShell as an administrator.
- Paste the copied command and hit enter.
Install FFmpeg:
- In PowerShell, type
choco install ffmpeg -y
and press Enter. - Verify installation by typing
ffmpeg
.
- In PowerShell, type
Step 4: Clone Sadtalker Repository
- Open File Explorer and navigate to the drive where you want to install Sadtalker.
- In the address bar, type
cmd
and press Enter to open Command Prompt in that directory. - Type
git clone <GITHUB_REPO_URL>
and press Enter.
Step 5: Install Checkpoints and Other Requirements
- Navigate to the Sadtalker folder.
- Create a new folder named
checkpoints
. - From the Sadtalker GitHub page, download the training models (checkpoints).
- Extract both the Sadtalker.zip and gfpgan.zip files in the
checkpoints
folder. - Ensure the folder structure is correct and delete the zip files to tidy up.
Step 6: Run Sadtalker
- In the Sadtalker directory, double-click on
webui.bat
. - Wait for the installation to finish.
- Copy the URL (typically
127.0.0.1:7860
) from the command prompt to your web browser. - (Optional) For dark mode, append
?__theme=dark
to the URL
Creating a Talking Photo:
- Upload your source image.
- Upload your audio file.
- Click "Generate."
- Adjust settings for better quality.
- Compare and review your results.
That wraps up our detailed guide on installing and using Sadtalker. If you enjoyed this guide and want to see more AI-related content, please like, subscribe, and comment. Your support helps me to create more valuable content!
Keywords
- AI avatars
- Sadtalker
- Python
- Git
- FFmpeg
- Chocolatey
- Installation guide
- Free tools
- Machine learning
- GAN models
FAQ
Q: Is Sadtalker free to use?
- A: Yes, Sadtalker is absolutely free to use.
Q: Which version of Python is required?
- A: Python 3.10.6 is required for the installation process.
Q: What tools are needed for the installation?
- A: You need Python, Git, and FFmpeg (installed via Chocolatey).
Q: How do I verify the installations?
- A: You can verify Git by typing
git --version
and FFmpeg by typingffmpeg
in the Command Prompt.
- A: You can verify Git by typing
Q: How do I launch Sadtalker once everything is installed?
- A: Launch it by running
webui.bat
and navigate to the localhost URL provided in your web browser.
- A: Launch it by running
Q: Can I enable dark mode?
- A: Yes, append
?__theme=dark
to the localhost URL to enable dark mode.
- A: Yes, append
Q: Where do I place the checkpoints?
- A: Place them in the
checkpoints
folder within the Sadtalker directory.
- A: Place them in the
By following this guide, you should have a fully functional instance of Sadtalker running on your local machine, ready to create stunning AI-generated talking avatars.