Go to OpenArt main site
Upload workflow

Flux Background Replacer V3 (with ControlNet) for portraits, products, or various objects

5.0

0 reviews
115
28.9K
15.2K
17
Description

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’:

  1. 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.
  2. 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:

https://youtu.be/0UG7MOCYh4I

-------------------------------------------------------------------------------------------------------------------

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:

  1. Background Removal and Subject Placement: Isolates the subject and positions it on a gray reference background.
  2. Background Generation: Utilizes Flux models to create a new background that fills the area behind the subject.
  3. Relighting: Adjusts lighting and shadows on the subject to match the new background for a cohesive look.
  4. Repainting: Refines the subject’s appearance by restoring lost details and enhancing image quality.
  5. 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...

Author

13
85.3K
855
194.6K

No reviews yet

  • - latest (a month ago)

  • - v20240906-013051

  • - v20240902-083659

Primitive Nodes (32)

Anything Everywhere (1)

Fast Groups Bypasser (rgthree) (1)

FluxGuidance (1)

FluxResolutionNode (1)

GetNode (14)

Image Comparer (rgthree) (4)

InspyrenetRembgAdvanced (3)

Note (1)

SetNode (6)

Custom Nodes (52)

Comfyroll Studio

  • - CR Text (1)

ComfyUI

  • - VAEEncode (2)

  • - VAEDecode (2)

  • - ControlNetApplyAdvanced (2)

  • - ControlNetLoader (2)

  • - PreviewImage (10)

  • - ImageCompositeMasked (1)

  • - UNETLoader (1)

  • - DualCLIPLoader (1)

  • - CLIPTextEncode (2)

  • - VAELoader (1)

  • - GrowMask (1)

  • - KSampler (2)

  • - LoadImage (1)

  • - easy showAnything (1)

  • - MaskPreview+ (3)

  • - ImpactSwitch (1)

  • - LamaRemover (3)

  • - LayerUtility: ImageBlendAdvance V2 (1)

  • - LayerMask: MaskGrow (1)

  • - LayerColor: Exposure (1)

  • - AIO_Preprocessor (1)

  • - DetailTransfer (1)

  • - RestoreDetail (1)

  • - FloatSlider (3)

  • - Preview Chooser (1)

  • - Bus Node (2)

  • - Image Blend (1)

  • - Image Blank (1)

  • - Masks Subtract (1)

Checkpoints (0)

LoRAs (0)