You're looking at a specific version of this model. Jump to the model overview.
mattsays /sam3-image:5c01e308
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 file
|
|
| prompt |
string
|
person
|
Text prompt for segmentation
|
| threshold |
number
|
0.5
Max: 1 |
Confidence threshold for object detection
|
| save_overlay |
boolean
|
False
|
If True, includes the overlay image in the ZIP file
|
| mask_only |
boolean
|
False
|
If True, returns a black-and-white mask image instead of an overlay on the original image
|
| return_zip |
boolean
|
True
|
If True, returns a ZIP file containing individual masks as PNGs
|
| mask_opacity |
number
|
0.5
Max: 1 |
Opacity of the mask overlay (0.0 to 1.0)
|
| mask_color |
string
|
green
|
Color of the mask overlay. Options: 'green', 'red', 'blue', 'yellow', 'cyan', 'magenta'
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}