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

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

Create an STT instance configured for Cartesia (Ink) realtime STT.

```ts theme={null}
import { CartesiaSTT } from '@zeroruntime/js-sdk/inference';  // same fields, through the gateway, no vendor key
import { CartesiaSTT } from '@zeroruntime/js-sdk/plugins';  // direct to the vendor, with your key
```

### Options

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

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

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

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

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