Uses Sharp's attention or entropy strategy to find the most visually interesting region and crops around it.
### Face Mode
Detects faces using AI, then frames the crop around detected faces using the specified `facePreset`. Falls back to subject mode (attention strategy) if no faces are detected.
### Trim Mode
Removes uniform borders/background from the image. Optionally pads the result to a square with a specified background color and target size.
## Notes
- This tool uses the synchronous `createToolRoute` factory, so it returns a standard response (not 202 async).
- Face mode requires the `face-detection` model bundle (200-300 MB).
- Subject and trim modes work without any AI model bundle.
- The `facePreset` determines how tightly the crop frames detected faces: `closeup` is the tightest, `half-body` is the widest.
- If no width/height are specified, defaults to 1080x1080.