Single-Label Classification Model¶
v3¶
Class: RoboflowClassificationModelBlockV3 (there are multiple versions of this block)
Warning: This block has multiple versions. Please refer to the specific version for details. You can learn more about how versions work here: Versioning
Run inference on a multi-class classification model hosted on or uploaded to Roboflow.
You can query any model that is private to your account, or any public model available on Roboflow Universe.
You will need to set your Roboflow API key in your Inference environment to use this block. To learn more about setting your Roboflow API key, refer to the Inference documentation.
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/roboflow_classification_model@v3to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
model_id |
str |
Roboflow model identifier.. | ✅ |
confidence_mode |
str |
How to determine the confidence threshold.. | ✅ |
custom_confidence |
float |
Custom confidence threshold for predictions.. | ✅ |
disable_active_learning |
bool |
Boolean flag to disable project-level active learning for this block.. | ✅ |
active_learning_target_dataset |
str |
Target dataset for active learning, if enabled.. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Single-Label Classification Model in version v3.
- inputs:
VLM As Classifier,MoonshotAI Kimi,Stability AI Image Generation,Trace Visualization,Anthropic Claude,Icon Visualization,SIFT Comparison,Morphological Transformation,Color Visualization,LMM For Classification,Single-Label Classification Model,Perspective Correction,Corner Visualization,Roboflow Custom Metadata,Halo Visualization,Dynamic Zone,Keypoint Detection Model,Qwen-VL,JSON Parser,Email Notification,Halo Visualization,Object Detection Model,Google Gemma,Background Color Visualization,Ellipse Visualization,Email Notification,Twilio SMS/MMS Notification,Text Display,Polygon Visualization,Crop Visualization,Absolute Static Crop,Image Preprocessing,Model Monitoring Inference Aggregator,Relative Static Crop,OpenRouter,OpenAI,Florence-2 Model,VLM As Detector,OpenAI,Heatmap Visualization,OCR Model,Motion Detection,Blur Visualization,Depth Estimation,Instance Segmentation Model,Stability AI Outpainting,Anthropic Claude,Google Gemini,Clip Comparison,Google Gemini,Background Subtraction,Keypoint Visualization,CSV Formatter,Webhook Sink,Stitch Images,Florence-2 Model,Current Time,Contrast Equalization,OpenAI,VLM As Detector,Google Gemini,Triangle Visualization,Slack Notification,SIFT,Multi-Label Classification Model,Local File Sink,Image Contours,Keypoint Detection Model,VLM As Classifier,GLM-OCR,Roboflow Asset Library Attributes,Image Slicer,Polygon Zone Visualization,Contrast Enhancement,Google Gemma API,Semantic Segmentation Model,Stitch OCR Detections,Image Threshold,Line Counter Visualization,Semantic Segmentation Model,Multi-Label Classification Model,Camera Calibration,QR Code Generator,S3 Sink,Microsoft SQL Server Sink,Google Vision OCR,Twilio SMS Notification,Image Blur,Morphological Transformation,Camera Focus,Roboflow Vision Events,Stability AI Inpainting,PTZ Tracking (ONVIF),Classification Label Visualization,Stitch OCR Detections,Event Writer,Grid Visualization,Qwen3.5-VL,Mask Visualization,Llama 3.2 Vision,Reference Path Visualization,Image Slicer,Label Visualization,Identify Outliers,SIFT Comparison,OPC UA Writer Sink,Dot Visualization,Identify Changes,Dynamic Crop,Circle Visualization,Llama 3.2 Vision,Camera Focus,OpenAI-Compatible LLM,MoonshotAI Kimi,Single-Label Classification Model,CogVLM,Object Detection Model,Qwen 3.6 API,Detections Consensus,Bounding Box Visualization,Multi-Label Classification Model,LMM,OpenAI,PLC Reader,Image Convert Grayscale,Instance Segmentation Model,Roboflow Visual Search,EasyOCR,Roboflow Dataset Upload,Instance Segmentation Model,Pixelate Visualization,Keypoint Detection Model,Instance Segmentation Model,Roboflow Dataset Upload,PLC Writer,Qwen 3.5 API,Anthropic Claude,Object Detection Model,MQTT Writer,Polygon Visualization,Model Comparison Visualization,Single-Label Classification Model - outputs:
Single-Label Classification Model,Semantic Segmentation Model,Semantic Segmentation Model,Qwen3.5,Qwen2.5-VL,Multi-Label Classification Model,Object Detection Model,Instance Segmentation Model,SmolVLM2,Webhook Sink,Single-Label Classification Model,Multi-Label Classification Model,SAM 3,Roboflow Custom Metadata,Qwen-VL,Instance Segmentation Model,Keypoint Detection Model,Roboflow Vision Events,Qwen3-VL,Moondream2,Object Detection Model,Classification Label Visualization,SAM2 Video Tracker,Roboflow Dataset Upload,Event Writer,SAM 3,Detections Classes Replacement,Instance Segmentation Model,Qwen3.5-VL,Keypoint Detection Model,Roboflow Dataset Upload,Instance Segmentation Model,Multi-Label Classification Model,Object Detection Model,Keypoint Detection Model,Model Monitoring Inference Aggregator,GLM-OCR,SAM3 Video Tracker,SAM 3,Single-Label Classification Model
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Single-Label Classification Model in version v3 has.
Bindings
-
input
images(image): The image to infer on..model_id(roboflow_model_id): Roboflow model identifier..confidence_mode(string): How to determine the confidence threshold..custom_confidence(float_zero_to_one): Custom confidence threshold for predictions..disable_active_learning(boolean): Boolean flag to disable project-level active learning for this block..active_learning_target_dataset(roboflow_project): Target dataset for active learning, if enabled..
-
output
predictions(classification_prediction): Predictions from classifier.inference_id(inference_id): Inference identifier.model_id(roboflow_model_id): Roboflow model id.
Example JSON definition of step Single-Label Classification Model in version v3
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_classification_model@v3",
"images": "$inputs.image",
"model_id": "my_project/3",
"confidence_mode": "<block_does_not_provide_example>",
"custom_confidence": 0.3,
"disable_active_learning": true,
"active_learning_target_dataset": "my_project"
}
v2¶
Class: RoboflowClassificationModelBlockV2 (there are multiple versions of this block)
Warning: This block has multiple versions. Please refer to the specific version for details. You can learn more about how versions work here: Versioning
Run inference on a multi-class classification model hosted on or uploaded to Roboflow.
You can query any model that is private to your account, or any public model available on Roboflow Universe.
You will need to set your Roboflow API key in your Inference environment to use this block. To learn more about setting your Roboflow API key, refer to the Inference documentation.
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/roboflow_classification_model@v2to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
model_id |
str |
Roboflow model identifier.. | ✅ |
confidence |
float |
Confidence threshold for predictions.. | ✅ |
disable_active_learning |
bool |
Boolean flag to disable project-level active learning for this block.. | ✅ |
active_learning_target_dataset |
str |
Target dataset for active learning, if enabled.. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Single-Label Classification Model in version v2.
- inputs:
Image Slicer,Polygon Zone Visualization,VLM As Classifier,Contrast Enhancement,Semantic Segmentation Model,Stability AI Image Generation,Image Threshold,Line Counter Visualization,Trace Visualization,Semantic Segmentation Model,Multi-Label Classification Model,Camera Calibration,QR Code Generator,Icon Visualization,SIFT Comparison,Morphological Transformation,S3 Sink,Color Visualization,Single-Label Classification Model,Perspective Correction,Microsoft SQL Server Sink,Corner Visualization,Roboflow Custom Metadata,Twilio SMS Notification,Halo Visualization,Image Blur,Dynamic Zone,Morphological Transformation,Keypoint Detection Model,Camera Focus,JSON Parser,Email Notification,Roboflow Vision Events,Halo Visualization,Stability AI Inpainting,PTZ Tracking (ONVIF),Object Detection Model,Classification Label Visualization,Event Writer,Grid Visualization,Background Color Visualization,Mask Visualization,Ellipse Visualization,Email Notification,Reference Path Visualization,Image Slicer,Label Visualization,Identify Outliers,Text Display,Twilio SMS/MMS Notification,SIFT Comparison,OPC UA Writer Sink,Dot Visualization,Polygon Visualization,Identify Changes,Crop Visualization,Dynamic Crop,Absolute Static Crop,Circle Visualization,Image Preprocessing,Model Monitoring Inference Aggregator,Relative Static Crop,Camera Focus,VLM As Detector,Motion Detection,Heatmap Visualization,Blur Visualization,Object Detection Model,Depth Estimation,Stability AI Outpainting,Clip Comparison,Background Subtraction,Keypoint Visualization,Detections Consensus,Webhook Sink,Bounding Box Visualization,Stitch Images,PLC Reader,Image Convert Grayscale,Instance Segmentation Model,Contrast Equalization,VLM As Detector,Roboflow Visual Search,Triangle Visualization,Slack Notification,Roboflow Dataset Upload,Instance Segmentation Model,Pixelate Visualization,Keypoint Detection Model,Instance Segmentation Model,Roboflow Dataset Upload,PLC Writer,SIFT,Multi-Label Classification Model,Local File Sink,MQTT Writer,Image Contours,Polygon Visualization,VLM As Classifier,Model Comparison Visualization,Single-Label Classification Model,Roboflow Asset Library Attributes - outputs:
Single-Label Classification Model,Semantic Segmentation Model,Semantic Segmentation Model,Qwen3.5,Qwen2.5-VL,Multi-Label Classification Model,Object Detection Model,Instance Segmentation Model,SmolVLM2,Webhook Sink,Single-Label Classification Model,Multi-Label Classification Model,SAM 3,Roboflow Custom Metadata,Qwen-VL,Instance Segmentation Model,Keypoint Detection Model,Roboflow Vision Events,Qwen3-VL,Moondream2,Object Detection Model,Classification Label Visualization,SAM2 Video Tracker,Roboflow Dataset Upload,Event Writer,SAM 3,Detections Classes Replacement,Instance Segmentation Model,Qwen3.5-VL,Keypoint Detection Model,Roboflow Dataset Upload,Instance Segmentation Model,Multi-Label Classification Model,Object Detection Model,Keypoint Detection Model,Model Monitoring Inference Aggregator,GLM-OCR,SAM3 Video Tracker,SAM 3,Single-Label Classification Model
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Single-Label Classification Model in version v2 has.
Bindings
-
input
images(image): The image to infer on..model_id(roboflow_model_id): Roboflow model identifier..confidence(float_zero_to_one): Confidence threshold for predictions..disable_active_learning(boolean): Boolean flag to disable project-level active learning for this block..active_learning_target_dataset(roboflow_project): Target dataset for active learning, if enabled..
-
output
predictions(classification_prediction): Predictions from classifier.inference_id(inference_id): Inference identifier.model_id(roboflow_model_id): Roboflow model id.
Example JSON definition of step Single-Label Classification Model in version v2
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_classification_model@v2",
"images": "$inputs.image",
"model_id": "my_project/3",
"confidence": 0.3,
"disable_active_learning": true,
"active_learning_target_dataset": "my_project"
}
v1¶
Class: RoboflowClassificationModelBlockV1 (there are multiple versions of this block)
Warning: This block has multiple versions. Please refer to the specific version for details. You can learn more about how versions work here: Versioning
Run inference on a multi-class classification model hosted on or uploaded to Roboflow.
You can query any model that is private to your account, or any public model available on Roboflow Universe.
You will need to set your Roboflow API key in your Inference environment to use this block. To learn more about setting your Roboflow API key, refer to the Inference documentation.
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/roboflow_classification_model@v1to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
model_id |
str |
Roboflow model identifier.. | ✅ |
confidence |
float |
Confidence threshold for predictions.. | ✅ |
disable_active_learning |
bool |
Boolean flag to disable project-level active learning for this block.. | ✅ |
active_learning_target_dataset |
str |
Target dataset for active learning, if enabled.. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Single-Label Classification Model in version v1.
- inputs:
Image Slicer,Polygon Zone Visualization,VLM As Classifier,Contrast Enhancement,Semantic Segmentation Model,Stability AI Image Generation,Image Threshold,Line Counter Visualization,Trace Visualization,Semantic Segmentation Model,Multi-Label Classification Model,Camera Calibration,QR Code Generator,Icon Visualization,SIFT Comparison,Morphological Transformation,S3 Sink,Color Visualization,Single-Label Classification Model,Perspective Correction,Microsoft SQL Server Sink,Corner Visualization,Roboflow Custom Metadata,Twilio SMS Notification,Halo Visualization,Image Blur,Dynamic Zone,Morphological Transformation,Keypoint Detection Model,Camera Focus,JSON Parser,Email Notification,Roboflow Vision Events,Halo Visualization,Stability AI Inpainting,PTZ Tracking (ONVIF),Object Detection Model,Classification Label Visualization,Event Writer,Grid Visualization,Background Color Visualization,Mask Visualization,Ellipse Visualization,Email Notification,Reference Path Visualization,Image Slicer,Label Visualization,Identify Outliers,Text Display,Twilio SMS/MMS Notification,SIFT Comparison,OPC UA Writer Sink,Dot Visualization,Polygon Visualization,Identify Changes,Crop Visualization,Dynamic Crop,Absolute Static Crop,Circle Visualization,Image Preprocessing,Model Monitoring Inference Aggregator,Relative Static Crop,Camera Focus,VLM As Detector,Motion Detection,Heatmap Visualization,Blur Visualization,Object Detection Model,Depth Estimation,Stability AI Outpainting,Clip Comparison,Background Subtraction,Keypoint Visualization,Detections Consensus,Webhook Sink,Bounding Box Visualization,Stitch Images,PLC Reader,Image Convert Grayscale,Instance Segmentation Model,Contrast Equalization,VLM As Detector,Roboflow Visual Search,Triangle Visualization,Slack Notification,Roboflow Dataset Upload,Instance Segmentation Model,Pixelate Visualization,Keypoint Detection Model,Instance Segmentation Model,Roboflow Dataset Upload,PLC Writer,SIFT,Multi-Label Classification Model,Local File Sink,MQTT Writer,Image Contours,Polygon Visualization,VLM As Classifier,Model Comparison Visualization,Single-Label Classification Model,Roboflow Asset Library Attributes - outputs:
Line Counter,MoonshotAI Kimi,Stability AI Image Generation,Trace Visualization,Path Deviation,Anthropic Claude,Icon Visualization,SIFT Comparison,Morphological Transformation,Color Visualization,LMM For Classification,Perspective Correction,Corner Visualization,Roboflow Custom Metadata,Halo Visualization,Qwen-VL,Keypoint Detection Model,Email Notification,Halo Visualization,Google Gemma,Background Color Visualization,Email Notification,Ellipse Visualization,Twilio SMS/MMS Notification,Text Display,Polygon Visualization,Crop Visualization,Image Preprocessing,Model Monitoring Inference Aggregator,OpenRouter,OpenAI,Florence-2 Model,OpenAI,Heatmap Visualization,Perception Encoder Embedding Model,Depth Estimation,Instance Segmentation Model,Stability AI Outpainting,Anthropic Claude,YOLO-World Model,Google Gemini,Clip Comparison,Google Gemini,Keypoint Visualization,Webhook Sink,Florence-2 Model,Current Time,Contrast Equalization,OpenAI,Moondream2,Line Counter,Google Gemini,Triangle Visualization,Slack Notification,Time in Zone,CLIP Embedding Model,Multi-Label Classification Model,Local File Sink,Pixel Color Count,GLM-OCR,Roboflow Asset Library Attributes,Polygon Zone Visualization,Google Gemma API,Time in Zone,Stitch OCR Detections,Line Counter Visualization,Semantic Segmentation Model,Distance Measurement,Image Threshold,QR Code Generator,S3 Sink,Microsoft SQL Server Sink,Twilio SMS Notification,Google Vision OCR,Image Blur,Morphological Transformation,Roboflow Vision Events,Size Measurement,PTZ Tracking (ONVIF),Stability AI Inpainting,Classification Label Visualization,Stitch OCR Detections,Event Writer,Qwen3.5-VL,Llama 3.2 Vision,Mask Visualization,Reference Path Visualization,Label Visualization,OPC UA Writer Sink,Dot Visualization,Cache Set,Dynamic Crop,Detections Stitch,Circle Visualization,Llama 3.2 Vision,Path Deviation,SAM3 Video Tracker,Segment Anything 2 Model,OpenAI-Compatible LLM,MoonshotAI Kimi,CogVLM,Object Detection Model,Qwen 3.6 API,Bounding Box Visualization,LMM,OpenAI,SAM 3,Instance Segmentation Model,Roboflow Visual Search,Roboflow Dataset Upload,SAM 3,Cache Get,Detections Classes Replacement,Instance Segmentation Model,Roboflow Dataset Upload,Instance Segmentation Model,Qwen 3.5 API,Anthropic Claude,Time in Zone,MQTT Writer,Polygon Visualization,SAM 3,Model Comparison Visualization,Single-Label Classification Model,Seg Preview
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Single-Label Classification Model in version v1 has.
Bindings
-
input
images(image): The image to infer on..model_id(roboflow_model_id): Roboflow model identifier..confidence(float_zero_to_one): Confidence threshold for predictions..disable_active_learning(boolean): Boolean flag to disable project-level active learning for this block..active_learning_target_dataset(roboflow_project): Target dataset for active learning, if enabled..
-
output
predictions(classification_prediction): Predictions from classifier.inference_id(string): String value.
Example JSON definition of step Single-Label Classification Model in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_classification_model@v1",
"images": "$inputs.image",
"model_id": "my_project/3",
"confidence": 0.3,
"disable_active_learning": true,
"active_learning_target_dataset": "my_project"
}