Streaming version of the Gemini generateContent endpoint. Returns Server-Sent Events.Documentation Index
Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Model name (e.g.,
gemini-2.5-pro, gemini-2.5-flash).Query Parameters
API key (alternative to header authentication).
Request Body
Same as Generate Content. This includes multimodalparts arrays with structured inline_data image parts for vision requests.
For streaming requests, omit generationConfig.candidateCount or keep it at 1; requests with a larger value are rejected instead of silently dropping extra candidates.