ComfyUI Node Runs on cloud
Canvas (RMBG)
A ComfyUI node in 🧪AILab/🖼️IMAGE with 8 inputs and 2 outputs.
Canvas (RMBG)
- background_color
- Background
- layer_1
- IMAGE
- MASK
◄canvas_width640►
◄canvas_height360►
◄backgroundAlpha►
◄fit_background_sizefalse►
◄canvas_state{}►
Category🧪AILab/🖼️IMAGE
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| canvas_width | INT | 64064–8192 | Canvas width in pixels when not fitting background image size. |
| canvas_height | INT | 36064–8192 | Canvas height in pixels when not fitting background image size. |
| background | COMBO | Alpha | Choose background type: Alpha (transparent) or Color (custom background color). |
| background_color | COLORCODE | #222222 | Pick background color (use color picker). |
| fit_background_size | BOOLEAN | false | When True, canvas dimensions match the background image. When False, canvas dimensions use canvas_width and canvas_height. |
| canvas_state | STRING | {} | Serialized JSON layout containing layer coordinates, scales, rotations, and order. |
| Backgroundopt | IMAGE | Optional background image input. | |
| layer_1opt | IMAGE | Layer 1 image input. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |