Model reference · open weights

styletts2

Audio hexgrad Text→speech 1 build Open weights 0 dl/mo

styletts2 is an open-weight audio or speech model from hexgrad.

  • StyleTTS2 is a text-to-speech model by hexgrad that generates English speech.
  • It is an ONNX conversion of the StyleTTS2-LibriTTS model, designed for CPU inference and chunked into four parts for lazy loading.
  • The model is released under the MIT license.

Summary of the hexgrad/styletts2 model card, 2026-10-01

What it is

Released byhexgrad
Released2024-05-08

From the model card

What hexgrad says about styletts2

Read the model card

This repository is a fossil.

This model is a direct ONNX conversion of yl4579/StyleTTS2-LibriTTS without modification to its weights and therefore inherits the original license. It currently powers a WebUI that performs TTS inference on CPU. To facilitate lazy loading, it is chunked into four parts.

The original PyTorch checkpoint, trained on a subset of LibriTTS by the authors of StyleTTS 2, can be considered a "base model", and it has some limitations. That base model should not be confused with Kokoro, a StyleTTS 2 variant using a different decoder architecture, which is currently only being hosted at https://hf.co/spaces/hexgrad/Kokoro-TTS.

This repository will likely remain dormant and undocumented. You are welcome to use these ONNX models subject to the original license, but be advised that in most cases PyTorch is likely the more suitable option. The ONNX conversion was not performance optimized and was intended for CPU usage. Informal benchmarking shows that this ONNX descendant is substantially outpaced by its PyTorch ancestor in GPU environments.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms