feat: add content-aware resize API route and registration

This commit is contained in:
Siddharth Kumar Sah
2026-04-07 23:29:21 +08:00
parent d3b646207d
commit d464942cd9
4 changed files with 163 additions and 0 deletions
+1
View File
@@ -383,4 +383,5 @@ export const PYTHON_SIDECAR_TOOLS = [
"blur-faces",
"erase-object",
"ocr",
"content-aware-resize",
] as const;
+4
View File
@@ -66,6 +66,10 @@ export const en = {
description: "Auto-detect and blur faces and sensitive info",
},
"smart-crop": { name: "Smart Crop", description: "AI detects subject and crops optimally" },
"content-aware-resize": {
name: "Content-Aware Resize",
description: "Intelligently resize images while preserving important content",
},
"watermark-text": { name: "Text Watermark", description: "Add text watermark overlay" },
"watermark-image": { name: "Image Watermark", description: "Overlay a logo as watermark" },
"text-overlay": { name: "Text Overlay", description: "Add styled text to images" },