Proxy Response Gemini

Changed on

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

Request

  • Base URL
    https://api.quadrillion.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.quadrillion.io/v1beta/models/{model}:streamGenerateContent
  • Auth
    none declared

Path parameters

modelstring required

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status