Real-Time-Voice-Cloning logo

Real-Time-Voice-Cloning

github.com/CorentinJ/Real-Time-Voice-Cloning

Clone a voice from a few seconds of audio and generate arbitrary speech in real time.

git clone https://github.com/CorentinJ/Real-Time-Voice-Cloning
Stars
60k
Rank in field
Top 5%#24 of 542 by stars
Forks
…
Open issues
…
Contributors
…
Language
Python
License
Custom licence
Last push
9 Mar 2026

What is Real-Time-Voice-Cloning?

This repository implements the SV2TTS framework from a master's thesis. In its first stage it builds a digital representation of a voice from a few seconds of audio, and in the second and third stages it uses that to generate speech from any text with a real-time vocoder. It includes a GUI toolbox and a command-line demo and runs on Windows and Linux. The author notes newer tools may give better audio quality.

Install & use

Install
pip install -U uv
uv run --extra cuda demo_toolbox.py
uv run --extra cpu demo_toolbox.py
Usage
uv run --extra cpu demo_cli.py

CorentinJ/Real-Time-Voice-Cloning is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.

Features

  • Voice cloning from a few seconds of audio
  • Encoder, synthesizer and vocoder pipeline
  • GUI toolbox and command-line demo
  • CPU or NVIDIA GPU runs through uv
  • Pretrained models downloaded automatically

Best for

  • Studying how SV2TTS works
  • Experimenting with voice cloning locally
  • Reproducing the thesis implementation
  • Learning speech synthesis pipelines

Pros

  • Runs locally on Windows and Linux
  • Pretrained models download automatically
  • Code maps to published papers

Cons

  • Author says audio quality is behind newer options
  • Needs ffmpeg and uv installed

Stars over time