# Interface GeminiParams

The parameters for creating a Gemini instance.

interface GeminiParams {
apiKey?: string;
headers?: Record<string, string>;
location?: string;
model?: string;
project?: string;
vertexai?: boolean;
}

#### Hierarchy (View Summary)

- GeminiParams
  - ApigeeLlmParams

- Defined in models/google_llm.ts:31

## Properties

### `Optional` apiKey

apiKey?: string

The API key to use for the Gemini API. If not provided, it will look for the GOOGLE_GENAI_API_KEY or GEMINI_API_KEY environment variable.

- Defined in models/google_llm.ts:40

### `Optional` headers

headers?: Record<string, string>

Headers to merge with internally crafted headers.

- Defined in models/google_llm.ts:57

### `Optional` location

location?: string

The Vertex AI location. Required if `vertexai` is true.

- Defined in models/google_llm.ts:53

### `Optional` model

model?: string

The name of the model to use. Defaults to 'gemini-2.5-flash'.

- Defined in models/google_llm.ts:35

### `Optional` project

project?: string

The Vertex AI project ID. Required if `vertexai` is true.

- Defined in models/google_llm.ts:49

### `Optional` vertexai

vertexai?: boolean

Whether to use Vertex AI. If true, `project`, `location` should be provided.

- Defined in models/google_llm.ts:45