Visual grounding — locate objects in images or video
/ground
Open-vocabulary visual grounding over images or video clips. Finds objects matching question in the
provided image(s) and returns bounding boxes.
- Images (
images) — finds regions matchingquestionand returns{label, box: [x1, y1, x2, y2]}normalized to[0, 1000]. - Video (
video) — scans a clip for objects (kind: "object", returningstart,end,peak_t, and peak-frameboxes) or events (kind: "event", returningonset_ttimestamps).
Body Parameters
allow_abstain: optional boolean
Allow status: "abstained" (value null) when no candidate clears the confidence bar.
boxes_on_hits: optional boolean
Video only: also return regions on each hit's peak frame.
coarse_step: optional number
Video only: seconds between coarse presence probes.
exclusiveMinimum0
domain: optional string
fine_resolution: optional number
Video only: seconds; precision of the onset search.
exclusiveMinimum0
max_probes: optional number
Video only: maximum frames to examine.
minimum1
min_region_patches: optional number
Deep mode only: ignore regions smaller than this many patches (>= 1).
minimum1
question: optional string
What to find (e.g., "the invoice total", "the crack"). Empty detects regions broadly.
state: optional string
Returns
Visual grounding — locate objects in images or video
curl https://api.articul8.ai/bivia/ground \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $A8_API_KEY" \
-d '{}'
{
"type": "ground",
"value": [
{
"label": "the red square",
"box": [
197,
200,
812,
807
]
}
],
"count": 1,
"found": true,
"grounded": true,
"input_tokens": 286,
"image_tokens": 256,
"billable_tokens": 1000
}Returns Examples
{
"type": "ground",
"value": [
{
"label": "the red square",
"box": [
197,
200,
812,
807
]
}
],
"count": 1,
"found": true,
"grounded": true,
"input_tokens": 286,
"image_tokens": 256,
"billable_tokens": 1000
}