OutpaintingProcessingConfig for imagen-3.0-capability-001
blendingMode
string
The blending mode for outpainting. The values can be one of: * alpha-blending * pyramid-blending
blendingFactor
number
The blending factor for outpainting blending. Valid range: [0, 1]. Default value: 0
enableBorderReplicatePadding
boolean
Parameter to enable recompute with BORDER_REPLICATE mode for outpainting image padding.
Fix to one-side expansion issue by adding padding to the image and mask in the backend server and cropped them out in the post-processing.
JSON representation |
---|
{
"blendingMode": string,
"blendingFactor": number,
"enableBorderReplicatePadding": boolean,
"expansionConfig": {
object ( |
ExpansionConfig
ExpansionConfig to fix one-side expansion issue by adding padding to the image and mask in the backend server and cropped them out in the post-processing.
top
integer
Number of pixels to expand the image and mask from the top value is an integer that has a minimum of 0 and a maximum of 500.
bottom
integer
Number of pixels to expand the image and mask from the bottom value is an integer that has a minimum of 0 and a maximum of 500.
left
integer
Number of pixels to expand the image and mask from the left value is an integer that has a minimum of 0 and a maximum of 500.
right
integer
Number of pixels to expand the image and mask from the right value is an integer that has a minimum of 0 and a maximum of 500.
JSON representation |
---|
{ "top": integer, "bottom": integer, "left": integer, "right": integer } |