Skip to main content

One-command zero-shot voice cloning with MOSS-TTS-Nano via mlx-audio.

Project description

moss-tts-nano-cli

One-command zero-shot voice cloning with the MOSS-TTS-Nano-100M model, powered by mlx-audio.

Features

  • No manual setup: uvx moss-tts-nano-cli installs the environment automatically.
  • Lazy model download: the model is fetched from Hugging Face on first use.
  • Voice cloning: pass a reference WAV and text to synthesize speech in that voice.
  • Apple Silicon optimized: runs on MLX.

Requirements

  • Python 3.12+
  • macOS with Apple Silicon (MLX backend)
  • uv (recommended)
  • FFmpeg (used indirectly by audio tooling)

Install

uv tool install moss-tts-nano-cli

Or run without installing:

uvx --from moss-tts-nano-cli moss-tts-nano --help

Usage

Clone a voice

moss-tts-nano clone \
  --ref ./my_voice.wav \
  --text "Hello, this is my cloned voice speaking." \
  --out output.wav

The first run downloads mlx-community/MOSS-TTS-Nano-100M and the audio tokenizer into the Hugging Face cache (~/.cache/huggingface).

Eagerly download the model

moss-tts-nano download

Show info

moss-tts-nano info

Development

git clone https://github.com/vra/moss-tts-nano-cli.git
cd moss-tts-nano-cli
uv sync --extra dev
uv run pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moss_tts_nano_cli-0.1.0.tar.gz (54.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moss_tts_nano_cli-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file moss_tts_nano_cli-0.1.0.tar.gz.

File metadata

  • Download URL: moss_tts_nano_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for moss_tts_nano_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d09231e6987c3bab0d3714c8a6652cc1a2038fd373a50256070ead4de1b5271f
MD5 5106c02036ea115e534f9aebdce24dc8
BLAKE2b-256 35d2685429dc3903fc8e315dce31a152d97802c2f953bd554be4a023a420489a

See more details on using hashes here.

File details

Details for the file moss_tts_nano_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: moss_tts_nano_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for moss_tts_nano_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50dc7752026ef0dfcc28340d64b7a26674d3bb1f050848671c38701b1d01f37b
MD5 46c5a7304643b91b7ea2c4d9df56eaf5
BLAKE2b-256 d140e95c683cb834cb25112d5bcab496e8245db4b109bb9407c014fc25795a2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page