Gemini
Stream content with the Google Gemini protocol
Returns a streamed JSON array by default. Add alt=sse to receive Server-Sent Events instead.
post/v1beta/models/{model}:streamGenerateContent
Request
- Base URL: https://api.sandbase.ai
- URL: https://api.sandbase.ai/v1beta/models/{model}:streamGenerateContent
- Auth: one of:
- API key in header x-goog-api-key
- HTTP bearer
- API key in query parameter key
Path parameters
modelstring required
Bare Gemini model name, such as gemini-3.5-flash. SandBase adds the google/ catalog prefix.
Query parameters
alt'sse'
Set to sse for Server-Sent Events. Any other or omitted value uses the Google-compatible streamed JSON array.
Request body
Response
Gemini response frames
Changes
No recorded changes to this operation across all 1 revision of this API.