Gemini-compatible content generation (drop-in)
Use when: caller has an existing Google Gemini SDK generateContent flow and wants to route through Verlon with zero code changes via a baseUrl swap
Drop-in replacement for POST https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent. Accepts the upstream Gemini request body verbatim and returns the upstream Gemini response body verbatim. Authenticate with x-goog-api-key (or ?key=) carrying a Verlon API key. Errors are returned in the Google envelope ({ error: { code, message, status } }) so the @google/genai error parser handles them transparently.
Authorizations
Verlon API key (newly minted keys are prefixed sk-vrln-; legacy verlon_* and layer_* keys from prior prefix migrations continue to validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI.
Path Parameters
The model to generate with — a Gemini model id (gemini-2.5-pro), a Verlon gate id, or <gate-id>/<task> to pin a task on an agent gate.
Response
Gemini-format GenerateContentResponse. Shape matches the underlying provider format selected by the gate.

