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

# Gladia

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

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

## GladiaSTT

Initialize the Gladia STT plugin with WebSocket support.

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

### Options

<ParamField path="model" type="string" default="solaria-1" />

<ParamField path="languages" type="string[] | null" default="null" />

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

<ParamField path="input_sample_rate" type="number" default="48000" />

<ParamField path="output_sample_rate" type="number" default="16000" />

<ParamField path="encoding" type="string" default="wav/pcm" />

<ParamField path="bit_depth" type="number" default="16" />

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

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