hackkhai
/
mask-generator
- Public
- 7 runs
Run hackkhai/mask-generator 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_file |
string
|
Input zip file of images or just images
|
|
blur |
integer
|
25
|
blur value
|
dilate |
integer
|
101
|
extent the mask to cover more area keep it at 101
|
{
"type": "object",
"title": "Input",
"properties": {
"blur": {
"type": "integer",
"title": "Blur",
"default": 25,
"x-order": 1,
"description": "blur value"
},
"dilate": {
"type": "integer",
"title": "Dilate",
"default": 101,
"x-order": 2,
"description": "extent the mask to cover more area keep it at 101"
},
"input_file": {
"type": "string",
"title": "Input File",
"format": "uri",
"x-order": 0,
"description": "Input zip file of images or just images"
}
}
}
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"
}