Zum Inhalt springen
WorkflowAufgelistetExtern
Quelle öffnen

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.

AufgabeBild zu BildGeschätzte VRAMNot yet characterizedBBewertung

Laufzeitprofil

Zugriff
Externer Arbeitsablauf
Status
Aufgelistet
Quelle
Civitai
Aktualisiert
25. Okt. 2026

Quellenbeschreibung

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.

Anforderungen

Knotenpakete

5

KI-generierter Kommentar

KI-generierte Erklärung auf Grundlage von Quellen- und Konfigurationsdetails. Vorschläge sind klar gekennzeichnet.

Zweck

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

Eingaben und Ausgaben

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

Einrichtung

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

    Vorschlag · nicht geprüft

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

    Vorschlag · nicht geprüft

Abhängigkeiten

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

    Vorschlag · nicht geprüft

Konfiguration

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

    Vorschlag · nicht geprüft

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

    Vorschlag · nicht geprüft

Muss das bearbeitet werden?

Melden Sie sich an, um eine Änderungsanfrage zu senden.

Quellen

1 Quelle
CivitaiPrimär
civitai.com/models/1462970

Verifiziert 19. Juli

Quellenauszüge

1 Auszug

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