deployment_predict
Run inference on a local image or video through a deployment's serving endpoint by owner/deployment or slug, returning images and metadata verbatim.
Instructions
Run inference through a deployment's own serving endpoint on a local image or video 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 or video file, uploaded as-is. The server decides which formats it accepts. | |
| deployment | Yes | Deployment ref by owner/deployment or a bare slug. |