For comparisons and demonstrations with reference images, see multiple assets. For machine-readable extracted fields, use structured outputs.
Explore image tasks
The shared Detect API provides a separate detection endpoint with pixel-coordinate results. The task guides above use Mk1.5 chat completions.
Locate objects
Installperceptron>=0.4.0 and set PERCEPTRON_API_KEY. Choose vision_config.annotation_format to request points, boxes, or polygons. This example requests boxes around people:
message.content, not a separate JSON array of detections. A box uses <point_box> with top-left and bottom-right coordinates on a normalized 0–1000 grid. See the annotation reference before rendering the response.