Models
Speech endpoint (POST)
Need a model that listens and responds across turns? Use Higgs Realtime. Higgs TTS renders speech from text; it does not manage a conversation.
Models
Both models share the same endpoints, request fields, and price. Setmodel to choose one.
The features below describe Higgs TTS 3.1. Pages mark where Higgs TTS 3 differs.
Features
- Chat-native, low-latency streaming — hear audio within moments of sending text, either by streaming speech from a request or by sending text over a WebSocket as your LLM generates it. See Streaming.
- 197 languages — 101 of them benchmarked with a WER/CER under 5. 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. - Pronunciation dictionary — set how brand names, people’s names, and acronyms are spoken. See Pronunciation dictionary.
- Timestamps — get the time each token is spoken, mapped back to your input, with the audio or as it streams. See Timestamps.
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
You need a Boson API key stored inBOSON_API_KEY, and available credit — new accounts must claim their free trial credit before their first API call. Set the key in your shell for the current session:
Authorization, model, and input. Everything else is optional.
Use a preset voice
Usevoice to choose a preset speaker.
Use reference audio
Useref_audio to clone a voice from a short reference clip. Passing the audio transcript through ref_text can often improve generated audio quality.
Fine-grained control
Inline tags control emotion, style, prosody, and sound effects in the generated audio. Add them toinput, and the model adjusts the surrounding speech. For example:
Text normalization
Normalization rewrites the input so the model speaks it the way a person would read it aloud, expanding numbers, dates, times, currency, units, URLs, email addresses, phone numbers, abbreviations, and symbols into spoken form. It is on by default and leaves inline tags and ordinary prose untouched. Setnormalize: false to synthesize the text exactly as written.
language is not set, normalization infers the language from the text. If you know the language, set language to its ISO 639-3 code, such as eng or cmn, for the most reliable results.
Pronunciation dictionary
Usepronunciation_dictionary to set how specific words are spoken, such as brand names, people’s names, and acronyms. Each entry pairs a text to find in the input with the pronunciation to speak in its place. The pronunciation is spoken exactly as written: text normalization never rewrites it, and the dictionary works with normalize on or off.
Zyfera is replaced in any capitalization, and SQL only when written in capitals.
How a text matches:
- Case: capitalization is ignored unless the entry sets
case_sensitive: true. Whitespace intextmatches any run of whitespace in the input. - Whole words: in scripts written with spaces, a match can’t sit next to a letter, a digit, or
_.acmematches inacme'sandacme-branded, but not inacmes,2acme, oracme_corp. - Scripts without spaces: in Chinese, Japanese, Korean, Thai, and similar scripts, a match can sit next to other characters, so
서울matches in서울에서. Traditional and Simplified Chinese characters match each other. - Several matches: the earliest match wins, and the longest one where two start at the same place. A pronunciation is never matched again, and nothing matches inside a control tag.
- At most 1,000 entries.
textandpronunciationare each 1 to 64 characters, with no leading or trailing whitespace and no control characters.pronunciationholds only letters (accented letters included), spaces, apostrophes, hyphens, and middle dots, with at least one letter. Write numbers and symbols out as words.textcan’t contain control tags.- Two entries can’t match the same text, such as
Acmeandacmeunless both are case-sensitive.
invalid_field_value, with a message that names the entry, such as pronunciation_dictionary[3].pronunciation must contain a letter.
Billing counts the text you send, not the pronunciations. With timestamps, a match is one entry on your text. In a form body (multipart/form-data or URL-encoded), send the dictionary as a JSON string. On the speech WebSocket, set it in start.request, and it applies to the whole session.
API reference
Full request body:Alternative ways to use the model
Beyond the hosted API, you can run the model yourself:- Hugging Face — open model weights at bosonai/higgs-tts-v3-4b.
- SGLang — serve the model locally for high-throughput inference. See the Higgs TTS cookbook.