You're looking at a specific version of this model. Jump to the model overview.
lucataco /florence-2-base:c8160911
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
|
Grayscale input image
|
|
task_input |
string
(enum)
|
Caption
Options: Caption, Detailed Caption, More Detailed Caption, Caption to Phrase Grounding, Object Detection, Dense Region Caption, Region Proposal, OCR, OCR with Region |
Input task
|
text_input |
string
|
Text Input(Optional)
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'img': {'format': 'uri', 'title': 'Img', 'type': 'string'},
'text': {'title': 'Text', 'type': 'string'}},
'required': ['text'],
'title': 'Output',
'type': 'object'}