deployment_predict
Run inference on a local image through a deployment's serving endpoint, returning images and metadata verbatim. Use this to get predictions from a deployed model without per-request fees.
Instructions
Run inference through a deployment's own serving endpoint on a local image file, by owner/deployment or a bare slug (owner defaults to the account owner). Returns images/metadata verbatim, including undocumented metadata fields. No per-request cost is documented for this endpoint; costs follow the deployment's own resource configuration. A cold start on a scaled-to-zero deployment may respond slowly or with a 503 — check deployment_health rather than retrying blindly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iou | No | IoU threshold (0-0.95, server default applies if omitted). | |
| conf | No | Confidence threshold (0.01-1, server default applies if omitted). | |
| imgsz | No | Inference image size (32-1280, server default applies if omitted). | |
| imagePath | Yes | Local path to an image file (.jpg, .jpeg, .png, .webp, .bmp, .tif, .tiff). | |
| deployment | Yes | Deployment ref by owner/deployment or a bare slug. |