Generate Content
Google Gemini-compatible generateContent endpoint — the drop-in surface for SDKs calling models.generate_content(). The request body is the Gemini GenerateContentRequest shape (camelCase contents / systemInstruction / generationConfig); the response is candidates[].content.parts[] + usageMetadata. The {model} path segment accepts a bare Gemini id (e.g. gemini-2.5-flash, defaults to the Gemini-direct provider) or an Opper-canonical id (e.g. vertexai/gemini-2.5-flash).
Authorizations
API key authentication. Pass your API key as a Bearer token.
Headers
Function name for tracing and project-level guardrail function-scope filtering.
Parent span ID for distributed tracing context.
Path Parameters
Model id — a bare Gemini name (e.g. gemini-2.5-flash, resolved against the Gemini-direct provider) or an Opper-canonical id (e.g. vertexai/gemini-2.5-flash).
Body
Any value
Any value