Gemini

Transparent proxy to the Google Gemini API. Your request is forwarded unmodified — the gateway only swaps your proxy key for the real Gemini API key. Use exactly the same request body you would send to generativelanguage.googleapis.com.

Authentication

AuthorizationBearer

Your proxy key (starts with sk-proxy-…). Create one in the dashboard at app.enterpriserouter.com.

Path parameters

modelstringRequired

Gemini model identifier (e.g. gemini-2.5-flash)

Request

This endpoint expects an object.
contentslist of objectsRequired
Conversation turns
generationConfigobjectOptional

Response

Gemini generateContent response (returned unmodified from Gemini)