v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBgenerate
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.