Skip to main content

voxx

Local narration for AI agents.

voxx is a text-to-speech CLI built only for agents. An agent writes a Narration, a list of Lines in one language, and voxx narrate reads each Line in one breath with a local speech Model, then hands back one WAV per Line with word timings. The completed Narration file goes straight to CueTake (cuetake record --narration), so a product demo can be recorded to fit its voice-over.

  • Every Line is read whole by the Model, never stitched, then trimmed to 50 ms of silence at each end and normalized to -18 LUFS, as a mono WAV at the Model's native sample rate.
  • Word timings for each Line (per character in Chinese), for Subtitles.
  • An optional self-check: with --check, every Line is transcribed back and compared with its text, so the agent knows which Lines to read again with a new seed, leaving the others byte for byte as they were. It is off by default, because the user listens anyway and the transcriber costs memory and time (ADR 0008).
  • Preset Voices, a Cloned Voice made from a short Reference Recording, or a Designed Voice made from a text description and chosen by ear.
  • voxx transcribe reads back what is said in any audio or video file, Passage by Passage, in the language heard, and with --words times every word (ADR 0011). Formats other than WAV, MP3 and FLAC, video included, need ffmpeg.
  • Only Models whose weights allow commercial use, run locally through mlx-audio. Nothing is downloaded until the user agrees.
  • Every command prints one JSON object, and voxx schema describes them all, so an agent never guesses.

voxx 0.1 runs on Apple Silicon Macs only.

For AI agents

If a user hands you this repository to set up voxx:

  1. Install the skill globally with npx skills add levyxdev/voxx -g. In Claude Code you can instead run /plugin marketplace add levyxdev/voxx, then /plugin install voxx.
  2. The skill's scripts/voxx runs the pinned voxx package with uvx, so nothing else needs installing besides uv. To run a source checkout instead, export VOXX_BIN="uv run --project /absolute/path/to/voxx voxx".
  3. Follow the skill: run scripts/voxx doctor, and install uv or a Model only after the user agrees (setup).

Example

examples/invite/narration.json is a Narration as an agent writes it:

{
  "language": "zh",
  "style": "语气亲切自然,语速适中,像在给同事演示一个新功能",
  "lines": [
    { "id": "intro", "text": "这是新的邀请流程,只要三步。" },
    { "id": "email", "text": "先填上同事的邮箱,再选好对方的角色。" },
    { "id": "send", "text": "点一下发送,邀请就发出去了!", "style": "语气轻快,带一点兴奋" }
  ]
}

voxx narrate examples/invite/narration.json --out examples/invite/out read it with the default Models into examples/invite/out/: a WAV per Line, and a narration.json that keeps every field above and adds each Line's audio, words, model, voice, seed, sample_rate, transcript, error_rate and warnings.

Models

voxx models lists the registry. Each Model is pinned to one upstream revision, and its weights license was checked against the upstream model card on the date voxx models shows (2026-10-30; 2026-11-06 for Ming-3.0-tts and Qwen3-TTS VoiceDesign). Only Models whose weights allow commercial use are registered.

Model Used for Download Weights license
qwen3-tts-1.7b-customvoice Preset Voices (default) 3.1 GB Apache-2.0
voxcpm2 Cloned Voices and Designed Voices (default), designing voices 3.2 GB Apache-2.0
qwen3-tts-1.7b-base Cloned Voices 3.1 GB Apache-2.0
qwen3-forcedaligner-0.6b Word timings 1.3 GB Apache-2.0
qwen3-asr-0.6b Self-check (--check), Reference Recording text 1.0 GB Apache-2.0
qwen3-asr-1.7b voxx transcribe (preferred when installed) 2.5 GB Apache-2.0
ming-3.0-tts-0.5b 241 Preset Voices (3 English, the rest Chinese), Cloned Voices, designing voices, and emotion, speed, pitch and volume 1.6 GB MIT
qwen3-tts-1.7b-voicedesign Designing voices in 10 languages 3.1 GB Apache-2.0

voxx transcribe uses qwen3-asr-1.7b when it is installed, else qwen3-asr-0.6b, and --words the aligner, which times Chinese, Cantonese, English, German, Spanish, French, Italian, Portuguese and Russian. Only the Model that reads must be installed; without the aligner, Lines are read without word timings, and with --check but without the transcriber, without the self-check. voxx install <model> is the only command that downloads anything (ADR 0003). It fetches the 8-bit MLX conversions from Hugging Face into ~/.voxx/models (or $VOXX_HOME/models), and honors HF_ENDPOINT for a mirror. A Model that also loads another repo, such as a tokenizer (none of today's do), gets it in the same install, at that repo's latest revision, into $VOXX_HOME/hf-cache; voxx models lists these extra repos with their sizes and licenses.

Disclaimer

  • You are responsible for the voices you clone. voxx cannot tell whose voice a Reference Recording is, and does not check consent or add a watermark (ADR 0004). Clone only your own voice, or a voice whose owner has agreed to it, and follow the laws where you publish.
  • voxx distributes no model weights. voxx install downloads them from their publishers' Hugging Face repositories only when you run it. Each Model stays under its own license, which voxx shows before you install it. The licenses in the registry were checked on the date shown; check the license yourself before you rely on it.
  • Label AI-generated speech. Many platforms and jurisdictions require content with synthetic speech to be labeled as AI-generated when it is published. voxx records the Model, Voice and seed of every Line in its output.
  • voxx is provided as is, without warranty of any kind, under the Apache License 2.0. The third-party projects it builds on are listed in NOTICE.

Run from source

Requirements: an Apple Silicon Mac and uv.

uv sync
uv run voxx doctor
uv run voxx schema

Development

uv run basedpyright
uv run pytest
# With the Models installed:
VOXX_TEST_REAL=1 uv run pytest tests/test_real_models.py

The tests run voxx as a process, the way an agent does, against a fake Engine and a local stand-in for Hugging Face, so they need no Model and never reach Hugging Face. They run in parallel, one pytest worker per core. The design is in docs/DESIGN.md, the terms in GLOSSARY.md, the decisions in docs/adr/, and the release steps in docs/releasing.md.

Metadata

Release files for voxx 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voxx 0.4.0
File Size Uploaded Provenance Actions
voxx-0.4.0.tar.gz 528.1 kB Without provenance Details for voxx-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for voxx 0.4.0
File Interpreter ABI Platform Actions
voxx-0.4.0-py3-none-any.whl Python 3 none any Details for voxx-0.4.0-py3-none-any.whl

Total release size: 605.5 kB

Release files / voxx-0.4.0.tar.gz

Download URL voxx-0.4.0.tar.gz
Size 528.1 kB
Tags Source
SHA-256 checksum
How to use checksums
59950f30170eca7c5b86d038bf2756578e7b8eb6b6b312fcbf14bfaedf6668f0
BLAKE2b-256 checksum
How to use checksums
6faec60c2f58c6f5c427736408e4cd392dc09180f9e45daada6e5b6f2c887dc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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}

Release files / voxx-0.4.0-py3-none-any.whl

Download URL voxx-0.4.0-py3-none-any.whl
Size 77.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86a98913e205fd935913a26661e0a39d95a124e6d12bc4893a8e511c6865f637
BLAKE2b-256 checksum
How to use checksums
010df0e7a15e51a94eb646770f77542302aac9d33b53aa608bb6e779d5aff6a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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}

Security for voxx 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page