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

lucataco /glm-ocr:305df8d2

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
Input document image to OCR.
task
None
text
None
custom_prompt
string
None
max_new_tokens
integer
4096

Min: 16

Max: 16384

Maximum number of tokens to generate.

Output schema

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

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