whatisgithub

What is dots.tts?

rednote-hilab/dots.tts — explained in plain English

Analysis updated 2026-05-18

174PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

An open-source text-to-speech model that clones voices from a short audio sample and generates high-quality speech in 24 languages.

Mindmap

mindmap
  root((dots.tts))
    What it does
      Text to speech
      Voice cloning
      24 languages
    Tech stack
      Python
      Gradio demo
      2B parameter model
    Use cases
      Voice cloning from sample
      Browser demo
      Fine tuning on new voices
    Audience
      Developers
      Researchers
    Interfaces
      Command line tool
      Python library
      Gradio web app

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Clone a voice from a short audio clip and generate new speech in that voice.

USE CASE 2

Run a local text-to-speech demo in the browser with no coding required.

USE CASE 3

Fine-tune the model on your own audio data for a specialized voice or style.

What is it built with?

PythonGradioApache 2.0

How does it compare?

rednote-hilab/dots.ttsopennswm-lab/faross0912758806p/agentic-sop-to-work
Stars174174173
LanguagePythonPythonPython
Setup difficultymoderatehardeasy
Complexity3/54/53/5
Audiencedeveloperresearcherops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Benefits from a GPU for reasonable generation speed, especially for fine-tuning.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

dots.tts is an open-source text-to-speech system that converts written text into spoken audio. It is released by rednote-hilab and can clone a person's voice from a short audio sample, produce speech in 24 languages, and generate high-quality audio at 48 kHz, which is the same sample rate used for music distribution. The model has about 2 billion internal parameters and is available under the Apache 2.0 license, meaning anyone can use or modify it freely. The voice cloning feature works in two modes. In the first mode you provide a reference audio clip and its exact transcript, and the model matches both the sound and the speaking rhythm of that voice. In the second mode you provide only the audio clip without a transcript, and the model copies the general timbre of the voice without matching its rhythm. There is also a basic mode that generates speech from a generic voice, though this is primarily useful when you have fine-tuned the model on a specific speaker. You can use the system through a command-line tool, a Python library, or a browser-based demo built with a tool called Gradio. The command-line tool takes a text string and an optional reference audio file and writes the result to a WAV file. The Python library provides the same functionality for use inside your own code. The Gradio demo launches a local web page where you can type text and hear the output without writing any code. Fine-tuning is supported, which means you can train the model further on your own audio data to specialize it for a particular voice or style. The repository includes configuration files and a script to prepare training data from a publicly available speech dataset, so new users have a working example to follow. On standard benchmarks for speech quality and speaker similarity, dots.tts reports results that the authors describe as state-of-the-art among publicly available systems at the time of release in June 2026.

Copy-paste prompts

Prompt 1
Show me how to run the dots.tts Gradio demo locally to test voice cloning.
Prompt 2
Explain the difference between the two voice cloning modes in dots.tts.
Prompt 3
Help me write a script that batches text-to-speech generation using the Python library.
Prompt 4
Walk me through fine-tuning dots.tts on a custom speech dataset.

Frequently asked questions

What is dots.tts?

An open-source text-to-speech model that clones voices from a short audio sample and generates high-quality speech in 24 languages.

What language is dots.tts written in?

Mainly Python. The stack also includes Python, Gradio, Apache 2.0.

What license does dots.tts use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is dots.tts to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is dots.tts for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.