Edge detect (Canny)
Try it interactively →POST /api/image-edgesRun Canny edge detection on an image. Returns a black-on-white edge map. Configurable thresholds. Useful for line-art generation, contour analysis, and design tracing.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | Input image bytes. |
| lowerThreshold | number (0…1000) | 50 | Canny lower hysteresis threshold. |
| upperThreshold | number (0…1000) | 150 | Canny upper hysteresis threshold. |
| blurKernel | number (0…31) | 5 | Gaussian blur kernel size before Canny (odd; 0 disables). |
Response
Modes: binary, json. Cache: yes (24h TTL).