text | str | required | Text to synthesize. Supports <break time="..."/> and <spell> tags. |
model_id | str | "kugel-3" | TTS model. See Models. |
voice_id | int | None | None in the SDK signature | Voice to use. Required for successful synthesis; omission fails with MISSING_VOICE_ID. |
cfg_scale | float | 2.0 | Classifier-free guidance scale (1.2–2.5; values outside are clamped). Higher tracks the reference voice more tightly. |
temperature | float | None | None | Sampling variance in [0.0, 1.0]. None leaves the value unset so the server chooses its default. 0.0 is most stable (near-greedy); lower values give more consistent reads across regenerations. |
max_new_tokens | int | 2048 | Maximum tokens to generate. |
sample_rate | int | 24000 | Output sample rate in Hz. |
output_format | str | None | None | Combined codec + rate token. Supported native tokens: pcm_8000, pcm_16000, pcm_22050, pcm_24000, ulaw_8000, alaw_8000. When set it must not contradict sample_rate. |
normalize | bool | True | Enable text normalization (numbers, dates, etc. → spoken words). |
language | str | None | None | ISO 639-1 code for normalization. Always set when known to skip language auto-detection — see Latency. |
word_timestamps | bool | False | Request per-word time alignments. |
speed | float | 1.0 | Playback speed multiplier (0.8 = slower, 1.2 = faster). Uses pitch-preserving WSOLA time-stretching; <prosody rate="..."> spans in the text override it per span — see Speed. |
dictionary_ids | list[int] | None | None | Serialized dictionary selection. The API requires project_id with a non-empty list, but this SDK request does not expose project_id; None and [] therefore load no dictionary, while a non-empty list is rejected. Use the raw API or JavaScript one-shot client for dictionary-backed synthesis. |