annyyhyang
/
isnet_sam
- Public
- 6 runs
-
T4
Run annyyhyang/isnet_sam with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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
|
|
mask_limit |
integer
|
maximum number of masks to return. If -1 or None, all masks will be returned. NOTE: The masks are sorted by predicted_iou.
|
|
mask_only |
boolean
|
False
|
If True, the output will only include mask.
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"mask_only": {
"type": "boolean",
"title": "Mask Only",
"default": false,
"x-order": 2,
"description": "If True, the output will only include mask."
},
"mask_limit": {
"type": "integer",
"title": "Mask Limit",
"x-order": 1,
"description": "maximum number of masks to return. If -1 or None, all masks will be returned. NOTE: The masks are sorted by predicted_iou."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}