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