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
|
https://st.mngbcn.com/rcs/pics/static/T5/fotos/outfit/S20/57034757_56-99999999_01.jpg
|
Image
|
prompts |
array
|
['face.', 'shirt.']
|
List of mask prompts. Each should end with a period?
|
threshold |
number
|
0.15
|
Cutof for object detection
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'detections': {'items': {'properties': {'label': {'title': 'Label',
'type': 'string'},
'score': {'title': 'Score',
'type': 'number'},
'xmax': {'title': 'Xmax',
'type': 'number'},
'xmin': {'title': 'Xmin',
'type': 'number'},
'ymax': {'title': 'Ymax',
'type': 'number'},
'ymin': {'title': 'Ymin',
'type': 'number'}},
'required': ['label',
'score',
'xmin',
'xmax',
'ymin',
'ymax'],
'title': 'Detection',
'type': 'object'},
'title': 'Detections',
'type': 'array'}},
'required': ['detections'],
'title': 'Output',
'type': 'object'}