mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs: sync api documentation
This commit is contained in:
@@ -51,7 +51,7 @@ curl -X POST http://localhost:1349/api/v1/tools/image/content-aware-resize \
|
||||
|
||||
## Notes
|
||||
|
||||
- This tool returns a synchronous response (not 202 async). Processing happens inline.
|
||||
- This custom route currently returns a synchronous 200 response.
|
||||
- Uses the `caire` seam carving library for content-aware resizing.
|
||||
- Only reduces dimensions (removes seams). Cannot expand an image beyond its original size.
|
||||
- The `protectFaces` option uses AI face detection to mark face regions as high-energy, preventing seams from passing through faces.
|
||||
|
||||
Reference in New Issue
Block a user