Detect and locate objects in an image using Moondream’s box method.
This endpoint identifies objects mentioned in the query and returns their bounding box coordinates in the image.
cURL
curl --request POST \ --url http://0.0.0.0:8008/analyze/box \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "query": "<string>", "video_timestamp": 123 } '
{ "boxes": [ { "x_max": 123, "x_min": 123, "y_max": 123, "y_min": 123 } ] }
JWT in Authorization header. 'Bearer ' prefix optional.
Successful Response
Show child attributes