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.2.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.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moss_tts_nano_cli-0.1.2.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":true}

File hashes

Hashes for moss_tts_nano_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ed3265e5a24b51a004ea80a023356f9954c5641563ced34ad4aea5fe67d3e7d7
MD5 a60fe58c69df74c96225fda46e1dd6bb
BLAKE2b-256 f100439ade88dedfe8ebf85bc7b630026afd4350909c8ff21841763017fb0862

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moss_tts_nano_cli-0.1.2-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":true}

File hashes

Hashes for moss_tts_nano_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f53dae30d3bbbde99fcc2554669074974e2270d53982e30042b22de91cc385c5
MD5 0f9ed500ceb84d936ec8fbcdb8589062
BLAKE2b-256 766e4268c38eb09ce54515e029ce8235e49da9258b390ff458e3ded9919a4626

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