ComfyUI Node

Outpaint Setup (Canvas + Flat Image)

Place a flat image onto a transparent equirectangular canvas for outpainting.

By cedarconnor·Created about a year ago·Updated 6 months ago· 2
Outpaint Setup (Canvas + Flat Image)
  • flat_image
  • composite_image
  • outpaint_mask
  • stitch_context
canvas_width2048
canvas_height1024
force_2by1_aspecttrue
placement_mode2d_composite
scale1.00
translate_x0
translate_y0
yaw0
pitch0
fov90
feather_size50
CategoryLatLong/Outpaint

Inputs (12)

NameTypeDefaultDescription
flat_imageIMAGESource rectilinear image to place.
canvas_widthINT2048512–8192Width of the equirectangular canvas.
canvas_heightINT1024256–4096Height of the equirectangular canvas (ignored if force 2:1 is enabled).
force_2by1_aspectBOOLEANtrueForce 2:1 aspect ratio (height = width/2). Required for equirectangular format.
placement_modeCOMBO2d_composite2 options: 2d_composite, perspective
scaleFLOAT1.000.01–100Image size multiplier. 1.0 = original size relative to canvas.
translate_xINT0-4096–40962D only: Horizontal pixel offset.
translate_yINT0-4096–40962D only: Vertical pixel offset.
yawFLOAT0-180–180Perspective only: Horizontal view angle.
pitchFLOAT0-90–90Perspective only: Vertical view angle.
fovFLOAT9010–170Perspective only: Field of View at scale=1.0.
feather_sizeINT500–500Inner feathering in pixels.

Outputs (3)

NameTypeDescription
composite_imageIMAGE
outpaint_maskMASK
stitch_contextSTITCH_CONTEXT