---
title: "Process Frame"
method: POST
path: "/v1/vision/stream/frame"
tags: ["vision", "vision-streaming"]
---

# Process Frame

`POST /v1/vision/stream/frame`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/llama-farm/apis/llamafarm-edge-runtime/docs/v1/vision/stream/frame/post.ts> (a function with typed inputs; its response is checked against the schema)

Process a frame through the cascade chain.

## Request body

- StreamFrameRequest
  - `session_id` string, required
  - `image` string, required: Base64-encoded image

## Response `200`

Successful Response

- StreamFrameResponse
  - `status` string, required
  - `detections` DetectionItem[], nullable
    - `x1` number, required
    - `y1` number, required
    - `x2` number, required
    - `y2` number, required
    - `class_name` string, required
    - `class_id` integer, required
    - `confidence` number, required
  - `confidence` number, nullable
  - `resolved_by` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/llama-farm/apis/llamafarm-edge-runtime.md) - [All operations](https://skmtc.dev/llama-farm/apis/llamafarm-edge-runtime/llms.txt) - [OpenAPI document](https://skmtc.dev/llama-farm/apis/llamafarm-edge-runtime/revisions/a23a9e72958b?raw)
