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

hiscodesmells /florence-2-base:34a1e66b

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, Referring Expression Segmentation, Region to Segmentation, Open Vacabulary Detection, Region to Category, Region to Description, 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'}