Generate Gemini content
Gemini image generation
POST
/v1beta/models/{model}:generateContent
Service root: https://getrouter.ai
Protocol: Gemini-compatible
Authentication: x-goog-api-key: YOUR_API_KEY
Parameters
Request body
The request body is optional. Media type: application/json
Request fields
Example request
Responses
Success response fields
Example response
Related guide
For complete workflows and examples, read the Gemini API API Guide.
This page is generated from the public Relay OpenAPI specification. Browse the complete specification in the API Explorer.
