/vision/spatial for new integrations; /vision/query is the compatibility alias.
Spatial Vision requests are stateless. Send the question and image directly, with depth when the task uses it. You do not need a Domain, events, feedback, or learner configuration. When detector and segmenter processing is enabled, callers do not need to provide object hints or scene masks.
Request contract
Send a requiredquestion and one image field:
image,image_base64, orimage_url: base64 bytes or a data URL;depthordepth_base64: optional depth input in the same representation;object_hints: optional caller-supplied normalized boxes;scene_masks: optional caller-supplied masks;use_detectoranduse_segmenter: grounding controls.
image_url must be a base64 value or data URL, not an arbitrary remote URL.
Validate grounded output
Returned points and bounding boxes are normalized to[0, 1]. Inspect answer, confidence, points, rationale, and the parsed query fields.
A successful HTTP response can still be a degraded fallback. For object-relative pointing, treat output as grounded only when:
vision.segmenter.status and vision.segmenter.mask_count.