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

# Google

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

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

## GoogleTTS

Create a TTS instance configured for Google Text-to-Speech.

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

### Options

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

<ParamField path="pitch" type="number" default="0" />

<ParamField path="response_format" type="'pcm'" default="pcm" />

<ParamField path="voice_config" type="Record<string, any> | null" default="null" />

<ParamField path="custom_pronunciations" type="Array<Record<string, any>> | Record<string, any> | null" default="null" />

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

<ParamField path="vertexai_config" type="Record<string, any> | null" default="null" />

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

<ParamField path="model" type="string | null" default="null" />

<ParamField path="prompt" type="string | null" default="null" />
