Google Gemini GenerateContent
/v1beta/models/{model}:generateContentSend a native Gemini request and receive a Gemini-compatible response. Use streamGenerateContent for streaming.
Path parameters
Bare Google model name, such as gemini-3.5-flash. SandBase resolves it as google/{model}.
Request body
Gemini conversation contents made of role and parts.
Text system instruction in Gemini Content form.
Sampling, output length, structured output, and thinking settings.
Function declarations or supported Gemini built-in tool configuration.
Gemini function-calling policy.
Gemini safety categories and thresholds.
Gemini cached-content resource passed through when supported.