Inputs
When
expand_mode is custom_ratio, ratio_width and ratio_height define a target aspect ratio. Bria only accepts width-to-height ratios between 0.5 and 3.0. If the ratio is outside this range, an error is raised and the manual mode should be used instead.
When expand_mode is manual, the original image is placed on a canvas at the specified size and position. The image may extend outside the canvas, in which case the outside portion is cropped.
When moderation is true, the three moderation booleans are sent to Bria. When moderation is false, they are ignored.
Outputs
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
d2c9431837f200ccbcb39037f7b26013494c4dea3d40d899db4e717ddbbea71c