ComfyUI Node
Stability Replace Background and Relight
A ComfyUI node in Stability with 14 inputs and 1 output.
Stability Replace Background and Relight
- subject_image
- background_reference
- light_reference
- IMAGE
◄background_prompt—►
◄foreground_prompt—►
◄negative_prompt—►
◄preserve_original_subject0.60►
◄original_background_depth0.50►
◄keep_original_backgroundfalse►
◄light_source_direction▾►
◄light_source_strength0.30►
◄seed0►
◄output_format▾►
◄api_key_override—►
CategoryStability
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| subject_image | IMAGE | — | |
| background_referenceopt | IMAGE | — | |
| background_promptopt | STRING | — | |
| foreground_promptopt | STRING | — | |
| negative_promptopt | STRING | — | |
| preserve_original_subjectopt | FLOAT | 0.600–1 | — |
| original_background_depthopt | FLOAT | 0.500–1 | — |
| keep_original_backgroundopt | BOOLEAN | false | — |
| light_source_directionopt | COMBO | 5 options: none, above, below, left, right | |
| light_referenceopt | IMAGE | — | |
| light_source_strengthopt | FLOAT | 0.300–1 | — |
| seedopt | INT | 00–4294967294 | — |
| output_formatopt | COMBO | 3 options: png, webp, jpeg | |
| api_key_overrideopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |