Input images up to 1280 x 720 (width x height). Larger images are rejected with HTTP 413, not downscaled — resize first.
Parameters
Union[str, Image.Image, np.ndarray]
required
RGB input image.
str
default:"'panoptic'"
“panoptic”, “semantic” or “instance”.
float | None
Optional HTTP timeout.
Returns
Dict[str, Any]: Backend-specific segmentation output.Example
Example Output
