roboflow_inference_classify
Classify images with a Roboflow model and receive top-K predictions with confidence scores.
Instructions
Run classification inference on a Roboflow model. Returns top-K class predictions with confidence scores.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image as a URL, base64 string, or local file path | |
| top_k | No | Number of top predictions to return | |
| model_id | Yes | Classification model ID in format 'project/version' (e.g. 'cats-vs-dogs/2') |