total-disruption/unlimited-ocr-2

Unofficial packaging of baidu/Unlimited-OCR-2: document page or PDF to layout-annotated Markdown.

Public
28 runs

Run total-disruption/unlimited-ocr-2 with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
file
string
Страница документа (PNG/JPEG/WebP) или PDF: все страницы идут одним запросом
crop_mode
None
auto
auto: тайлы (gundam) для одной страницы, один глобальный вид (base) на страницу для нескольких
prompt
string
Инструкция модели; пусто — авторская «Multi page parsing.»
pdf_dpi
integer
300

Min: 72

Max: 600

DPI рендера страниц PDF
max_page_tokens
integer
8000

Min: 1

Max: 20000

Лимит генерируемых токенов на страницу

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}