/v1beta/models/{model}:generateContent for Gemini-compatible integrations.
Streaming
Call:streamGenerateContent instead of :generateContent to receive a
Gemini server-sent event stream of incremental candidates chunks.
Structured output
UsegenerationConfig.responseMimeType: "application/json" with
responseSchema for JSON output:
Parameters
SupportedgenerationConfig: temperature, topP, topK, maxOutputTokens,
stopSequences, responseMimeType, responseSchema, responseModalities
(include IMAGE for image output). Also top-level tools (functionDeclarations)
and systemInstruction.