post-segment-inferences
Segment images to create masks and extract objects using AI models, generating new assets with customizable parameters for contours, dilation, and background opacity.
Instructions
Trigger the segmentation of an image. The process will create a new Asset with the segmentation mask as a child.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originalAssets | No | If set to true, returns the original asset without transformation | |
| dryRun | No | ||
| checkpoint | No | The checkpoint to use | |
| image | Yes | The input image to process. Must reference an existing AssetId or be a data URL. | |
| resultContours | No | Boolean to output the contours. | |
| dilate | No | The number of pixels to dilate the result masks. | |
| bbox | No | ||
| backgroundOpacity | No | Int to set between 0 and 255 for the opacity of the background in the result images. | |
| betterQuality | No | Remove small dark spots (i.e. “pepper”) and connect small bright cracks. | |
| text | No | A textual description / keywords describing the object of interest. | |
| resultImage | No | Boolean to able output the cut out object. | |
| points | No | ||
| resultMask | No | Boolean to able return the masks (binary image) in the response. |