Ir para o conteúdo
WorkflowListadosExterno
Fonte aberta

Img2img Replace Background

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.

TarefaImagem para imagemEstimado VRAMNot yet characterizedBnota

Perfil de execução

Acesso
Fluxo de trabalho externo
Status
Listados
Fonte
Civitai
Atualizado
25 de out. de 2026

Descrição da fonte

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.

What you need

Model files
0 GiB

Remaining hardware or download-size estimates are not available yet.

Requisitos

Pacotes de nós

5

Comentário gerado por IA

Explicação gerada por IA com base nos detalhes da fonte e da configuração. As sugestões são claramente identificadas.

Propósito

  • Img2img Replace Background uses foreground and background images to replace an image’s background, and lets you alter colors or flip, flop, or morph the background, foreground, and output images.

Entradas e saídas

  • The workflow uses foreground and background images; its output image can also be altered.

Configuração

  • If you don’t already have ComfyUI Manager, install it first; unzip the workflow into `ComfyUI/user/default/workflows`.

    Sugestão · não verificado

  • Open the workflow, dismiss the missing-nodes message, use ComfyUI Manager’s “Install Missing Nodes in Workflow” option, then restart and refresh ComfyUI.

    Sugestão · não verificado

Dependências

  • It requires ComfyUI-KJNodes, ComfyUI_essentials, ComfyUI-MingNodes, and ComfyUI-Video-Matting.

  • The setup notes also name WAS Node Suite; check whether it appears in ComfyUI Manager’s missing-node list.

    Sugestão · não verificado

Configuração

  • For best results, use foreground and background images with the same height and width.

    Sugestão · não verificado

  • If their dimensions differ, set “Keep proportion” to false on the “Resize Image” node to stretch the foreground to fit the background.

    Sugestão · não verificado

Isso precisa ser editado?

Faça login para enviar uma solicitação de edição.

Fontes

1 fonte
CivitaiPrimário
civitai.com/models/1462970

Verificado 19 de jul.

Trechos de fonte

1 trecho

Source context: 497 downloads · Type Workflows · Base model Other