Google Quota Balance & Rotation
Live status of your connected Google accounts. The proxy routes requests to the account with maximum quota.
Personal API Keys
Issue custom API keys for HCONS, Bitrix, bots and workflows. Keys can be revoked anytime.
| Name / Client | API Key | Status | Total Requests | Tokens Used | Last Used | Actions |
|---|
Live Request Logs
Audit history of recent generations with routing targets, latency and token metrics.
| Time | Client Key | Model | Routed Account | Latency | Tokens (In/Out) | Status | Prompt Preview |
|---|
Prompt Playground
Test generation directly through the multi-account proxy and inspect latency and account routing.
// Output will appear here
Google Gemini API Compatibility Guide
Universal drop-in proxy powered by Gemini 3.8 Flash with multi-account routing.
Base Endpoint
POST https://ai.diox.dev/v1beta/models/{model}:generateContent
Supported model endpoints: gemini-3.8-flash (default), gemini-3.8-flash-high, gemini-3.8-flash-medium, gemini-3.8-flash-low.
Authentication
Pass your issued API key either in the request header or query parameter:
- Header:
x-goog-api-key: aix-live-... - Query parameter:
?key=aix-live-... - Standard Bearer:
Authorization: Bearer aix-live-...
cURL Example
curl -X POST "https://ai.diox.dev/v1beta/models/gemini-3.8-flash:generateContent" \
-H "Content-Type: application/json" \
-H "x-goog-api-key: YOUR_PROXY_API_KEY" \
-d '{
"contents": [{"role": "user", "parts": [{"text": "Format input into structured JSON"}]}],
"generationConfig": {"responseMimeType": "application/json"}
}'
PHP Integration (HttpClient / cURL)
$url = 'https://ai.diox.dev/v1beta/models/gemini-3.8-flash:generateContent';
$client = new HttpClient(['socketTimeout' => 90]);
$client->setHeader('Content-Type', 'application/json');
$client->setHeader('x-goog-api-key', $myProxyApiKey);
$body = $client->post($url, json_encode($payload));
$response = json_decode((string)$body, true);
$rawText = $response['candidates'][0]['content']['parts'][0]['text'];
Python Integration (httpx / requests)
import httpx
url = "https://ai.diox.dev/v1beta/models/gemini-3.8-flash:generateContent"
headers = {"x-goog-api-key": PROXY_API_KEY}
async with httpx.AsyncClient(timeout=90) as client:
response = await client.post(url, json=payload, headers=headers)
text = response.json()["candidates"][0]["content"]["parts"][0]["text"]