Skip to main content

The vinoSpeak mark: a white speaker with two green sound waves on the dark vino tile

vinoSpeak

PyPI Python License CI Ruff

Local text-to-speech on the Intel NPU using Kokoro-82M INT8 through OpenVINO GenAI. Pass text, a file, or stdin and vinoSpeak reads it aloud or saves audio. After a one-time ~160 MB model download, all synthesis runs locally with OpenVINO telemetry disabled.

  • Text, files, and stdin: Reads plain text, cleans up Markdown for listening, and supports PDFs, Word documents, and slides via vinoSearch's extracted text.
  • vinoWhisper sessions: Reads either the summary or the transcript of a vinoWhisper .vwsession file.
  • Low latency: Starts speaking in about 1.5 s on the NPU regardless of text length by playing the first sentence while synthesizing the rest.
  • 41 Kokoro voices: Covers US/UK English, Spanish, French, Hindi, Italian, and Brazilian Portuguese, with 0.5x–2.0x speed control and multi-voice blending.
  • Optional local translation: Uses SmolLM3-3B (the same 1.7 GB opt-in model used by vinoWhisper) to translate text into Spanish, French, Italian, Portuguese, or English as it reads.
  • SSML and custom pronunciations: Supports a subset of SSML (pauses, voice and speed changes, aliases) plus a TOML lexicon for custom word respellings.
  • Speakers or audio files: Plays through PipeWire, PulseAudio, or ALSA, or writes WAV, FLAC, OGG, Opus, or MP3 files with timed SRT or WebVTT subtitles.
  • Flexible hardware: Runs on Intel NPU, GPU, or CPU (CPU requires no extra driver).
  • Local OpenAI-compatible HTTP API: vinospeak --http serves /v1/audio/speech on localhost for Open WebUI, Home Assistant, or any OpenAI TTS client.
  • Desktop GUI and Python API: Includes a proof-of-concept desktop window integrated with vinoSearch, as well as a Python library API.

The vinoSpeak window. Typing "how often is the lens cleaned" finds lighthouse-log.pdf through vinoSearch; Read aloud starts speaking it and the status bar says so. Then a vinoWhisper session, Harbour safety meeting, is picked and its summary is read aloud.

Install

Install into your home directory without sudo:

curl -fsSL https://github.com/karanshukla/vinoSpeak/releases/latest/download/install.sh | bash
vinospeak "Hello."

Pass -s -- --gui after bash to install the desktop window as well. Use vinospeak-upgrade to update, or vinospeak-upgrade --uninstall to remove vinoSpeak along with the downloaded model.

You can also install with uv on Python 3.11–3.14:

uv tool install --python 3.14 vinospeak

See docs/install.md for source builds, the desktop window, Fedora Atomic and NixOS notes, and audio player packages.

Requirements

Requirement Details
Linux Python is managed by uv; espeak-ng and libsndfile are bundled in the wheels
Audio player pw-play, paplay, or aplay for speaker playback (not required when using --output)
Intel NPU (optional) Required for --device NPU along with the Intel NPU driver; --device CPU works without any accelerator driver
Disk space ~160 MB for the Kokoro model in ~/.cache/vinospeak/; an additional 1.7 GB in ~/.local/share/vinowhisper/models/ if you enable translation (shared with vinoWhisper)

Usage

vinospeak "Hello from vinoSpeak."                  # play it
vinospeak "Hello." --output hello.wav              # save a WAV (or .flac .ogg .opus .mp3)
vinospeak --file notes.md --output notes.mp3 --subtitles notes.srt
vinospeak --file notes.md                          # read a file aloud
vinospeak --file notes.md --print-text             # see what it would say, no model load
some-command | vinospeak --file -                  # plain text from stdin
vinospeak --file 2026-10-27-140512.vwsession       # a vinoWhisper summary
vinospeak '<speak>Wait.<break time="1s"/><voice name="bm_george">Done.</voice></speak>'
vinospeak "Hola." --voice ef_dora --speed 1.2 --device CPU    # Spanish: the voice's language
vinospeak --file notes.md --translate fr-fr                      # in French (after --download-translation-model)
vinospeak "Hello." --voice "af_heart(2)+bm_george(1)"            # a blend of two voices
Option Description
--voice, --speed Kokoro voice (default af_heart) or a blend like af_heart(2)+bm_george(1); speed from 0.5 to 2.0
--list-voices List all available voices with language and accent
--language Override the voice's default language
--output, --subtitles Save audio instead of playing (format chosen by file suffix); write sentence-timed .srt or .vtt subtitles
--device Inference device: NPU (default), GPU, or CPU
--audio-device Target sink from pactl list short sinks, or an ALSA device name
--kind Interpret --file as plain, markdown, or document
--translate, --download-translation-model Translate into es, fr-fr, it, pt-br, en-us, or en-gb before speaking; the translation model is only downloaded when requested
--lexicon Use a custom TOML pronunciation file instead of ~/.config/vinospeak/lexicon.toml
--part Choose summary or transcript when reading a vinoWhisper session
--http [HOST:]PORT Serve OpenAI's /v1/audio/speech API (default 127.0.0.1:8880)
--model-status, --delete-model Inspect or delete the cached Kokoro model
--model-dir Load an unverified local model directory

Run vinospeak --help for the full option list, or vinospeak-doctor to check your environment (--json for bug reports).

Python API

from vino_speak import Synthesizer

synth = Synthesizer("NPU")  # compiles once; reuse it
audio = synth.synthesize("Hello.")  # audio.samples (float32), audio.sample_rate

Documentation

Document Contents
docs/install.md Installation methods, desktop window setup, distro notes, and audio player packages
docs/usage.md File parsing, translation, SSML, lexicons, sessions, HTTP server, model management, doctor, and Python API
docs/architecture.md Module layout, design rationale, and performance measurements
gui/README.md Desktop window usage, controls, and headless testing
SECURITY.md Privacy model, HTTP server safeguards, and model hash verification
CONTRIBUTING.md Development setup, tests (uv run poe check, which requires no OpenVINO or NPU), and release process

Metadata

Release files for vinospeak 1.0.0

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

Source distribution (sdist)

Source distribution for vinospeak 1.0.0
File Size Uploaded Provenance Actions
vinospeak-1.0.0.tar.gz 106.8 kB Without provenance Details for vinospeak-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vinospeak 1.0.0
File Interpreter ABI Platform Actions
vinospeak-1.0.0-py3-none-any.whl Python 3 none any Details for vinospeak-1.0.0-py3-none-any.whl

Total release size: 173.4 kB

Release files / vinospeak-1.0.0.tar.gz

Download URL vinospeak-1.0.0.tar.gz
Size 106.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d875f9960a16102b8650e5aaa8530d8d8b824988e5471c341efc1ccad41eebac
BLAKE2b-256 checksum
How to use checksums
7922db323683c14e011c876ec8ec7393cbd730e7b5f33d6a448e50d20d498cb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vinospeak-1.0.0-py3-none-any.whl

Download URL vinospeak-1.0.0-py3-none-any.whl
Size 66.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd91b37a1b7f7597e61f436627b25f9efd7a23dcf932ac274cc7886696159373
BLAKE2b-256 checksum
How to use checksums
375439be2b4050a10b4a27453f80be6967e9110f875342d8678d22d9bda4eb33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for vinospeak 1.0.0

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