Skip to main content
POST
Image segmentation

Body

application/json

Request parameters for image segmentation pipelines.

inputs
required

Image or list of images to segment. Required.

subtask
string
default:panoptic

Segmentation subtask type (e.g., 'panoptic', 'instance', 'semantic').

threshold
number
default:0.9

Confidence threshold to include predicted segments.

mask_threshold
number
default:0.5

Pixel-level mask threshold for binarizing predicted masks.

overlap_mask_area_threshold
number
default:0.5

Threshold controlling how overlapping masks are handled.

timeout
number | null

Maximum time for fetching remote images or processing.

Response

200 - application/json

Segmentation masks and metadata

masks
string[]
scores
number[]