Zero-shot voice tuner for Kokoro-82M
Generate a custom voicepack in under a second from a 5-30 second reference clip.
- stock-compatble
[510, 1, 256] - write-up of the development process
- captures about 1/3 of identity while maintaining high quality
- backend options, weights path: configuration.md
Usage
Integrated into remsky/Kokoro-FastAPI (v0.9.0+) with ENABLE_INNO_TUNER=true
or
PyTorch, with kokoro
pip install "inno-kokoro[torch]"
from inno_kokoro.enroll import Tuner, enroll, read
from kokoro import KPipeline
tuner = Tuner(backend="torch") # caches model from HF on first use
pack, _ = enroll(*read("my_ref.wav"), tuner, return_pt=True) # [510, 1, 256]
pipe = KPipeline(lang_code="a")
wav = next(pipe("Hello from a tuned voice.", voice=pack)).audio
ONNX (no torch), with kokoro-onnx
pip install inno-kokoro kokoro-onnx
from inno_kokoro.enroll import Tuner, enroll, read
from kokoro_onnx import Kokoro
tuner = Tuner(backend="onnx") # downloads model.safetensors + model.onnx on first use
pack, _ = enroll(*read("my_ref.wav"), tuner) # [510, 1, 256] float32 NumPy
kokoro = Kokoro("kokoro-v1.0.onnx", "voices-v1.0.bin") # from the kokoro-onnx releases
wav, sr = kokoro.create("Hello from a tuned voice.", voice=pack, lang="en-us")
Command line
inno-kokoro my_ref.wav am_me --backend torch # -> voices/am_me.pt + voices/am_me_test.wav
inno-kokoro my_ref.wav am_me --backend onnx # -> voices/am_me.npy, no test render
inno-kokoro my_ref.wav am_me packs/ --backend torch # write somewhere else
inno-kokoro my_ref.wav am_me --backend torch --fmax 300 # override the pitch ceiling (set automatically otherwise)
Pre-fetch the weights (Dockerfile layer, offline machine):
inno-kokoro --fetch /models --backend torch # -> /models/model.safetensors (onnx: + model.onnx)
English only; prefixes work like the stock packs: af_, am_, bf_, bm_
For best results, the reference audio should be:
- 3-second minimum, up to the first 30-seconds
- Single speaker (english).
- Reasonably clear of audio artifacts
Voice pack generation time:
- about 0.05 s per second of reference on CPU
- 0.1 to 0.5 s total on a GPU (after the model is loaded), 0.3 with
[praat]
Identity benchmarking
LibriSpeech test-clean, F5-TTS cross-sentence split: 1127 utterances, 39 held-out speakers.
Scored against the speaker's real recording. Normalized scores compare the render between sounding like a stranger (0) and a second sample of the same benchmark speaker (1).
RTF on an RTX 4060 Ti.
| system | SIM-o | normalized | UTMOS | RTF |
|---|---|---|---|---|
| ground truth (second recording) | 0.695 | 1.00 | 4.10 | |
| F5-TTS v1 base | 0.650 | 0.94 | 3.86 | 0.48 |
| StyleTTS2 (LibriTTS zero-shot) | 0.386 | 0.46 | 4.40 | 0.06 |
| Inno v0.2 | 0.288 | 0.32 | 4.45 | 0.07 |
| OpenVoice v2 | 0.227 | 0.23 | 3.80 | 0.12 |
| Kokoro, nearest stock pack | 0.167 | 0.15 | 4.25 | 0.06 |
UTMOS scoring stays high which reflects the priority placed on maintaining Kokoro's voice quality.
Inno can match about a third of the way to most identities, and avoids copying recording artifacts etc.
License and Attributions
Apache-2.0. The speaker encoder is CC BY-SA 3.0.
- Pitch tracker: Boersma (1993), "Accurate short-term analysis of the fundamental frequency and the harmonics-to-noise ratio of a sampled sound", Proc. Institute of Phonetic Sciences 17, reimplemented in NumPy. The prosody head was fitted on pitch measured with Praat (Boersma & Weenink). No Praat code is included in default install.
[praat]extra: praat-parselmouth, GPLv3.- Test fixtures: first 8 s of two LibriTTS-R utterances (Koizumi et al., 2023), CC BY 4.0.
Full model card available on HuggingFace: remsky/kokoro-inno-clone-tuner.
Only clone voices you have permission to clone, even the shallow cloning provided by this model and technique.
Metadata
Release files for inno-kokoro 0.4.0
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 |
|---|---|---|---|---|
| inno_kokoro-0.4.0.tar.gz | 31.1 kB | With provenance | Details for inno_kokoro-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inno_kokoro-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for inno_kokoro-0.4.0-py3-none-any.whl |
Total release size: 57.6 kB
Release files / inno_kokoro-0.4.0.tar.gz
| Download URL | inno_kokoro-0.4.0.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c6f4fc87c42bb656baf307aaa69f8de0f45965dd9afbc85d3650ee5711bda9c
|
|
BLAKE2b-256 checksum How to use checksums |
e5068985ace78227c43dba0ee7537a27670ac0f510bc309b12d8f2074e90845e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / inno_kokoro-0.4.0-py3-none-any.whl
| Download URL | inno_kokoro-0.4.0-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d6de42b6e7078a84506d98643217b61cb0986e6eb1a3f616c5dd6bc043dbf3e
|
|
BLAKE2b-256 checksum How to use checksums |
7b92be6c835943725d97847489469c5cb11f27983f06efac77a67341fb78a153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for inno-kokoro 0.4.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for inno_kokoro-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA 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.