total-disruption/dots-mocr

Public
200 runs

Run total-disruption/dots-mocr 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
image
string
Страница документа или картинка (PNG/JPEG/WebP)
prompt_mode
None
prompt_layout_all_en
Режим промпта dots.mocr
custom_prompt
string
Свой промпт, только для prompt_general
max_new_tokens
integer
12000

Min: 1

Max: 24000

Лимит генерируемых токенов
min_pixels
integer
3136
Минимум пикселей после ресайза
max_pixels
integer
11289600
Максимум пикселей после ресайза

Output schema

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

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