Skip to content

inference.mask-background.v1

Schema

{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"inference.birefnet.segment.v1",
"inference.remove-background.v1",
"inference.mask-background.v1"
]
},
"config": {
"type": "object",
"properties": {
"contour": {
"description": "Enable contour detection for a crisp outline mask style.",
"type": "boolean",
"default": false
},
"contour_tolerance": {
"description": "Increase contour tolerance to smooth and expand the mask.",
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 128
}
}
}
}
}