Spaces:
Running
on
T4
Running
on
T4
Commit
·
a9b6d73
1
Parent(s):
91da7a0
docs: add /remove-pink endpoint to API documentation
Browse files- api/main.py +1 -0
api/main.py
CHANGED
|
@@ -72,6 +72,7 @@ def root() -> Dict[str, object]:
|
|
| 72 |
"POST /upload-mask": "form-data: mask=file",
|
| 73 |
"POST /inpaint": "JSON: {image_id, mask_id}",
|
| 74 |
"POST /inpaint-multipart": "form-data: image=file, mask=file",
|
|
|
|
| 75 |
"GET /download/{filename}": "download result image",
|
| 76 |
"GET /result/{filename}": "view result image in browser",
|
| 77 |
"GET /logs": "recent uploads/results",
|
|
|
|
| 72 |
"POST /upload-mask": "form-data: mask=file",
|
| 73 |
"POST /inpaint": "JSON: {image_id, mask_id}",
|
| 74 |
"POST /inpaint-multipart": "form-data: image=file, mask=file",
|
| 75 |
+
"POST /remove-pink": "form-data: image=file (auto-detects pink segments and removes them)",
|
| 76 |
"GET /download/{filename}": "download result image",
|
| 77 |
"GET /result/{filename}": "view result image in browser",
|
| 78 |
"GET /logs": "recent uploads/results",
|