Input images up to 1280 x 1280 (width x height). Larger images are rejected with HTTP 413, not downscaled — resize first.
Parameters
Union[str, Image.Image, np.ndarray]
required
RGB image.
str
required
Spatial-referring query.
float | None
Optional HTTP timeout.
Returns
Dict[str, Any]:{"output": {"points": [[x, y], ...]}} in pixel coordinates.