---
title: "Proxy Response Gemini"
method: POST
path: "/v1beta/models/{model}:streamGenerateContent"
---

# Proxy Response Gemini

`POST /v1beta/models/{model}:streamGenerateContent`

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.

## Path parameters

- `model` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/v1beta/models/:model:streamGenerateContent/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/397ad3a1d858?raw)
