Nodes/24oiduts-ComfyUI/Studio42 Layer Composer
ComfyUI Node

Studio42 Layer Composer

A ComfyUI node in Studio42/Composition with 25 inputs and 2 outputs.

By GeekyGhost·Created 11 months ago·Updated 9 months ago· 0
Studio42 Layer Composer
  • background
  • foreground
  • foreground_mask
  • composite_image
  • composite_mask
blend_modenormal
opacity1.00
x_position0
y_position0
position_modecustom
scale_x1.00
scale_y1.00
fit_modenone
maintain_aspecttrue
rotation0.0
anchor_x0.50
anchor_y0.50
flip_horizontalfalse
flip_verticalfalse
feather_edges0
anti_aliasingtrue
clip_to_backgroundtrue
use_proxy_workflowtrue
proxy_max_resolution2048
upscale_methodbicubic
batch_processing_modeauto
max_chunk_size16
CategoryStudio42/Composition

Inputs (25)

NameTypeDefaultDescription
backgroundIMAGE
foregroundIMAGE
blend_modeCOMBOnormal17 options: normal, multiply, screen, overlay, soft_light, hard_light, +11
opacityFLOAT1.000–1
foreground_maskoptMASK
x_positionoptINT0-4000–4000X coordinate (pixels from left, 0 = left edge)
y_positionoptINT0-4000–4000Y coordinate (pixels from top, 0 = top edge)
position_modeoptCOMBOcustomPositioning mode - 'custom' uses x/y coordinates directly
scale_xoptFLOAT1.000.01–5
scale_yoptFLOAT1.000.01–5
fit_modeoptCOMBOnone6 options: none, fit_width, fit_height, fit_both, fill, stretch
maintain_aspectoptBOOLEANtrue
rotationoptFLOAT0.0-360–360
anchor_xoptFLOAT0.500–1
anchor_yoptFLOAT0.500–1
flip_horizontaloptBOOLEANfalse
flip_verticaloptBOOLEANfalse
feather_edgesoptINT00–50
anti_aliasingoptBOOLEANtrue
clip_to_backgroundoptBOOLEANtrue
use_proxy_workflowoptBOOLEANtrueScale down large images for faster processing
proxy_max_resolutionoptINT2048512–4096Maximum resolution for proxy processing
upscale_methodoptCOMBObicubicMethod for upscaling final result
batch_processing_modeoptCOMBOautoauto=intelligent, full_batch=fastest, chunked=safest
max_chunk_sizeoptINT161–64Maximum images per chunk (only used in chunked mode)

Outputs (2)

NameTypeDescription
composite_imageIMAGE
composite_maskMASK