model_predict
Run inference with a trained model on an image URL, base64 image, or local image/video file; provide a model and exactly one source.
Instructions
Run inference with a trained model on an image URL or base64 image (source), or on a local image or video file (file_path). Give exactly one.
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 | No | Image URL, base64-encoded image (standard or URL-safe; optional padding; ASCII whitespace ignored), or base64 data: URI (data:<mime>;base64,<payload>). Base64 is uploaded as an image file, bypassing the API source field's 4,096-character limit; MCP client argument limits may still apply, so prefer file_path for local files. | |
| project | No | Project ref required when model is given by slug. | |
| file_path | No | Local path to an image or video file, uploaded as-is. The server decides which formats and sizes it accepts. |