---
title: "Chat Completions"
method: POST
path: "/v1/chat/completions"
---

# Chat Completions

`POST /v1/chat/completions`

## Request

- Base URL: `https://api.pennyocr.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pennyocr.com/v1/chat/completions`
- Auth: HTTP bearer

## Request body

- ChatCompletionRequest
  - `model` string
  - `messages` unknown[], required
    - unknown
  - `temperature` number, nullable
  - `max_tokens` integer, nullable
  - `stream` boolean, nullable
  - `top_p` number, nullable
  - `user` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pennyocr/apis/pennyocr-api.md) · [All operations](https://skmtc.dev/pennyocr/apis/pennyocr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pennyocr/apis/pennyocr-api/revisions/0f7ed2e08b83?raw)
