OutpaintingProcessingConfig for imagen-3.0-capability-001
blendingModestring
The blending mode for outpainting. The values can be one of: * alpha-blending * pyramid-blending
blendingFactornumber
The blending factor for outpainting blending. Valid range: [0, 1]. Default value: 0
enableBorderReplicatePaddingboolean
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.
topinteger
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.
bottominteger
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.
leftinteger
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.
rightinteger
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 } |