alphanumericuser/kokoro-82m 📝🔢❓ → 🖼️

▶️ 3.4M runs 📅 Feb 2025 ⚙️ Cog 0.13.7 🔗 GitHub ⚖️ License
multilingual text-to-speech

About

Kokoro v1.0 - text-to-speech (82M params, based on StyleTTS2)

Example Output

Output

Example output

Performance Metrics

18.00s Prediction Time
120.24s Total Time
All Input Parameters
{
  "text": "Kokoro is an open-weight TTS model with 82 million parameters. Despite its lightweight architecture, it delivers comparable quality to larger models while being significantly faster and more cost-efficient. With Apache-licensed weights, Kokoro can be deployed anywhere from production environments to personal projects.",
  "speed": 1,
  "voice": "af_heart",
  "language_code": "a"
}
Input Parameters
text Type: stringDefault: Hi! I'm Kokoro, a text-to-speech voice crafted by hexgrad — based on StyleTTS2.
Text to convert to speech
speed Type: numberDefault: 1Range: 0.1 - 5
Speed of speech
voice Default: af_heart
Voice to use for synthesis
language_code Default: a
Language of the text
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
/usr/local/lib/python3.10/site-packages/torch/nn/modules/rnn.py:123: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.2 and num_layers=1
warnings.warn(
/usr/local/lib/python3.10/site-packages/torch/nn/utils/weight_norm.py:143: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
WeightNorm.apply(module, name, dim)
Collecting en-core-web-sm==3.8.0
Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl (12.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.8/12.8 MB 58.5 MB/s eta 0:00:00
Installing collected packages: en-core-web-sm
Successfully installed en-core-web-sm-3.8.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[notice] A new release of pip is available: 23.0.1 -> 25.0
[notice] To update, run: pip install --upgrade pip
✔ Download and installation successful
You can now load the package via spacy.load('en_core_web_sm')
Version Details
Version ID
89b6fa84e4fa2dd6bd3a96be3e1f12827a3516c9fda8fddbac7a0be131c9a6f5
Version Created
February 8, 2025
Run on Replicate →