lightweight-ai
/
multi_test_models
- Public
- 259 runs
-
A100 (80GB)
Run lightweight-ai/multi_test_models 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
|
Path to input image
|
|
mask_img |
string
|
Path to mask image
|
|
coords_type |
string
|
key_in
|
Type of coordinate input
|
dilate_kernel_size |
integer
|
20
|
Size of dilation kernel
|
output_dir |
string
|
./results
|
Output directory
|
{
"type": "object",
"title": "Input",
"required": [
"input_img",
"mask_img"
],
"properties": {
"mask_img": {
"type": "string",
"title": "Mask Img",
"format": "uri",
"x-order": 1,
"description": "Path to mask image"
},
"input_img": {
"type": "string",
"title": "Input Img",
"format": "uri",
"x-order": 0,
"description": "Path to input image"
},
"output_dir": {
"type": "string",
"title": "Output Dir",
"default": "./results",
"x-order": 4,
"description": "Output directory"
},
"coords_type": {
"type": "string",
"title": "Coords Type",
"default": "key_in",
"x-order": 2,
"description": "Type of coordinate input"
},
"dilate_kernel_size": {
"type": "integer",
"title": "Dilate Kernel Size",
"default": 20,
"x-order": 3,
"description": "Size of dilation kernel"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}