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

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

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

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

### Fields

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

<ParamField path="languages" type="List[str] | None" default="None" />

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

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

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

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

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

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

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