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 |
|---|---|---|---|
| image |
string
|
Input image for OCR
|
|
| prompt |
string
|
Extract all text from this image
|
Prompt to guide the extraction
|
| temperature |
number
|
0.1
Max: 2 |
Temperature for sampling (lower = more deterministic)
|
| max_tokens |
integer
|
2048
Min: 1 Max: 8192 |
Maximum number of tokens to generate
|
| top_p |
number
|
0.95
Max: 1 |
Top-p sampling parameter
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}