kokoro-sv — Swedish voices for Kokoro-82M
Twelve named Swedish voices with dynamic prosody — one line to speak. The model and the neural Swedish G2P download from HuggingFace on first use (cached). No training, no local data, no CUDA required.
Install
pip install kokoro-sv
Use
from kokoro_sv import SwedishKokoro
tts = SwedishKokoro() # downloads model + G2P from HF (first run)
tts.speak("Hej, jag är CandyTron!", voice="Stina", out="hej.wav")
print(tts.voices) # the 12 voice names
# blend two voices into an in-between one
tts.speak("God morgon!", voice=tts.blend("Björn", "Nils", 0.7), out="mix.wav")
# borrow any Kokoro voice for fun — Swedish words in a French accent 🇫🇷
tts.speak("Bonjour!", voice=tts.kokoro_voice("ff_siwis"), out="fr.wav")
# raw audio (24 kHz float32 numpy) instead of a file
audio = tts.synthesize("Ett, två, tre.", voice="Ebba")
CLI
kokoro-sv voices
kokoro-sv speak "Hej, hur mår du?" --voice Stina --out hej.wav
kokoro-sv blend "God morgon" --a Björn --b Nils --mix 0.7 --out mix.wav
Voices
Female: Alice · Elsa · Ebba · Stina · Greta · Klara
Male: Björn · Lars · Nils · Anton · Oskar · Viktor
Klara and Viktor each have their own fine-tuned model (livelier prosody), which downloads on first use (~330 MB each). Numbers are read out in Swedish ("CandyTron 4000" → "fyratusen").
Voices interpolate (blend) for intermediate identities and intensity. The male
voices are a touch soft on this v1 base (a gender-balanced v2 is planned).
Notes
- No GPU needed — falls back to CPU; Kokoro-82M is tiny, so it's fast.
- First run downloads ~330 MB (model + voices), cached afterward; Klara and Viktor add ~330 MB each the first time they speak.
- Python 3.10+.
- On macOS/x86
pip install kokoro-svpullskokoro/misakicleanly. (On aarch64 Linux,misaki/spacyhave no wheels — install with--no-depsand add deps manually.)
More
Training, the reproducible multi-speaker pipeline, evaluation, and the full story: https://github.com/joakimeriksson/kokoro-sv
Voices trained from CC0 data (NST + Swedish LibriVox); Klara and Viktor from Swedish speech synthesized with VoxCPM2. Built on Kokoro-82M (Apache-2.0), StyleTTS2, and kikiri-tts. Apache-2.0.
Metadata
Release files for kokoro-sv 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kokoro_sv-0.1.3.tar.gz | 15.3 kB | Without provenance | Details for kokoro_sv-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kokoro_sv-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for kokoro_sv-0.1.3-py3-none-any.whl |
Total release size: 33.6 kB
Release files / kokoro_sv-0.1.3.tar.gz
| Download URL | kokoro_sv-0.1.3.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61c311852535b8f68e72a37b3c59cf53cbc2ad2573a0110fdc88542ba567929a
|
|
BLAKE2b-256 checksum How to use checksums |
de64f997ce3a35e2fac47d05da1c4f8b5bc3df9ea43c71ae5e9890430efab04f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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}
|
Release files / kokoro_sv-0.1.3-py3-none-any.whl
| Download URL | kokoro_sv-0.1.3-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b65f077342e0af033b2e07c8d60d6bafd4d3a9ca2685b910947c7511eb51a3d
|
|
BLAKE2b-256 checksum How to use checksums |
0baf6c39ef593a133e37f046479d5d066353e8a8ae36a1be0830d1463be1f0a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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}
|
Security for kokoro-sv 0.1.3
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.