Google Gemini LLM Integration

Stream Generate Content

Gemini native streaming generation endpoint. Typically used with the alt=sse query parameter.

post/v1beta/models/{model}:streamGenerateContent

Request

  • Base URL: https://api.ccapi.ai
  • URL: https://api.ccapi.ai/v1beta/models/{model}:streamGenerateContent
  • Auth: none declared

Path parameters

modelstring required

Model name, e.g. gemini-3.1-pro.

Query parameters

keystring

CCAPI token. Use either this or the x-goog-api-key header.

alt'sse'

For streaming responses, this should be set to sse.

Headers

x-goog-api-keystring

CCAPI token. Use either this or the key query parameter.

Request body

contentsobject[] required
generationConfigobject
toolsobject[]

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.