Skip to main content

Pocket TTS integration for Vision Agents - lightweight CPU-based text-to-speech

Project description

Pocket TTS Plugin

A lightweight Text-to-Speech (TTS) plugin for Vision Agents powered by Kyutai's Pocket TTS model. Runs efficiently on CPU with low latency (~200ms) and supports voice cloning.

Features

  • Runs on CPU - no GPU required
  • Small model size (100M parameters)
  • Low latency (~200ms to first audio)
  • Voice cloning support
  • Built-in voice selection

Installation

uv add vision-agents[pocket]

Usage

from vision_agents.plugins import pocket

# Create TTS with default voice
tts = pocket.TTS()

# Or specify a built-in voice
tts = pocket.TTS(voice="marius")

# Or use a custom voice for cloning
tts = pocket.TTS(voice="path/to/your/voice.wav")

Configuration

Parameter Description Values
voice Built-in voice name or path to custom wav file "alba" (default), "marius", "javert", "jean", "fantine", "cosette", "eponine", "azelma", or custom path

Built-in Voices

  • alba - Default voice
  • marius
  • javert
  • jean
  • fantine
  • cosette
  • eponine
  • azelma

Dependencies

  • pocket-tts>=0.1.0
  • PyTorch 2.5+

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

vision_agents_plugins_pocket-0.3.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

vision_agents_plugins_pocket-0.3.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file vision_agents_plugins_pocket-0.3.1.tar.gz.

File metadata

File hashes

Hashes for vision_agents_plugins_pocket-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1038c89251dd3efc6bd8e39eee2d45d4f96d7245fef6e8ea652b136fdcd25dfd
MD5 fdbd17e4d34a22325cbac6ffec5a8a1e
BLAKE2b-256 1925efacbc80367548e86db77cf5e29c1c89de96626033849d8b6da1876c6f4a

See more details on using hashes here.

File details

Details for the file vision_agents_plugins_pocket-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vision_agents_plugins_pocket-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f758ba8a5da3d86a22602f3c32fa6c3737f696fdd367f58250292216c0c61ec
MD5 507ba426faef4eefabf90d98c02203c8
BLAKE2b-256 555810287a9d0612591abdcc17f4363309f2f1dda53a6cb4a262eddf05a0be95

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