ComfyUI Node
Outpaint Board
Grow the canvas outwards and hand back both the padded picture and a mask of the new area. Input pixels are copied, never resampled, so the picture sits exactly where it did. Drive it from the panel: drag the four sides, or click outside the frame to snap that side to the cursor.
Outpaint Board
- image
- mask
- image
- mask
- has_padding
◄unitpixels►
◄left0►
◄right0►
◄top0►
◄bottom0►
◄max_output_side0►
◄divisible_by0►
◄pad_color#808080►
CategoryQG-tools/Image
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The picture to grow. Padding is added around it; the picture itself is copied into the bigger canvas, never resampled or cropped. | |
| unit | COMBO | pixels | pixels: the four side values are literal pixels. percent: left/right read against the width, top/bottom against the height. |
| left | INT | 00–16384 | How far to grow the left side. pixels: literal pixels; percent: a share of the width. 0 = none. |
| right | INT | 00–16384 | How far to grow the right side. pixels: literal pixels; percent: a share of the width. 0 = none. |
| top | INT | 00–16384 | How far to grow the top side. pixels: literal pixels; percent: a share of the height. 0 = none. |
| bottom | INT | 00–16384 | How far to grow the bottom side. pixels: literal pixels; percent: a share of the height. 0 = none. |
| max_output_side | INT | 00–16384 | 0 = no ceiling. When the canvas would go past it, only the padding is trimmed - the picture is never cropped or rescaled. A picture already over the limit drops all padding and says so. |
| divisible_by | INT | 00–256 | 0 = leave the canvas alone. Above 1 the canvas is rounded up to a multiple of this, and the extra goes on the right and bottom, so the picture keeps its position. 8 / 16 / 32 / 64 are the usual picks. |
| pad_color | STRING | #808080 | Fill for the new area. Takes #RRGGBB, #ABC, a colour name such as gray, 128,128,128, or 0.5. |
| maskopt | MASK | Optional existing repaint mask. It is copied into the output mask inside the frame; every new pixel is 1.0. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| has_padding | BOOLEAN | — |