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

c-barron /sam:0443be78

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_json
string
{"prompts": [{"label": "face", "xmin": 0.1, "xmax": 0.9, "ymin": 0.1, "ymax": 0.9, "is_positive": true}]}
JSON string of prompt object type (see documentation)

Output schema

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

Schema
{'properties': {'masks': {'items': {'properties': {'label': {'title': 'Label',
                                                             'type': 'string'},
                                                   'mask': {'format': 'uri',
                                                            'title': 'Mask',
                                                            'type': 'string'}},
                                    'required': ['mask', 'label'],
                                    'title': 'Mask',
                                    'type': 'object'},
                          'title': 'Masks',
                          'type': 'array'}},
 'required': ['masks'],
 'title': 'Output',
 'type': 'object'}