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]"
# or directly
uv add vision-agents-plugins-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.4.7.tar.gz (3.5 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.4.7-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vision_agents_plugins_pocket-0.4.7.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.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}

File hashes

Hashes for vision_agents_plugins_pocket-0.4.7.tar.gz
Algorithm Hash digest
SHA256 0a9a8167b994a94488e9bf0e45cee67ddc53a5075e02d9332e9a558d8bc13906
MD5 0c88dc62f3ac580108b22995884c5d5b
BLAKE2b-256 ef7b74f1e2154ac75714788f282783c968952c3a1ef0d87d6ca50cd3c3c72243

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vision_agents_plugins_pocket-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.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}

File hashes

Hashes for vision_agents_plugins_pocket-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 470480d3e140ede9bb8cf1eb791fa54721923decc19c97dde22c3f31fce52aac
MD5 7c8a0bba2a8ddb1c2053f36d687e6bde
BLAKE2b-256 5b2044e69bc3575a4a7f0e532696d8b4cba49ddc9078551e9b6dd92bdeac2ea3

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