> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rime

> Python API reference for the rime text-to-speech provider.

<Card title="Usage guide" icon="book" href="/plugins/tts/rime" horizontal>
  Setup, environment variables, and Python/JavaScript/Go usage examples.
</Card>

## RimeTTS

Initialize the Rime TTS plugin.

Slot: tts. Route: plugins -- direct to the vendor, with RIME\_API\_KEY or an
explicit api\_key.

```python theme={null}
from zeroruntime.plugins import RimeTTS  # direct to the vendor, with your key
```

### Fields

<ParamField path="speaker" type="str" default="river" />

<ParamField path="model_id" type="str" default="mist" />

<ParamField path="lang" type="str" default="eng" />

<ParamField path="sampling_rate" type="int" default="24000" />

<ParamField path="speed_alpha" type="float" default="1.0" />

<ParamField path="reduce_latency" type="bool" default="True" />

<ParamField path="pause_between_brackets" type="bool" default="False" />

<ParamField path="phonemize_between_brackets" type="bool" default="False" />

<ParamField path="inline_speed_alpha" type="str | None" default="None" />

<ParamField path="temperature" type="Optional[float]" default="None" />

<ParamField path="top_p" type="Optional[float]" default="None" />

<ParamField path="repetition_penalty" type="Optional[float]" default="None" />

<ParamField path="max_tokens" type="Optional[int]" default="None" />
