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

# Groq

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

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

## GroqTTS

Initialize the Groq TTS plugin.

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

### Options

<ParamField path="model" type="string" default="playai-tts" />

<ParamField path="voice" type="string" default="Fritz-PlayAI" />

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

<ParamField path="response_format" type="'flac' | 'mp3' | 'mulaw' | 'ogg' | 'wav'" default="wav" />

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