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:
Morphological Transformation,Classification Label Visualization,Crop Visualization,Stability AI Outpainting,Blur Visualization,Reference Path Visualization,OpenAI,Anthropic Claude,Camera Focus,Instance Segmentation Model,Model Comparison Visualization,Florence-2 Model,Trace Visualization,JSON Parser,Label Visualization,Image Convert Grayscale,Florence-2 Model,Text Display,Qwen-VL,Llama 3.2 Vision,Image Blur,Keypoint Detection Model,Absolute Static Crop,CSV Formatter,Keypoint Detection Model,LMM,Qwen 3.5 API,Qwen 3.6 API,Camera Focus,VLM As Detector,Multi-Label Classification Model,Clip Comparison,Google Gemma API,Contrast Enhancement,Halo Visualization,Color Visualization,Morphological Transformation,MoonshotAI Kimi,Stitch OCR Detections,Event Writer,Stability AI Inpainting,Roboflow Asset Library Attributes,Microsoft SQL Server Sink,OpenAI,Roboflow Vision Events,Identify Outliers,CogVLM,Detections Consensus,Object Detection Model,OPC UA Writer Sink,Semantic Segmentation Model,Dynamic Crop,Bounding Box Visualization,Qwen3.5-VL,OpenAI,SIFT Comparison,OCR Model,Single-Label Classification Model,Slack Notification,OpenRouter,SIFT Comparison,Pixelate Visualization,Google Vision OCR,Google Gemma,Dynamic Zone,Halo Visualization,Stitch OCR Detections,GLM-OCR,Image Threshold,Stitch Images,Twilio SMS/MMS Notification,Icon Visualization,VLM As Classifier,MoonshotAI Kimi,Single-Label Classification Model,Google Gemini,Single-Label Classification Model,Webhook Sink,Instance Segmentation Model,QR Code Generator,MQTT Writer,Ellipse Visualization,Object Detection Model,Anthropic Claude,Keypoint Detection Model,Dot Visualization,Perspective Correction,Instance Segmentation Model,Roboflow Dataset Upload,SIFT,Google Gemini,EasyOCR,Local File Sink,Triangle Visualization,Contrast Equalization,Polygon Visualization,OpenAI,Heatmap Visualization,Google Gemini,LMM For Classification,VLM As Detector,Llama 3.2 Vision,Multi-Label Classification Model,Polygon Visualization,Email Notification,Identify Changes,Mask Visualization,Anthropic Claude,PTZ Tracking (ONVIF),Keypoint Visualization,Background Subtraction,Multi-Label Classification Model,Twilio SMS Notification,Email Notification,Semantic Segmentation Model,Image Slicer,Image Contours,Line Counter Visualization,Image Preprocessing,VLM As Classifier,Depth Estimation,Motion Detection,Current Time,Corner Visualization,Polygon Zone Visualization,Camera Calibration,Roboflow Dataset Upload,Grid Visualization,Stability AI Image Generation,S3 Sink,Circle Visualization,Image Slicer,Roboflow Custom Metadata,Relative Static Crop,Instance Segmentation Model,Model Monitoring Inference Aggregator,OpenAI-Compatible LLM,Object Detection Model,Background Color Visualization - outputs:
Multi-Label Classification Model,GLM-OCR,Classification Label Visualization,Detections Classes Replacement,Single-Label Classification Model,Single-Label Classification Model,Webhook Sink,Multi-Label Classification Model,Roboflow Vision Events,Instance Segmentation Model,Instance Segmentation Model,Semantic Segmentation Model,Object Detection Model,SmolVLM2,Keypoint Detection Model,Object Detection Model,Instance Segmentation Model,SAM 3,Semantic Segmentation Model,Qwen-VL,Roboflow Dataset Upload,Keypoint Detection Model,Qwen3.5-VL,Qwen3.5,Keypoint Detection Model,Roboflow Dataset Upload,Moondream2,Qwen2.5-VL,SAM 3,SAM 3,SAM2 Video Tracker,Single-Label Classification Model,Roboflow Custom Metadata,Qwen3-VL,Multi-Label Classification Model,Instance Segmentation Model,Model Monitoring Inference Aggregator,Object Detection Model,SAM3 Video Tracker,Event Writer
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:
Halo Visualization,Image Threshold,Stitch Images,Morphological Transformation,Classification Label Visualization,Twilio SMS/MMS Notification,Crop Visualization,Icon Visualization,Stability AI Outpainting,Blur Visualization,VLM As Classifier,Reference Path Visualization,Single-Label Classification Model,Single-Label Classification Model,Webhook Sink,Camera Focus,Instance Segmentation Model,QR Code Generator,Instance Segmentation Model,Model Comparison Visualization,MQTT Writer,Trace Visualization,Ellipse Visualization,Object Detection Model,Keypoint Detection Model,Dot Visualization,Perspective Correction,Label Visualization,Image Convert Grayscale,Instance Segmentation Model,JSON Parser,Text Display,Roboflow Dataset Upload,Image Blur,Absolute Static Crop,SIFT,Keypoint Detection Model,Local File Sink,Triangle Visualization,Camera Focus,Contrast Equalization,Polygon Visualization,VLM As Detector,Heatmap Visualization,Multi-Label Classification Model,Clip Comparison,Contrast Enhancement,Halo Visualization,Color Visualization,Morphological Transformation,VLM As Detector,Event Writer,Identify Changes,Multi-Label Classification Model,Polygon Visualization,Email Notification,Mask Visualization,Stability AI Inpainting,Roboflow Asset Library Attributes,PTZ Tracking (ONVIF),Keypoint Visualization,Microsoft SQL Server Sink,Background Subtraction,Roboflow Vision Events,Identify Outliers,Twilio SMS Notification,Email Notification,Semantic Segmentation Model,Image Slicer,Image Contours,Line Counter Visualization,Detections Consensus,Image Preprocessing,Semantic Segmentation Model,OPC UA Writer Sink,Dynamic Crop,VLM As Classifier,Depth Estimation,Bounding Box Visualization,Motion Detection,Corner Visualization,Polygon Zone Visualization,Camera Calibration,Roboflow Dataset Upload,Grid Visualization,Stability AI Image Generation,S3 Sink,Circle Visualization,Image Slicer,SIFT Comparison,Roboflow Custom Metadata,Relative Static Crop,Model Monitoring Inference Aggregator,Object Detection Model,Slack Notification,SIFT Comparison,Pixelate Visualization,Background Color Visualization,Dynamic Zone - outputs:
Multi-Label Classification Model,GLM-OCR,Classification Label Visualization,Detections Classes Replacement,Single-Label Classification Model,Single-Label Classification Model,Webhook Sink,Multi-Label Classification Model,Roboflow Vision Events,Instance Segmentation Model,Instance Segmentation Model,Semantic Segmentation Model,Object Detection Model,SmolVLM2,Keypoint Detection Model,Object Detection Model,Instance Segmentation Model,SAM 3,Semantic Segmentation Model,Qwen-VL,Roboflow Dataset Upload,Keypoint Detection Model,Qwen3.5-VL,Qwen3.5,Keypoint Detection Model,Roboflow Dataset Upload,Moondream2,Qwen2.5-VL,SAM 3,SAM 3,SAM2 Video Tracker,Single-Label Classification Model,Roboflow Custom Metadata,Qwen3-VL,Multi-Label Classification Model,Instance Segmentation Model,Model Monitoring Inference Aggregator,Object Detection Model,SAM3 Video Tracker,Event Writer
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:
Halo Visualization,Image Threshold,Stitch Images,Morphological Transformation,Classification Label Visualization,Twilio SMS/MMS Notification,Crop Visualization,Icon Visualization,Stability AI Outpainting,Blur Visualization,VLM As Classifier,Reference Path Visualization,Single-Label Classification Model,Single-Label Classification Model,Webhook Sink,Camera Focus,Instance Segmentation Model,QR Code Generator,Instance Segmentation Model,Model Comparison Visualization,MQTT Writer,Trace Visualization,Ellipse Visualization,Object Detection Model,Keypoint Detection Model,Dot Visualization,Perspective Correction,Label Visualization,Image Convert Grayscale,Instance Segmentation Model,JSON Parser,Text Display,Roboflow Dataset Upload,Image Blur,Absolute Static Crop,SIFT,Keypoint Detection Model,Local File Sink,Triangle Visualization,Camera Focus,Contrast Equalization,Polygon Visualization,VLM As Detector,Heatmap Visualization,Multi-Label Classification Model,Clip Comparison,Contrast Enhancement,Halo Visualization,Color Visualization,Morphological Transformation,VLM As Detector,Event Writer,Identify Changes,Multi-Label Classification Model,Polygon Visualization,Email Notification,Mask Visualization,Stability AI Inpainting,Roboflow Asset Library Attributes,PTZ Tracking (ONVIF),Keypoint Visualization,Microsoft SQL Server Sink,Background Subtraction,Roboflow Vision Events,Identify Outliers,Twilio SMS Notification,Email Notification,Semantic Segmentation Model,Image Slicer,Image Contours,Line Counter Visualization,Detections Consensus,Image Preprocessing,Semantic Segmentation Model,OPC UA Writer Sink,Dynamic Crop,VLM As Classifier,Depth Estimation,Bounding Box Visualization,Motion Detection,Corner Visualization,Polygon Zone Visualization,Camera Calibration,Roboflow Dataset Upload,Grid Visualization,Stability AI Image Generation,S3 Sink,Circle Visualization,Image Slicer,SIFT Comparison,Roboflow Custom Metadata,Relative Static Crop,Model Monitoring Inference Aggregator,Object Detection Model,Slack Notification,SIFT Comparison,Pixelate Visualization,Background Color Visualization,Dynamic Zone - outputs:
Morphological Transformation,Classification Label Visualization,Crop Visualization,Stability AI Outpainting,Reference Path Visualization,OpenAI,YOLO-World Model,Detections Classes Replacement,Anthropic Claude,Instance Segmentation Model,Size Measurement,Model Comparison Visualization,Florence-2 Model,Trace Visualization,Label Visualization,Florence-2 Model,Qwen-VL,Text Display,Llama 3.2 Vision,Image Blur,Keypoint Detection Model,LMM,Qwen 3.5 API,Qwen 3.6 API,Line Counter,Detections Stitch,Clip Comparison,Google Gemma API,Halo Visualization,Stitch OCR Detections,MoonshotAI Kimi,Color Visualization,Morphological Transformation,Event Writer,Stability AI Inpainting,Cache Set,Microsoft SQL Server Sink,Time in Zone,Roboflow Asset Library Attributes,OpenAI,Roboflow Vision Events,CogVLM,OPC UA Writer Sink,Semantic Segmentation Model,Dynamic Crop,Path Deviation,Bounding Box Visualization,Qwen3.5-VL,SAM 3,Cache Get,OpenAI,Time in Zone,Slack Notification,OpenRouter,Google Vision OCR,SIFT Comparison,SAM3 Video Tracker,Google Gemma,Halo Visualization,CLIP Embedding Model,Stitch OCR Detections,GLM-OCR,Image Threshold,Twilio SMS/MMS Notification,Icon Visualization,MoonshotAI Kimi,Single-Label Classification Model,Google Gemini,Webhook Sink,Instance Segmentation Model,QR Code Generator,Path Deviation,MQTT Writer,Ellipse Visualization,Anthropic Claude,Dot Visualization,Perspective Correction,Instance Segmentation Model,Seg Preview,Roboflow Dataset Upload,Google Gemini,Local File Sink,SAM 3,Triangle Visualization,Contrast Equalization,Time in Zone,Polygon Visualization,OpenAI,Heatmap Visualization,Perception Encoder Embedding Model,Google Gemini,LMM For Classification,Llama 3.2 Vision,Multi-Label Classification Model,Polygon Visualization,Email Notification,Mask Visualization,Anthropic Claude,Distance Measurement,PTZ Tracking (ONVIF),Keypoint Visualization,Twilio SMS Notification,Email Notification,Line Counter Visualization,Image Preprocessing,SAM 3,Depth Estimation,Pixel Color Count,Current Time,Roboflow Dataset Upload,Polygon Zone Visualization,Moondream2,Segment Anything 2 Model,Corner Visualization,Stability AI Image Generation,S3 Sink,Circle Visualization,Roboflow Custom Metadata,Instance Segmentation Model,Model Monitoring Inference Aggregator,OpenAI-Compatible LLM,Object Detection Model,Background Color Visualization,Line Counter
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"
}