Aller au contenu
WorkflowPrésentéExterne
Ouvrir la source

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.

TâcheImage en imageEstimé VRAMNot yet characterizedBClasse

Profil d'exécution

Accès
Flux de travail externe
Statut
Présenté
Source
Civitai
Mis à jour
25 oct. 2026

Description de la source

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.

Exigences

Packs de nœuds

5

Commentaire généré par l’IA

Explication générée par l’IA à partir des détails de la source et de la configuration. Les suggestions sont clairement signalées.

Objectif

  • 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.

Entrées et sorties

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

Installation

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

    Suggestion · non vérifié

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

    Suggestion · non vérifié

Dépendances

  • 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.

    Suggestion · non vérifié

Configuration

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

    Suggestion · non vérifié

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

    Suggestion · non vérifié

Faut-il modifier cela ?

Connectez-vous pour envoyer une demande de modification.

Sources

1 source
CivitaiPrincipal
civitai.com/models/1462970

Vérifié 19 juil.

Extraits de sources

1 extrait

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