$npx skillfedfor your agent

pocket-tts

Kyutai's pocket-sized text-to-speech!

With conditionsPyPI Artificial IntelligenceReleased May 202676.3K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pocket_tts-2.1.0-py3-none-any.whl
v2.1.0 · released 2026-05-04 · Python <3.15,>=3.10 · 15 runtime deps: beartype, einops, fastapi, huggingface-hub, numpy, pydantic, python-multipart, requests

Yes, if you need CPU-based TTS without GPU overhead and can accept unclear licensing. The package is actively maintained, installs easily, has no known vulnerabilities, and offers a practical balance of quality and speed. Verify the license terms before production use, and test performance on your target hardware. The 15 runtime dependencies are substantial but standard for ML workloads.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires PyTorch 2.5+; Python 3.10–3.14 only.
  • Model and voice state loading are slow operations; keep them in memory for repeated use.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

(unclear) — License treatment is unclear; no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or copyleft-sensitive projects.

last release 2026-05-04 (102 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,294 downloads/mo, #14,639 on PyPI

Verify before relying

pip install pocket-tts

from pocket_tts import TTSModel
import scipy.io.wavfile

tts_model = TTSModel.load_model()
voice_state = tts_model.get_state_for_audio_prompt("alba")
audio = tts_model.generate_audio(voice_state, "Hello world")
scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy())
  • Actual license terms and attribution requirements for the model and voice samples
  • Whether voice cloning respects speaker consent and licensing of source audio
  • Performance characteristics on systems other than MacBook Air M4
  • Stability and API compatibility across minor versions
Same gist for agents: .md · .json

What it is and what it does

Pocket TTS is a CPU-based text-to-speech engine built on a 100M-parameter model that generates natural speech without requiring GPU hardware or external APIs. It runs on Python 3.10–3.14 with PyTorch 2.5+ and provides both a command-line interface and a Python library for integration into applications. The model supports six languages (English, French, German, Portuguese, Italian, Spanish) and includes voice cloning from audio samples, streaming output, and a local HTTP server for batch or interactive use.

The package depends on a substantial ML stack—torch, numpy, scipy, einops, safetensors, huggingface-hub—plus FastAPI and Uvicorn for the server mode. It achieves low-latency streaming (first chunk in ~200ms) and runs faster than real-time on modest CPU hardware. The library is designed for straightforward integration: load the model once, create voice states for each speaker, then generate audio in a single function call. Voice cloning requires preprocessing audio files into safetensors embeddings for fast inference.

Use it for

  • Generate speech from user input in a web or desktop application without deploying a GPU server or calling a cloud API.
  • Clone a speaker's voice from a sample audio file and synthesize new utterances in that voice for accessibility or personalization.
  • Build a local TTS microservice with the `serve` command to batch-process text-to-speech requests over HTTP.
  • Integrate multilingual speech synthesis into a Python script or Jupyter notebook for data annotation, testing, or prototyping.
  • Stream audio output in real time to reduce latency when generating long or interactive speech content.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need CPU-based TTS without GPU overhead and can accept unclear licensing.

The package is actively maintained, installs easily, has no known vulnerabilities, and offers a practical balance of quality and speed. Verify the license terms before production use, and test performance on your target hardware. The 15 runtime dependencies are substantial but standard for ML workloads.

Install

pocket-tts on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance as of 102 days since last release. Requires PyTorch 2.5+ and Python 3.10–3.14, but does not mandate GPU PyTorch.

Requires PyTorch 2.5+; Python 3.10–3.14 only. Model and voice state loading are slow operations; keep them in memory for repeated use.

License in practice

License treatment is unclear; no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or copyleft-sensitive projects.

Quickstart

pip install pocket-tts

from pocket_tts import TTSModel
import scipy.io.wavfile

tts_model = TTSModel.load_model()
voice_state = tts_model.get_state_for_audio_prompt("alba")
audio = tts_model.generate_audio(voice_state, "Hello world")
scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy())

Verify before relying

  • Actual license terms and attribution requirements for the model and voice samples
  • Whether voice cloning respects speaker consent and licensing of source audio
  • Performance characteristics on systems other than MacBook Air M4
  • Stability and API compatibility across minor versions

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
15 packages
beartypeeinopsfastapihuggingface-hubnumpypydanticpython-multipartrequestssafetensorsscipysentencepiecetorchtypertyping-extensionsuvicorn
MaintenanceActively maintained 102 days since the last release
First released
Downloads76,294 / month, #14,639 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pocket_tts-2.1.0-py3-none-any.whl

Tags

Capabilities
text to speech cputts without gpuvoice synthesis pythonlightweight speech generationvoice cloning ttsmulti-language text to speechoffline tts model
Topics
text-to-speechvoice-synthesiscpu-inference

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “text to speech cpu”

  • pocket-ttsPocket TTS generates speech from text on CPU using a lightweight…
  • faster-whisperTranscribes audio to text using OpenAI's Whisper model, reimplemented…
  • sileroSilero provides pre-trained text-to-speech models that convert text…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also TTS · pyttsx3 · piper-tts · kokoro-onnx · chatterbox-tts · voxcpm · gTTS · omnivoice · qwen-tts · edge-tts