Clone Your Voice Using AI (ComfyUI)

Published Categorized as Tutorial Tagged , No Comments on Clone Your Voice Using AI (ComfyUI)

Have you ever wondered how those deepfakes of celebrities like Mr. Beast were able to clone their voices? Well, those people use voice cloners like the F5-TTS model in order to do this, and in this article, you’ll learn that it’s actually not that hard!

How it works:

  1. You record yourself speaking a sentence
  2. The AI trains itself on your voice (F5-TTS Model)
  3. You input text for the AI to say in your voice
  4. The workflow outputs a playable MP3 file, saying something in your voice

Software

We will use ComfyUI, a free AI image and video generator. You can use it on Windows, Mac, or Google Colab

Think Diffusion provides an online ComfyUI service. They offer an extra 20% credit to our readers.

Read the ComfyUI beginner’s guide if you are new to ComfyUI. See the Quick Start Guide if you are new to AI images and videos.

Take the ComfyUI course to learn how to use ComfyUI step by step.

Step-by-step guide

Step 0: Update ComfyUI

Before loading the workflow, make sure your ComfyUI is up to date. The easiest way to do this is to use ComfyUI Manager.

Click the Manager button on the top toolbar.

Select Update ComfyUI.

comfyui manager - update comfyui

Restart ComfyUI.

Step 1: Download the workflow

Download the ComfyUI JSON workflow:

Drag and drop the JSON file to ComfyUI.

Step 2: Install missing nodes

If you see red blocks, you don’t have the custom node that this workflow needs.

Click Manager > Install missing custom nodes, and install the missing nodes.

Restart ComfyUI.

Step 3: Install F5-TTS

If the previous step doesn’t work, you need to clone the custom node’s repository manually

Go to your terminal and type in these commands under the ComfyUI installation folder:

  1. cd custom_nodes
  2. git clone https://github.com/niknah/ComfyUI-F5-TTS
  3. cd custom_nodes/ComfyUI-F5-TTS
  4. git submodule update –init –recursive

Reload your ComfyUI.

Step 4: Allow ComfyUI to Access your Microphone

This is an issue that some users have had, with Chrome automatically blocking ComfyUI’s usage of the microphone.

  1. Copy your ComfyUI URL.

2. Visit this chrome page to change your settings
3. Paste it into this box:

4. Change the setting from disabled to enabled
5. Now, when you revisit ComfyUI, reload to update the settings

Step 5: Record your Voice

Press and hold the “Press and Hold to Record” button and read aloud, “This is a test recording to make AI clone my voice.

Step 6: Modify the AI-read text

Change the box below to whatever you want the AI to say with your voice. You can make use of “…” for pauses.

Step 7: Run the workflow

After it’s finished running, enjoy your AI cloned voice under the PreviewAudio node!

Click the triangle to play the audio, and if you want to download it, click the 3 dots and click download

Now you know how to make AI replicate your voice! Isn’t that just sick???

By Sage

Sage is a highly accomplished programmer, winning awards in combining the usage of LLMs, APIs, and BERT models to create software. Sage is a musician, philosopher, writer, and a reader in his spare time.

Leave a comment

Your email address will not be published. Required fields are marked *