Nodes/ComfyUI-Pixaroma/Outpaint Pixaroma
ComfyUI Node

Outpaint Pixaroma

Pads an image with a solid colour so an outpainting model can fill the new area in, then optionally scales the result down to a megapixel limit and reports the final size. Mid grey is the default fill. Any colour works, but a strongly coloured fill can tint the whole generated image, because a model trained to replace it learns the colour as well as the shape. Grey is neutral, so it has no hue to bleed. To ratio grows the image to a target shape and the anchor decides which side the new space appears on. By side lets you set an exact number of pixels per edge. The megapixel limit is optional: with it off the image keeps its padded size. The width and height outputs report the FINAL size, so they can feed an empty latent directly.

By pixaroma·Created 5 months ago·Updated 23 days ago· 271
Outpaint Pixaroma
  • image
  • image
  • width
  • height
Category👑 Pixaroma/✂️ Resize & Crop

Inputs (1)

NameTypeDefaultDescription
imageIMAGEThe image to pad. Wire any image source here.

Outputs (3)

NameTypeDescription
imageIMAGEThe padded image, scaled to the megapixel limit when one is set.
widthINTFinal width in pixels, after padding and any scaling.
heightINTFinal height in pixels, after padding and any scaling.