Image Guard Policy
sdnext_image_guardEvaluate images against content-safety policies using guard models to block unsafe content.
Instructions
Run an image through a content-safety policy/guard model (SD.Next /sdapi/v1/image-guard).
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_image_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64-encoded image (raw base64, data: URL, or "upload:<id>" ref). | |
| model | No | Guard model name. | |
| policy | No | Policy definition. |