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 desktop window showing a search for "how often is the lens cleaned" finding lighthouse-log.pdf via vinoSearch, reading it aloud with status in the player bar, and then selecting the Harbour safety meeting vinoWhisper session to read its summary.

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 aloud
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             # preview spoken text without loading the model
some-command | vinospeak --file -                  # plain text from stdin
vinospeak --file 2026-10-27-140512.vwsession       # read a vinoWhisper session 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 (inferred from the voice)
vinospeak --file notes.md --translate fr-fr                      # translate to French (requires --download-translation-model)
vinospeak "Hello." --voice "af_heart(2)+bm_george(1)"            # blend 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.1

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.1
File Size Uploaded Provenance Actions
vinospeak-1.0.1.tar.gz 107.9 kB Without provenance Details for vinospeak-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 174.9 kB

Release files / vinospeak-1.0.1.tar.gz

Download URL vinospeak-1.0.1.tar.gz
Size 107.9 kB
Tags Source
SHA-256 checksum
How to use checksums
708edc208af3cb4c66ec3c16f6d3938a8be6e022670e06421046efc44efbe488
BLAKE2b-256 checksum
How to use checksums
ccbd1049dbf0245c688b2a08f667907aeb08d2fca3362d7a81670fe901fc7e8c
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.1-py3-none-any.whl

Download URL vinospeak-1.0.1-py3-none-any.whl
Size 67.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0079ca9fe5bea9cf8eeaf09589a21c98b1cafb53f66b3adcbaadccfdd4c9db1
BLAKE2b-256 checksum
How to use checksums
197c1ffa2dd535d573af3e8d198f0ae7e7a5be08c0e3134471dc6e306b0e9d65
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.1

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