feat: Add Bria Image Replace Background provider settings

- Added new Bria provider settings for Background Replace feature (bria:11@1)
- Implemented 5 new parameters: mode, enhanceReferenceImages, refinePrompt, originalQuality, forceBackgroundDetection
- Added useParams for all 12 Bria parameters to control parameter inclusion
- Implemented UI enable/disable toggle handler for better UX
- Updated clientlibs to handle Bria provider settings in UI
- Added workflow examples and model search updates
This commit is contained in:
Sirshendu Ganguly
2025-11-14 18:30:10 -05:00
parent 8a1ff27e43
commit 8c4cbd5ee6
7 changed files with 282 additions and 35 deletions
+4 -7
View File
@@ -252,15 +252,12 @@ class videoModelSearch:
dimensions = self.MODEL_DIMENSIONS.get(modelAirCode, self.DEFAULT_DIMENSIONS)
if useResolution:
width = customWidth if customWidth > 0 else dimensions["width"]
height = customHeight if customHeight > 0 else dimensions["height"]
width = dimensions["width"]
height = dimensions["height"]
if width == 0 and height == 0:
width = None
height = None
else:
width = 0
height = 0
width = None
height = None
return ({
"model": modelAirCode,