v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB

Proxy Response Gemini

Proxy Gemini API requests. Requires valid Quadrillion API key.

The Gemini SDK puts the model name in the URL path rather than the JSON body. We stash it on request.state so that proxy_response can inject it into the payload for downstream URL construction.

post/v1beta/models/{model}:streamGenerateContent

Path parameters

modelstring required

Response

Successful Response

{"stackTrail":"paths:/v1beta/models/{model}%3AstreamGenerateContent:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}