ComfyUI Node: Stability Replace Background and Relight

Authored by Stability-AI

Created

Updated

58 stars

Category

Stability

Inputs

subject_image IMAGE
background_reference IMAGE
background_prompt STRING
foreground_prompt STRING
negative_prompt STRING
preserve_original_subject FLOAT
original_background_depth FLOAT
keep_original_background BOOLEAN
light_source_direction
  • none
  • above
  • below
  • left
  • right
light_reference IMAGE
light_source_strength FLOAT
seed INT
output_format
  • png
  • webp
  • jpeg
api_key_override STRING

Outputs

IMAGE

Extension: Stability API nodes for ComfyUI

Nodes:Stability SD3, Stability Outpainting, Stability Search and Replace, Stability Image Core, Stability Inpainting, Stability Remove Background, Stability Creative Upscale. Add API key to environment variable 'SAI_API_KEY' Alternatively you can write your API key to file 'sai_platform_key.txt' You can also use and/or override the above by entering your API key in the 'api_key_override' field of each node.

Authored by Stability-AI

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more