ComfyUI Workflow
needed custom node: RvTools (Updated)
needs to be installed manually, manager registration is pending...
since setting up the masking areas or replace background can sometimes be quite a lot of work and it is annoying to turn the other groups on and off each time, here is a version of the workflow that only contains the areas for preparation. the output can then be loaded into the other workflows.
Description
fixed a connection mistake (grow mask with blur)
optimized some areas to speed up things
removed the image selector in bg replacement so Fg->BG and BG->FG work as intended now and use the color of every image in the batch not just the selected one -.^
added desaturation nodes after the color match
changed some noodleless senders to direct connections
removed not needed i2RGB nodes, the Failsafe (i2RGB) in SAM2 can be turned off
fixed an issue where imagecombinealpha was called even when save images was bypassed