Generates a model response given an input GenerateContentRequest.
Documentation Index
Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The model name to use for generation.
gemini-3.1-pro-preview, gemini-3.1-flash-image-preview, gemini-3.1-flash-lite-preview, gemini-3-pro-preview, gemini-3-pro-image-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash The content of the current conversation with the model.
1[
{
"role": "user",
"parts": [{ "text": "Hello, Gemini!" }]
}
]Developer set system instruction.
Configuration options for model generation and outputs.
A list of tools the model may use to generate a response.
Tool configuration for any tools specified in the request.
A list of unique SafetySetting instances for blocking unsafe content.