ComfyUI Node
Studio42 Layer Composer
A ComfyUI node in Studio42/Composition with 25 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| background | IMAGE | — | |
| foreground | IMAGE | — | |
| blend_mode | COMBO | normal | 17 options: normal, multiply, screen, overlay, soft_light, hard_light, +11 |
| opacity | FLOAT | 1.000–1 | — |
| foreground_maskopt | MASK | — | |
| x_positionopt | INT | 0-4000–4000 | X coordinate (pixels from left, 0 = left edge) |
| y_positionopt | INT | 0-4000–4000 | Y coordinate (pixels from top, 0 = top edge) |
| position_modeopt | COMBO | custom | Positioning mode - 'custom' uses x/y coordinates directly |
| scale_xopt | FLOAT | 1.000.01–5 | — |
| scale_yopt | FLOAT | 1.000.01–5 | — |
| fit_modeopt | COMBO | none | 6 options: none, fit_width, fit_height, fit_both, fill, stretch |
| maintain_aspectopt | BOOLEAN | true | — |
| rotationopt | FLOAT | 0.0-360–360 | — |
| anchor_xopt | FLOAT | 0.500–1 | — |
| anchor_yopt | FLOAT | 0.500–1 | — |
| flip_horizontalopt | BOOLEAN | false | — |
| flip_verticalopt | BOOLEAN | false | — |
| feather_edgesopt | INT | 00–50 | — |
| anti_aliasingopt | BOOLEAN | true | — |
| clip_to_backgroundopt | BOOLEAN | true | — |
| use_proxy_workflowopt | BOOLEAN | true | Scale down large images for faster processing |
| proxy_max_resolutionopt | INT | 2048512–4096 | Maximum resolution for proxy processing |
| upscale_methodopt | COMBO | bicubic | Method for upscaling final result |
| batch_processing_modeopt | COMBO | auto | auto=intelligent, full_batch=fastest, chunked=safest |
| max_chunk_sizeopt | INT | 161–64 | Maximum images per chunk (only used in chunked mode) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| composite_image | IMAGE | — |
| composite_mask | MASK | — |