mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs: section-prefix tool API endpoints
This commit is contained in:
@@ -8,7 +8,7 @@ AI-powered detection and correction of red eye caused by camera flash.
|
||||
|
||||
## API Endpoint
|
||||
|
||||
`POST /api/v1/tools/red-eye-removal`
|
||||
`POST /api/v1/tools/image/red-eye-removal`
|
||||
|
||||
**Processing:** Asynchronous (returns 202, poll `/api/v1/jobs/{jobId}/progress` for status via SSE)
|
||||
|
||||
@@ -27,7 +27,7 @@ AI-powered detection and correction of red eye caused by camera flash.
|
||||
## Example Request
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:1349/api/v1/tools/red-eye-removal \
|
||||
curl -X POST http://localhost:1349/api/v1/tools/image/red-eye-removal \
|
||||
-F "file=@flash-photo.jpg" \
|
||||
-F 'settings={"sensitivity":60,"strength":80}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user