Skip to main content

vox-cosyvoice

vox-cosyvoice provides a Vox TTS adapter for CosyVoice 2.

Adapters:

  • cosyvoice2-tts-torch - CosyVoice 2 zero-shot streaming backend

Install

pip install vox-cosyvoice

Runtime Dependencies

The adapter package is intentionally light. The official CosyVoice source is checked out on demand from GitHub into $VOX_HOME/runtime/cosyvoice/CosyVoice, and CosyVoice-specific Python dependencies are installed into the isolated target runtime $VOX_HOME/runtime/cosyvoice.

The shared Vox GPU stack remains owned by the base Vox environment; the adapter does not install its own Torch/CUDA/server runtime packages.

The current Vox adapter is classified for Linux x86_64 CUDA/Torch runtimes. CPU, ONNX, and Spark/ARM NVIDIA paths are not currently production-supported by this adapter. Upstream CosyVoice 2 does not provide a Vox-validated ONNX backend for this package, and the Spark/ARM NVIDIA dependency stack has not been proven cleanly installable with the adapter runtime isolation contract. Plan for at least 8GiB of usable VRAM budget before deployment headroom.

CosyVoice imports whisper.log_mel_spectrogram and whisper.tokenizer.Tokenizer for frontend features. Vox provides those narrow compatibility surfaces inside the isolated runtime instead of installing the full openai-whisper package and its duplicate GPU stack. Matcha-TTS also imports matplotlib through training/plotting utilities during module import; Vox provides an inference-only compatibility package instead of installing the full plotting stack.

Use with Vox

vox pull cosyvoice2-tts:0.5b
vox run cosyvoice2-tts:0.5b "Hello from CosyVoice 2"
vox run cosyvoice2-tts:0.5b "Hello with a reference voice" --voice /path/to/reference.wav

CosyVoice 2 is best used with a reference voice. Pass reference_audio and reference_text through the Vox API, or use a voice value that points to a local WAV file.

Metadata

Release files for vox-cosyvoice 0.1.10

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

Built distribution (wheel)

Table of built distributions (wheels) for vox-cosyvoice 0.1.10
File Interpreter ABI Platform Actions
vox_cosyvoice-0.1.10-py3-none-any.whl Python 3 none any Details for vox_cosyvoice-0.1.10-py3-none-any.whl

Release files / vox_cosyvoice-0.1.10-py3-none-any.whl

Download URL vox_cosyvoice-0.1.10-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc5596d4e24a6564d35e249c3739752401d94648221e9ee50d9a7b62a588bbcf
BLAKE2b-256 checksum
How to use checksums
df5ab5e2b19314c4ce57508d6a227674c327dc2b348e34f1f598faa77336708c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Security for vox-cosyvoice 0.1.10

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