latestOpenAPI 3.0.22026-08-15117255447.5 KB

4918f84cbfd7

generate

Snap a hand-drawn mask to the selected object

Refine a hand-drawn binary mask to the object it marks. Supply the source image and a mask with the same dimensions; white (>= 128) marks the object. The response is a binary PNG mask with white pixels marking the snapped object.

post/v1/snap-mask

Response

The snapped binary object mask as a PNG image.