You're looking at a specific version of this model. Jump to the model overview.

cudanexus /ocr-surya:160a79e8

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
Upload PDF or Image
page_number
integer
1
Page Number
languages_choices
None
English
Languages
languages_input
string
English
Languages (comma-separated list)
action
None
Run OCR
Action

Output schema

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

Schema
{'properties': {'image': {'format': 'uri', 'title': 'Image', 'type': 'string'},
                'jsona': {'format': 'uri', 'title': 'Jsona', 'type': 'string'},
                'text': {'title': 'Text', 'type': 'string'}},
 'required': ['image'],
 'title': 'Output',
 'type': 'object'}