You're looking at a specific version of this model. Jump to the model overview.
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 |
---|---|---|---|
document |
string
|
Provide your input file (PDF, EPUB, MOBI, XPS, FB2).
|
|
max_pages |
integer
|
Provide the maximum number of pages to parse.
|
|
parallel_factor |
integer
|
1
|
Provide the parallel factor to use for OCR.
|
lang |
string
(enum)
|
English
Options: English, Spanish, Portuguese, French, German, Russian |
Provide the language to use for OCR.
|
dpi |
integer
|
400
|
The DPI to use for OCR.
|
enable_editor |
boolean
|
False
|
Enable the editor model.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'markdown': {'format': 'uri',
'title': 'Markdown',
'type': 'string'},
'metadata': {'title': 'Metadata', 'type': 'string'}},
'required': ['markdown', 'metadata'],
'title': 'ModelOutput',
'type': 'object'}