Auto-enhance
Try it interactively →POST /api/image-auto-enhanceAuto-enhance a photo: stretch the histogram, normalize contrast, and optionally sharpen. The "I feel lucky" button for quick image cleanup.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | Input image bytes. |
| claheClipLimit | number (0.5…10) | 2 | CLAHE clip limit (higher = stronger contrast). |
| sharpenStrength | number (0…4) | 1 | Unsharp mask strength (0 disables). |
| saturationBoost | number (0.5…2) | 1.05 | Multiplier on chroma channels (1 = no change). |
| format | enum (jpeg | png) | "jpeg" | Output encoding. |
| quality | number (1…100) | 90 | JPEG quality. |
Response
Modes: binary, json. Cache: yes (24h TTL).