cURL
Detect
POST
cURL
Overview
The Detect API returns grounded object detections for a single image. Use it when you want a direct detection workflow without building a chat-completions prompt. Requests can include textcategories, annotated positive exemplars, both together, or no targets for exhaustive object detection. You can also include negative_exemplars, but only alongside at least one category or positive exemplar. Coordinates for exemplar annotations and returned detections are image pixels.
/v1/detect supports image inputs only and returns detections plus a finish_reason. The response does not include confidence scores.
For request shapes, worked examples, supported permutations, and limits, see the Detect capability guide.Authorizations
Bearer token authentication using your Perceptron API key
Body
application/json