Model reference · open weights

styletts2

Available as managed deployment Audio hexgrad Text→speech 1 variants 0 dl/mo

styletts2 is an open-weight audio or speech model from hexgrad. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Makerhexgrad
TypeAudio & music
TaskText→speech
Based onyl4579/StyleTTS2-LibriTTS
Released2024-05-08
Popularity0 downloads / month
LicenceOpen weights

About

What styletts2 is

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.

From the published model card. Full card on the HuggingFace links in the sidebar.

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.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys styletts2 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (styletts2 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -F model="styletts2" -F file=@audio.mp3

Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms