model_predict
Run inference on an image supplied as a URL or base64 data using a trained Ultralytics model. Adjust confidence, IoU, and image size thresholds to control prediction accuracy.
Instructions
Run inference with a trained model on an image URL or base64 source (no local file paths).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iou | No | IoU threshold used for NMS (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). | |
| model | Yes | Model ref by owner/project/model, ul:// URI, or slug (requires project). | |
| source | Yes | Image URL, raw base64-encoded image, or base64 data: URI (data:<mime>;base64,<payload>). Local file paths are not supported. | |
| project | No | Project ref required when model is given by slug. |