Gemini 3 Pro
Google's flagship multimodal reasoning model - 100% API compatible, just change baseURL
100% Google Gemini API Compatible
APIXO implements the standard Google Gemini API. Simply change the baseURL to https://api.apixo.ai and use your APIXO authkey. Works seamlessly with any Gemini-compatible SDK or tool - no code changes needed.
Gemini 3 Pro is Google's flagship multimodal reasoning model, supporting text, image, video, and audio inputs with advanced capabilities including long-context conversations, function calling, and structured outputs.
Quick Start
Direct API Call
JavaScript/TypeScript
Endpoints
APIXO uses the standard Google Gemini API endpoint format:
- Non-streaming:
POST /api/v1/google/models/{model}:generateContent - Streaming:
POST /api/v1/google/models/{model}:streamGenerateContent
Where {model} is the model name (e.g., gemini-3-pro, gemini-3-flash, etc.)
Third-Party SDK Integration
APIXO is fully compatible with Google's official SDKs. Just configure the base URL and API key:
Python (Google SDK)
Node.js (Google SDK)
LangChain
Request Format
Basic Request
With System Instruction
Multimodal Input (Image Analysis)
Parameters
contentsarraysystemInstructionobjectgenerationConfigobjectContent Structure
Each message in contents has:
role:"user","model", or"tool"parts: Array of content parts (text, images, videos, etc.)
Response Format
Non-streaming Response
Streaming Response
Streaming returns Server-Sent Events (SSE) with incremental chunks. Each chunk has the same structure, with the last chunk containing finishReason: "STOP".
Multi-turn Conversations
Include previous messages in the contents array to maintain conversation context:
thoughtSignature Handling
If a response contains a thoughtSignature field, you must include it verbatim in subsequent requests to maintain reasoning context.
Streaming
To enable streaming, use the streaming endpoint:
Advanced Features
APIXO supports all Google Gemini API advanced features:
- Function Calling (Tools): Enable models to call external functions
- Structured Output: Define JSON Schema for return format
- Thinking Mode: Enable reasoning traces
- Safety Settings: Configure content filtering
- Grounding: Connect to external knowledge sources
For detailed documentation on advanced features, see the Google Gemini API Official Documentation.
Token Limits
- Input tokens: Up to 1,000,000+ tokens (long context)
- Output tokens: Up to 8,192 tokens (configurable via
maxOutputTokens)
Migration Guide
From Google Cloud
Change two configuration values:
- Base URL:
https://generativelanguage.googleapis.com→https://api.apixo.ai - API Key: Google API key → APIXO authkey
Everything else remains identical.
From OpenAI
APIXO uses Google's API format which differs from OpenAI's. Key differences:
| Aspect | OpenAI | Google/APIXO |
|---|---|---|
| Endpoint | /v1/chat/completions | /api/v1/google/models/{model}:generateContent |
| Message format | messages: [{role, content}] | contents: [{role, parts: [{text}]}] |
| Model field | model: "gpt-4" | URL path: /models/gemini-3-pro:... |
Notes
- API Format: 100% Google Gemini API standard - no custom wrappers
- Authentication: Bearer token with APIXO authkey
- Base URL:
https://api.apixo.ai - SDKs: Works with official Google SDKs by configuring base URL