Stream Gemini content

Native Google GenerateContent format. The model is selected in the URL. Request fields, unknown extensions, signed parts and continuation tokens are preserved. No automatic retries, tool execution or continuation requests. HTTP 200 alone does not establish that an optional parameter took effect.

post/models/{model}:streamGenerateContent

Request

  • Base URL: https://reapi.ai/api/v1beta
  • URL: https://reapi.ai/api/v1beta/models/{model}:streamGenerateContent
  • Auth: one of:
    • API key in header x-goog-api-key
    • API key in query parameter key
    • HTTP bearer

Path parameters

model'gemini-4-argon' required

Query parameters

alt'sse'

Use alt=sse for native server-sent events.

Request body

contentsobject[] required

Conversation contents with user/model roles and native parts. Preserve complete model parts, thought signatures and function calls across turns. Media inputs require public HTTP(S) fileData.fileUri URLs.

toolsobject[]

Native tool declarations and supported built-in tools. Your application executes client functions and supplies functionResponse parts.

toolConfigobject

Native tool configuration, forwarded without rewriting.

safetySettingsobject[]

Per-category safety settings; omitted categories retain model defaults.

continuationTokenstring

Opaque token from a previous candidate. Continue with the original contents unchanged. reAPI never starts another request automatically.

labelsobject

String-valued request labels, forwarded unchanged.

systemInstructionobject

Top-level system instructions as a native Content object.

cachedContentstring

Explicit cached-content resource. Google documents explicit caching as unsupported on Gemini 4 Argon; the field is still forwarded for the model to handle.

serviceTierstring

Google service tier: unspecified (standard by default), standard, flex or priority. Availability is determined by the model service.

storeboolean

Optional request logging control in the Google API. No default is imposed by reAPI.

Response

Native GenerateContent SSE JSON frames

Changes

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