Skip to main content

Segmented car mask.

Object Segmentation

Segmentation of cars with their masks overlaid

Face Segmentation

Segmentation of individual faces with their masks overlaid

Object and face masks.

Usage Example

Use the Structured Outputs API for structured, validated responses.

FAQ

  • Instance: one unique mask per object
  • Semantic: a category for each pixel
  • Panoptic: instance and semantic together
The response is a list of objects. Each object has a PNG mask at a pre-signed URL.
Name the objects in natural language. Example: “segment the writing-related items in this image.”Common objectsSpecialized categories
PNG masks are binary or grayscale. Each pixel value is a segment ID.JSON polygons and COCO are coming soon.