v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
LiteLLM Integration

Stream generate content (LiteLLM - Gemini format)

Streams content generation using Google Gemini-compatible format via LiteLLM.

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

Path parameters

modelstring required

Model name with action

Request body

modelstring

Model field for explicit model specification

cachedContentstring

Cached content resource name

labelsobject

Labels for the request

fallbacksstring[]

Response

Successful streaming response