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

# Gemini

> TypeScript API reference for the gemini realtime models provider.

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

## GeminiRealtime

Create a Realtime instance configured for Google Gemini.

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

### Options

<ParamField path="model" type="string | null" default="gemini-3.1-flash-live-preview" />

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

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

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

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