Key Capabilities
- Native Gemini API — Uses Google’s native API format for full feature access
- Thinking mode — Supports thinking configuration for enhanced reasoning
- Multi-turn conversation — Complex conversations with system instructions
- Safety filtering — Configurable content safety filters
Quick Example
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | API key (query parameter) |
contents | array | Yes | Array of { role, parts } objects |
systemInstruction | object | No | System instruction with parts array |
generationConfig.temperature | float | No | 0–2, controls randomness, default 1 |
generationConfig.topP | float | No | Nucleus sampling threshold, default 1 |
generationConfig.thinkingConfig | object | No | Thinking mode configuration |
API Reference
View the interactive API Playground for Gemini 3.1 Pro Preview.

