Flux Background Replacer (with ControlNet) for portraits, products, or various objects
3.0
2 reviewsDescription
Important: All versions of V1, V2 and V3 can be downloaded by clicking the buttons on the right. From top to bottom are V3, V2, V1.
If your project requires relighting capabilities, please use Flux Background Replacer V2, as Flux Background Replacer V3 does not include this feature. Below is a detailed comparison to help you understand the key differences between the two workflows:
Key Differences Between ‘Flux Background Replacer V2’ and ‘Flux Background Replacer V3’:
- Node Count and Complexity: Flux Background Replacer V2: A highly complex workflow featuring over 108 nodes, ideal for scenarios where precise image manipulation and blending are essential. Flux Background Replacer V3: With a more streamlined design, V3 contains 80 nodes, providing a simpler and more efficient workflow without compromising on quality.
- ControlNet Model and Edge Handling: Flux Background Replacer V2: Utilizes the ControlNet Canny model from Xlabs, which is specifically designed for advanced edge detection and outline preservation. This, combined with its relighting function, allows for photorealistic integration of subjects into the new background. Flux Background Replacer V3: Uses the ControlNet Depth model and Upscaler model from Jasper AI, optimized to control edges and outlines without the need for additional specialized nodes. This makes it easy to use the ‘Apply ControlNet’ node, saving time and simplifying setup.
For a detailed walkthrough, watch the Youtube video tutorial:
B站主页:https://space.bilibili.com/3546611913329493
-------------------------------------------------------------------------------------------------------------------
V2 Update: Fixed bug due to Xlabs Sampler. The new Xlabs Sampler has a new parameter, “Denoising Strength”. Don't forget to set “image_to_image_strength” to 1.
------------------------------------------------------------------------------------------------------------------
Welcome to a revolutionary ComfyUI workflow designed to simplify the process of changing photo backgrounds, whether for products, people, or various objects. This workflow harnesses the power of Flux models to create seamless background replacements, allowing for creative and professional edits with just a few steps.
Ideal for portrait photographers, product photographers, digital artists, and content creators, this workflow enhances images while preserving essential details, offering versatility and precision.
Functionality
The ComfyUI workflow specializes in changing backgrounds without compromising the integrity of the subject. It operates through five distinct node groups, each dedicated to a specific task:
- Background Removal and Subject Placement: Isolates the subject and positions it on a gray reference background.
- Background Generation: Utilizes Flux models to create a new background that fills the area behind the subject.
- Relighting: Adjusts lighting and shadows on the subject to match the new background for a cohesive look.
- Repainting: Refines the subject’s appearance by restoring lost details and enhancing image quality.
- Detail Restoration: Ensures all fine details are crisp and natural, bringing out the best in both the subject and the background.
This workflow not only changes backgrounds but also manages lighting, shadows, and details, making it a comprehensive tool for creating high-quality images.
Here are some examples:
Watch the tutorial to see these capabilities in action and follow along to master this powerful workflow.
Youtube: https://youtu.be/dkkyrv53Rp8
By following these steps and utilizing the resources provided, you can create stunning images with new backgrounds effortlessly. Happy editing!
Discussion
(No comments yet)
Loading...
Reviews
No reviews yet
Versions (3)
- latest (3 months ago)
- v20240906-013051
- v20240902-083659
Node Details
Primitive Nodes (32)
Anything Everywhere
Fast Groups Bypasser (rgthree)
FluxGuidance
FluxResolutionNode
GetNode
Image Comparer (rgthree)
InspyrenetRembgAdvanced
Note
SetNode
Custom Nodes (52)
- CR Text
ComfyUI
- VAEEncode
- VAEDecode
- ControlNetApplyAdvanced
- ControlNetLoader
- PreviewImage
- ImageCompositeMasked
- UNETLoader
- DualCLIPLoader
- CLIPTextEncode
- VAELoader
- GrowMask
- KSampler
- LoadImage
- easy showAnything
- MaskPreview+
- ImpactSwitch
- LamaRemover
- LayerUtility: ImageBlendAdvance V2
- LayerMask: MaskGrow
- LayerColor: Exposure
- AIO_Preprocessor
- DetailTransfer
- RestoreDetail
- FloatSlider
- Preview Chooser
- Bus Node
- Image Blend
- Image Blank
- Masks Subtract
Model Details
Checkpoints (0)
LoRAs (0)