Skip to main content

CosyVoice 2 TTS adapter for Vox

Project description

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.

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-torch:0.5b
vox run cosyvoice2-tts-torch:0.5b "Hello from CosyVoice 2"

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.

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

vox_cosyvoice-0.1.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

vox_cosyvoice-0.1.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vox_cosyvoice-0.1.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for vox_cosyvoice-0.1.2.tar.gz
Algorithm Hash digest
SHA256 49e7e2e66d45e01cd4b5b72ca89c4ae0be89e9ac6407840405243f2e65b363b5
MD5 aeb14882207a43f4888e7f9c87c4bca0
BLAKE2b-256 c8f5f65ab5b046500ada2c5dc7fc5024c1b5ab8e92fa474c017c9ee0d4fb74fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vox_cosyvoice-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for vox_cosyvoice-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 535d6702bb2f8a7d309d2e92c2ad3a148dd523dfefd62d5d34a53a6e73f8f55b
MD5 ba7e1cd708fb3c7dbbab1458cae82cba
BLAKE2b-256 8fdc658489891402eaa9c28a79cd1f89319e7339aa01d2ea5f1bf152680dc8ee

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