Install
openclaw skills install crop-imageUse this skill when an AI agent needs to crop images through the deployed Crop Image service. Trigger this for URL-based cropping (`POST /crop`) and file-upl...
openclaw skills install crop-imagehttps://api.imageclaw.nethttps://api.imageclaw.net/healthhttps://api.imageclaw.net/crophttps://api.imageclaw.net/crop/uploadhttps://api.imageclaw.net/docsurl must be a reachable image URL.width and height must be integers in [1, 4096].curl -sS -X POST "https://api.imageclaw.net/crop" \
-H "content-type: application/json" \
-d '{
"url": "https://picsum.photos/800/600",
"width": 256,
"height": 256
}'
cropped_urloriginal_sizeface_detectedPrefer upload mode for user-provided local files.
Call endpoint:
curl -sS -X POST "https://api.imageclaw.net/crop/upload" \
-F "file=@/absolute/path/to/photo.jpg" \
-F "width=256" \
-F "height=256"
cropped_urloriginal_sizeface_detected400: invalid image source or decode failure422: validation failure (invalid URL, invalid width/height)500: service or configuration failureWhen failure occurs:
detail.400/422.500 or network timeout.{
"cropped_url": "https://crop.imagebee.net/crops/1772761350_b8050bd6ec26.jpg",
"original_size": [800, 600],
"face_detected": false
}
{
"detail": "Not an image: content-type is application/json"
}