v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
GenAI Integration

Stream generate content (Gemini format)

Streams content generation using Google Gemini API format. The model is specified in the URL path.

post/genai/v1beta/models/{model}:streamGenerateContent

Path parameters

modelstring required

Model name with action (e.g., gemini-pro:streamGenerateContent)

Request body

modelstring

Model field for explicit model specification

cachedContentstring

Cached content resource name

labelsobject

Labels for the request

fallbacksstring[]

Response

Successful streaming response