ComfyUI Node
Abstract Image Background
A ComfyUI node in AbstractImage/Background with 12 inputs and 1 output.
Abstract Image Background
- IMAGE
◄width512►
◄height512►
◄seed0►
◄randomizefalse►
◄background_typesolid►
◄solid_color_moderandom►
◄solid_color_hex►
◄gradient_color_mode_startrandom►
◄gradient_color_mode_endrandom►
◄gradient_start_hex►
◄gradient_end_hex►
◄gradient_directionvertical►
CategoryAbstractImage/Background
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 51264–2048 | Width of the generated image. |
| height | INT | 51264–2048 | Height of the generated image. |
| seed | INT | 00–18446744073709550000 | Seed for background randomness. |
| randomize | BOOLEAN | false | If true, randomize background type, colors, and gradient direction using the seed. Hex inputs override random colors if valid. |
| background_type | COMBO | solid | Choose between a solid color or gradient background. |
| solid_color_mode | COMBO | random | Color selection mode for solid background. |
| solid_color_hex | STRING | Hex code for solid color background (overrides Solid Color Mode if valid). Example: #FF0000 for red. | |
| gradient_color_mode_start | COMBO | random | Color selection mode for the gradient start color. |
| gradient_color_mode_end | COMBO | random | Color selection mode for the gradient end color. |
| gradient_start_hex | STRING | Hex code for gradient start color (overrides Start Color Mode if valid). Example: #00FF00 for green. | |
| gradient_end_hex | STRING | Hex code for gradient end color (overrides End Color Mode if valid). Example: #0000FF for blue. | |
| gradient_direction | COMBO | vertical | Direction of the gradient. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |