fmxexpress/remove-anything
Public
5
runs
Run fmxexpress/remove-anything 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 |
|---|---|---|---|
| input_img |
string
|
Input image to process
|
|
| point_coords |
string
|
200 450
|
Coordinates of the point
|
| point_labels |
string
|
1
|
Labels for the point
|
| dilate_kernel_size |
integer
|
15
|
Kernel size for dilation
|
| sam_model_type |
string
|
vit_h
|
Type of SAM model to use
|
{
"type": "object",
"title": "Input",
"required": [
"input_img"
],
"properties": {
"input_img": {
"type": "string",
"title": "Input Img",
"format": "uri",
"x-order": 0,
"description": "Input image to process"
},
"point_coords": {
"type": "string",
"title": "Point Coords",
"default": "200 450",
"x-order": 1,
"description": "Coordinates of the point"
},
"point_labels": {
"type": "string",
"title": "Point Labels",
"default": "1",
"x-order": 2,
"description": "Labels for the point"
},
"sam_model_type": {
"type": "string",
"title": "Sam Model Type",
"default": "vit_h",
"x-order": 4,
"description": "Type of SAM model to use"
},
"dilate_kernel_size": {
"type": "integer",
"title": "Dilate Kernel Size",
"default": 15,
"x-order": 3,
"description": "Kernel size for dilation"
}
}
}
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"
}