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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user