Sign In

Img2img Replace Background

16

266

9

Type

Workflows

Stats

266

0

Reviews

Published

Apr 12, 2025

Base Model

Other

Hash

AutoV2
BB3426A0BC
default creator card background decoration
2012shawn's Avatar

2012shawn

This workflow will replace the background of an image and allow you to alter the colors, flip, flop or morph the background, foreground and output images.

For best results both images should be the same height and width. Or you can set the "Keep proportion" to false on the "Resize Image" node and it will stretch the foreground to fit the background.

This workflow will install the following node packs.

WAS Node Suite

ComfyUI-KJNodes

ComfyUI_essentials

ComfyUI-MingNodes

ComfyUI-Video-Matting

This assumes you already have the Comfyui Manager installed. If not, you will need to install it first before using this workflow.

Download and unzip the workflow to the ComfyUI/user/default/workflows folder.

Open the workflow in Comfy. You will get a message stating the missing nodes. Close the message.

Open the ComfyUI Manager and choose “Install Missing Nodes in Workflow” and install all missing nodes on the list. Restart and refresh.

Restart and refresh the ComfyUI and you’re set.