explaingit

openmoss/moss-tts-nano

Analysis updated 2026-05-18

3,032PythonAudience · developerComplexity · 3/5Setup · moderate

TLDR

A small, 0.1B parameter open source text to speech model that runs in realtime on a CPU, supporting 20 languages.

Mindmap

mindmap
  root((MOSS-TTS-Nano))
    What it does
      Text to speech
      Realtime generation
      Runs on CPU
      Voice cloning
    Tech stack
      Python
      Audio tokenizer
      ONNX CPU version
    Use cases
      Local demos
      Web serving
      Browser reading app
    Audience
      Developers
      Researchers
      Product builders

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

Add realtime, CPU only text to speech to a local demo or app without needing a GPU.

USE CASE 2

Clone a voice from a short sample and generate speech in that voice.

USE CASE 3

Build a browser based reading tool that speaks text aloud using the Reader extension.

What is it built with?

PythonPyTorchONNX

How does it compare?

openmoss/moss-tts-nanomisolabsai/misottsgoogle-agentic-commerce/ap2
Stars3,0323,0613,001
LanguagePythonPythonPython
Last pushed2026-06-09
MaintenanceMaintained
Setup difficultymoderatehardmoderate
Complexity3/54/54/5
Audiencedeveloperdeveloperdeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs a Python environment set up, though it can run on CPU without a GPU or paid API key.

The README does not spell out license terms in the shown excerpt.

In plain English

MOSS-TTS-Nano is an open source text to speech model built by the OpenMOSS team and MOSI.AI. It is designed to be small and fast rather than to chase the largest possible model size: with only 0.1 billion parameters, it can generate speech in realtime and run directly on a CPU, so a GPU is not required. This makes it a good fit for local demos, simple web services, and lightweight product integrations where running a large model would be impractical. The model supports 20 languages, including Chinese, English, German, Spanish, French, Japanese, and several others, and it outputs 48 kHz two channel audio. Under the hood it uses an audio tokenizer paired with a language model in an autoregressive pipeline, with streaming generation that can run on a four core CPU and handle long text input through automatic chunked voice cloning. For getting started, the project ships several ways to run it: a command line script for voice cloning (infer.py), a local web demo (app.py), a packaged CLI with generate and serve commands, and an ONNX based CPU only version that removes the PyTorch dependency and roughly doubles processing efficiency, tested running smoothly on a single CPU core on a MacBook Air M4. There is also a browser extension companion project, MOSS-TTS-Nano-Reader, that runs the model directly inside the browser without a separate local server. The README documents an active release history, including finetuning code for training on custom voices, and points to demos on Hugging Face Spaces and the project's own demo site. A larger MOSS-TTS 2.0 release is described as coming soon, with the team collecting user feedback ahead of that launch. The repository is part of a small family of related MOSS-TTS and MOSS-Audio-Tokenizer models from the same team. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Help me set up MOSS-TTS-Nano to run voice cloning locally using infer.py.
Prompt 2
Walk me through running the ONNX CPU version of MOSS-TTS-Nano for faster inference.
Prompt 3
Show me how to start the local web demo app.py for MOSS-TTS-Nano.
Prompt 4
Explain the difference between the ONNX CPU version and the standard PyTorch version of this model.

Frequently asked questions

What is moss-tts-nano?

A small, 0.1B parameter open source text to speech model that runs in realtime on a CPU, supporting 20 languages.

What language is moss-tts-nano written in?

Mainly Python. The stack also includes Python, PyTorch, ONNX.

What license does moss-tts-nano use?

The README does not spell out license terms in the shown excerpt.

How hard is moss-tts-nano to set up?

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

Who is moss-tts-nano for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.