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

# Inworldai

> TypeScript API reference for the inworldai text-to-speech provider.

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

## InworldAITTS

Inworld AI Text-to-Speech plugin.

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

### Options

<ParamField path="model_id" type="string" default="inworld-tts-1" />

<ParamField path="voice_id" type="string" default="Hades" />

<ParamField path="temperature" type="number" default="0.8" />

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

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

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

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

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

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

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

<ParamField path="max_connection_age_sec" type="number" default="300" />
