Input images up to 1280 x 720 (width x height). Larger images are rejected with HTTP 413, not downscaled — resize first.
Parameters
Returns
Dictionary with keys:- “boxes”: List of bounding boxes as [x1, y1, x2, y2] coordinates
- “scores”: List of confidence scores (0.0-1.0)
- “labels”: List of label indices
Example
Tips
- Prompt with period-separated object phrases, e.g.
"car. person. traffic light". box_thresholddefaults to0.2.
Example Output
