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

yyjim /segment-anything-tryout:52b63cb4

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
Input image
box
string
Bounding box coordinates [x, y, w, h]. If None, the entire image will be used.
multimask_output
boolean
False
If True, the output will be a list of masks. If False, the output will be a single mask.
mask_only
boolean
False
If True, the output will only include mask.

Output schema

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

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}