Gemini

Call Gemini's native generateContent through the router, with your key in a header.

shell
# One turn through Gemini's native endpoint.curl https://api.blastrouter.com/v1beta/models/gemini-3.5-flash:generateContent \  -H "x-goog-api-key: rl-…" \  -H "content-type: application/json" \  -d '{"contents":[{"parts":[{"text":"hi"}]}]}'

Swap :generateContent for :streamGenerateContent to stream.

Send the key as a header only, never ?key=. The router does not read a query-string key, so the request would be refused — and anything in a query string is relayed to the upstream as-is and logged by every proxy on the path.

Base URLhttps://api.blastrouter.com