Skip to main content

Gemini Native API

Our Chat service also supports the native Google Gemini API format, allowing you to use the official Google GenAI libraries directly.
This API is designed for developers who prefer using Google’s native SDK instead of the OpenAI-compatible format.

🌟 Key Features

  • ✅ Use the official Google GenAI SDK directly
  • ✅ Full compatibility with Gemini API format
  • ✅ Support for streaming and non-streaming responses
  • ✅ Access to Gemini models through our service

📋 Available Endpoints


💡 Quick Examples

Streaming:
Install:

📤 Response Format

Non-streaming Response

Streaming Response (SSE)


🔧 Configuration Options

The config / generationConfig object supports:

With System Instruction


📝 Multi-turn Conversation


For OpenAI-compatible API, see Chat Completions.