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

idea-research /ram-grounded-sam:80a2aede

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
input_image
string
Input image
use_sam_hq
boolean
False
Use sam_hq instead of SAM for prediction
show_visualisation
boolean
False
Output rounding box and masks on the image

Output schema

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

Schema
{'properties': {'json_data': {'title': 'Json Data'},
                'masked_img': {'format': 'uri',
                               'title': 'Masked Img',
                               'type': 'string'},
                'rounding_box_img': {'format': 'uri',
                                     'title': 'Rounding Box Img',
                                     'type': 'string'},
                'tags': {'title': 'Tags', 'type': 'string'}},
 'required': ['tags'],
 'title': 'ModelOutput',
 'type': 'object'}