Workflow Name: [One-Click Background Replacement] Product Photography

[Workflow Introduction]
First, open the workflow and upload the image in the bottom left corner. On the left (1) position, your product image is displayed, and on the left (2) position, the desired product image is shown. Next, use SUPIR to perform image restoration; then, adjust the size of the main image using an external inpainting board. Subsequently, select the main subject with the Segment AnythingUltra_V2 node, provide the mask to ipadapter for redrawing, and combine it with the depth control of cn for generation by the sampler. Finally, overlay and enlarge for restoration. Once all the built-in parameters are set, click run to generate the corresponding content.

[Usage Scenarios]
This workflow can quickly replace the background of your product. By using an external inpainting board to adjust the size of the main image, the product can better integrate into the scene, significantly improving the efficiency of e-commerce operations. It saves e-commerce practitioners a lot of time and effort, enabling them to optimize product images more quickly, thereby better showcasing products, attracting consumers' attention, and enhancing product competitiveness. Whether for product detail page displays or advertising campaigns, this efficient background replacement workflow plays an important role, providing strong support for the development of e-commerce businesses.
[Key Nodes]
kolors inpainting, ipadapter,

[Model Version]
kolors
Model Name: chatglm 8bit.safetensors

[LoRA Model]
None

[ControlNet Application]
diffusers xl depth full.safetensors
Start Time: 0.2
End Time: 0.5
Strength: 0.5

[K Sampler]
CFG: 3
Sampling Method: dpmpp_3m_sde_gpu
Scheduler: exponential
Denoising: 1