Detect objects
Find objects by name in an image and get a labelled box for each.
Authorization
AuthorizationheaderrequiredBearer sk-orb-v1-…, your API key, or a free test key (sk-orb-test-…; no account? get one withPOST /sandbox/keys).
Request body
JSON, with Content-Type: application/json.
modelstringrequiredThe detection model to run, e.g.
idea-research/grounding-dino. The live models for this endpoint are listed below.imagestringrequiredThe image, base64 JPEG or PNG (a
data:URL works too). Under 4 MB of base64.labelsstring[]requiredWhat to look for, e.g.
["cup", "bowl"]. 1–50 names, each up to 200 characters.
Response
idstringUnique id of this call, e.g.
det_48213. It matches the call in your Activity dashboard.modelstringThe model that answered.
backendstring"http": the real model ran on a GPU."simulated": stand-in output of the same shape, as test keys get.sandboxbooleantruewhen the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.detectionsobject[]One per object found.
Show 3 child attributes
labelstringWhich of your labels it matched.
scorenumberConfidence, 0–1.
boxnumber[4][x0, y0, x1, y1]in pixels.
usageobjectWhat the call cost.
Show 2 child attributes
cost_usdnumberCharged to your credits, in US dollars.
latency_msintegerTime the model took, in milliseconds.
Errors
The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.
Models
7 live models for /detect. Each page has a ready-made request.
- Grounding DINO
idea-research/grounding-dino - OWLv2
google/owlv2 - Florence-2
microsoft/florence-2 - RF-DETR
roboflow/rf-detr - LLMDet
isee/llmdet - OmDet-Turbo
omlab/omdet-turbo - D-FINE
ustc/d-fine
1 more is coming soon. See the models page.