> ## 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

> TypeScript 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.

```ts theme={null}
import { RimeTTS } from '@zeroruntime/js-sdk/plugins';  // direct to the vendor, with your key
```

### Options

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

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

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

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

<ParamField path="speed_alpha" type="number" default="1" />

<ParamField path="reduce_latency" type="boolean" default="true" />

<ParamField path="pause_between_brackets" type="boolean" default="false" />

<ParamField path="phonemize_between_brackets" type="boolean" default="false" />

<ParamField path="inline_speed_alpha" type="string | null" default="null" />

<ParamField path="temperature" type="number | null" default="null" />

<ParamField path="top_p" type="number | null" default="null" />

<ParamField path="repetition_penalty" type="number | null" default="null" />

<ParamField path="max_tokens" type="number | null" default="null" />
