Skip to main content

Features

  • Chat-native, low-latency streaming — begin speaking before the full input is finalized.
  • 100 languages — single-digit WER/CER coverage. See Languages.
  • Instant voice cloning — zero-shot from a short reference clip and its transcript. See Voices.
  • Inline control tags — shape emotion, style, prosody, and sound effects with <|emotion:…|>, <|style:…|>, <|prosody:…|>, and <|sfx:…|>. See Tags.

Try it in the playground

The fastest way to hear the model is the playground. Pick a voice, paste text, and press play.

Generate speech with the API

Higgs TTS is in public preview. API usage is currently free and rate-limited while we improve reliability, latency, and model quality.
Set the API key in your shell for the current session:
A minimal request needs Authorization, model, and input. Everything else is optional.

Use a preset voice

Use voice to choose a preset speaker.
See Voices for more preset speakers and samples.

Use reference audio

Use ref_audio to clone a voice from a short reference clip. Passing the audio transcript through ref_text can often improve generated audio quality.
To clone from a local file, either encode local file as base64 string or send as `multipart/form-data. Below code shows the latter.
You must own the right to clone the voice.
See Voices for best practices and reusable custom voices.

Fine-grained control

Inline tags control emotion, style, prosody, and sound effects in the generated audio. Add them to input, and the model adjusts the surrounding speech. For example:
See Tags for the complete list and sample audio.

Streaming response

When stream: true, set response_format: "pcm".

API reference

Full request body:
See the API reference for field details and additional options.

Alternative ways to use the model

Beyond the hosted API, you can run the model yourself: