Skip to main content
KiosAPI supports Gemini’s native Google API format — use it with the Google GenAI SDK or any client that already targets the Google AI API. You point your existing Google-format requests at KiosAPI’s base URL and authenticate with your KiosAPI key; no other changes to your code are required.
Use camelCase for all parameters (e.g. toolConfig ✅, tool_config ❌). Some parameters may not be recognised when passed in snake_case.

Request

POST https://kiosapi.com/v1beta/models/{model}:{action}

Path Parameters

string
required
The Gemini model to call (e.g. gemini-2.5-flash).
string
required
The action to perform. Use generateContent for a standard request, or streamGenerateContent?alt=sse for a streaming response.

Headers

You can authenticate with either the x-goog-api-key header or Authorization: Bearer. Both are accepted — use whichever your client already supports.

Request Body

array
required
Array of content objects representing the conversation turns.

Examples

Response

For the full parameter reference — including generationConfig, safetySettings, systemInstruction, and toolConfig — see the Gemini official documentation.