Detect Faces/Objects (YOLO)
sdnext_detectRun YOLO object/face detection on an image to identify objects, generate bounding boxes, labels, confidence scores, and cropped regions for further processing.
Instructions
Detect faces/objects in an image with YOLO (SD.Next /sdapi/v1/detect). Returns classes, labels, boxes, crops, scores.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "sdnext_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64-encoded image (raw base64, data: URL, or "upload:<id>" ref). | |
| model | No | Detection model name (from sdnext_list_detailers). |