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

# Cartesia

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

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

## CartesiaSTT

Initialize the Cartesia STT plugin

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

```python theme={null}
from zeroruntime.plugins import CartesiaSTT  # direct to the vendor, with your key
from zeroruntime.inference import CartesiaSTT  # same fields, through the gateway, no vendor key
```

### Fields

<ParamField path="model" type="str" default="ink-whisper" />

<ParamField path="language" type="str" default="en" />

<ParamField path="input_sample_rate" type="int | None" default="None" />

<ParamField path="output_sample_rate" type="int | None" default="None" />

<ParamField path="base_url" type="str" default="wss://api.cartesia.ai/stt/websocket" />
