dragon-okinawa / docling-ocr-pdf
docling-ocr-pdf model leverages Docling's document parsing to perform OCR on various document formats, streamlining text extraction for AI tasks
Run dragon-okinawa/docling-ocr-pdf 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 |
---|---|---|---|
document |
string
|
Document to process
|
|
from_format |
string
(enum)
|
any
Options: any, docx, pptx, html, image, pdf, asciidoc, md, csv, xlsx, xml_uspto, xml_jats, json_docling |
Input document format
|
to_format |
string
(enum)
|
md
Options: md, json, html, text, doctags |
Output document format
|
timeout |
integer
|
120
Min: 30 Max: 3600 |
Maximum time allowed to run the prediction in seconds
|
{
"type": "object",
"title": "Input",
"required": [
"document"
],
"properties": {
"timeout": {
"type": "integer",
"title": "Timeout",
"default": 120,
"maximum": 3600,
"minimum": 30,
"x-order": 3,
"description": "Maximum time allowed to run the prediction in seconds"
},
"document": {
"type": "string",
"title": "Document",
"format": "uri",
"x-order": 0,
"description": "Document to process"
},
"to_format": {
"enum": [
"md",
"json",
"html",
"text",
"doctags"
],
"type": "string",
"title": "to_format",
"description": "Output document format",
"default": "md",
"x-order": 2
},
"from_format": {
"enum": [
"any",
"docx",
"pptx",
"html",
"image",
"pdf",
"asciidoc",
"md",
"csv",
"xlsx",
"xml_uspto",
"xml_jats",
"json_docling"
],
"type": "string",
"title": "from_format",
"description": "Input document format",
"default": "any",
"x-order": 1
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}