Generate Gemini Content
Use Gemini-native content generation through AnyInt Gateway.
Send Gemini content parts directly to a selected model.
POST
/gemini/v1beta/models/{model}:generateContentPath Parameter
model identifies the Gemini model used for the request.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
contents | array | Yes | Gemini content objects containing text or multimodal parts. |
systemInstruction | object | No | System-level guidance for generation. |
generationConfig | object | No | Sampling and output controls. |
Streaming
Use :streamGenerateContent for an incremental response while preserving the Gemini protocol shape.