Generates a streamed response from the model given an input GenerateContentRequest. Use query parameter alt=sse for server-sent events streaming.
API token from https://platform.acedata.cloud
The model to use for content generation.
gemini-2.5-flash, gemini-2.5-pro, gemini-2.5-flash-lite, gemini-3-flash-preview, gemini-3.1-pro, gemini-2.0-flash "gemini-2.5-flash"
Set to 'sse' for server-sent events streaming format.
sse The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries (chat), this is a repeated field that contains conversation history and the latest request.
Developer set system instruction.
Configuration options for model generation and outputs.
A list of Tools the model may use to generate the next response.
Tool configuration for the request.
Safety settings to block unsafe content.
The name of the cached content to use. Format: cachedContents/{cachedContent}