Downloads · 30 days
9
4% of all-time downloads
luis-castillo/Kokoro-82M-OpenVINO-FP16-OVMS
Kokoro-82M-OpenVINO-FP16-OVMS is a text-to-speech model from luis-castillo. Use it when you need text read aloud. It is set up for openvino. The card lists the license as apache-2.0.
OpenVINO IR (FP16) conversion of hexgrad/Kokoro-82M, packaged so you can pull it straight into OpenVINO Model Server (OVMS) and serve text-to-speech over the OpenAI-compatible /v3/audio/speech endpoint. Includes the r…
Downloads · 30 days
9
4% of all-time downloads
All-time downloads
247
Public
Repo size
218 MB
Likes
1
Public
Click a slice to open those files.
.bin218 MB · 93%
From the Hugging Face model README
OpenVINO IR (FP16) conversion of hexgrad/Kokoro-82M,
packaged so you can pull it straight into OpenVINO Model Server (OVMS) and serve text-to-speech over the OpenAI-compatible /v3/audio/speech endpoint. Includes the ready-made MediaPipe graph.pbtxt, all 54 speaker embeddings, and the misaki G2P lexicon data.
This is a redistribution of an Apache-2.0 model. All credit for the model goes to the Kokoro authors (hexgrad/Kokoro-82M). Change made: exported to OpenVINO IR (FP16) via optimum-intel and wrapped with an OVMS T2S graph.
Kokoro TTS support landed in openvino.genai after the 2026.1/2026.2 releases. As of this writing it ships only in OVMS pre-release images:
openvino/model_server:weekly (2026.3.0+, built with --//:espeak=on) — worksopenvino/model_server:latest / 2026.2.1 / 2026.1 — SpeechT5-only, will fail with Unsupported text to speech generation pipelineespeak-ng (used as the primary G2P for non-English languages) is bundled in the weekly image. Check stable releases for Kokoro support before using a :latest tag.
huggingface-cli download <THIS_REPO> --local-dir ./models/Kokoro-82M
config.json{
"model_config_list": [
{ "config": { "name": "Kokoro-82M", "base_path": "/models/Kokoro-82M" } }
]
}
docker run --rm -p 8000:8000 \
-v $(pwd)/models:/models \
openvino/model_server:weekly \
--config_path /models/config.json --rest_port 8000
GPU: pass --device /dev/dri --group-add $(getent group render | cut -d: -f3) and edit target_device: "CPU" → "GPU" in graph.pbtxt. (The bundled graph defaults to CPU for portability; the main acoustic model honors GPU.)
curl http://localhost:8000/v3/audio/speech \
-H "Content-Type: application/json" \
-d '{"model":"Kokoro-82M","voice":"af_heart","language":"en-us","input":"Hello from OpenVINO Model Server."}' \
-o out.wav
language field is required for non-English — and is NOT inferred from the voiceThe OVMS T2S endpoint defaults language to en-us. The voice name prefix (e.g. ef_) does not select the language. If you send Spanish text without "language":"es", it is phonemized in English → it sounds like English-accented Spanish ("spanglish"). Always set language explicitly:
# Spanish
curl http://localhost:8000/v3/audio/speech -H "Content-Type: application/json" \
-d '{"model":"Kokoro-82M","voice":"ef_dora","language":"es","input":"Hola, esto es una prueba de voz."}' -o es.wav
Supported language values: en-us, en-gb, es, fr-fr, it, pt-br, hi (aliases: a, b, e, f, i, p, h). Non-English uses espeak-ng for G2P.
Other request fields: voice (see below), speed (float, default 1.0).
| Lang | language | Voices |
|---|---|---|
| American English | en-us | af_heart, af_bella, af_nova, af_sarah, af_sky, af_alloy, af_aoede, af_jessica, af_kore, af_nicole, af_river, am_adam, am_michael, am_echo, am_eric, am_fenrir, am_liam, am_onyx, am_puck, am_santa |
| British English | en-gb | bf_alice, bf_emma, bf_isabella, bf_lily, bm_daniel, bm_fable, bm_george, bm_lewis |
| Spanish | es | ef_dora, em_alex, em_santa |
| French | fr-fr | ff_siwis |
| Italian | it | if_sara, im_nicola |
| Brazilian Portuguese | pt-br | pf_dora, pm_alex, pm_santa |
| Hindi | hi | hf_alpha, hf_beta, hm_omega, hm_psi |
es); es-419 is not currently a selectable variant in the genai pipeline.optimum-cli export openvino \
--model hexgrad/Kokoro-82M \
--task text-to-audio \
--weight-format fp16 \
--trust-remote-code \
Kokoro-82M
(optimum-intel registers Kokoro under library_name=kokoro / task=text-to-audio and also writes each speaker embedding to voices/<name>.bin.) The graph.pbtxt here is the OVMS T2S MediaPipe graph referencing those voices.
Apache-2.0, inherited from the base model hexgrad/Kokoro-82M. See that repository for the full model details and authorship.