Skip to content

Google Gemini API

Base URL

text
https://logox.top

After changing the Base URL, calls work the same way as the official Gemini API.

Query Available Models

Query available models with the token under its current group:

bash
curl https://logox.top/v1/models \
  -H "Authorization: Bearer sk-logox-your-key"

Routes

text
POST /v1beta/models/{model}:generateContent
GET  /v1/models

Request Example

bash
curl "https://logox.top/v1beta/models/gemini-2.5-pro:generateContent" \
  -H "Authorization: Bearer sk-logox-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "parts": [
          { "text": "Summarize the calling method" }
        ]
      }
    ]
  }'

Support QQ: 6669955