A one-input/one-output node that strips the background from a connected image and outputs a transparent PNG you can chain into any other image node.
Where: canvas → left rail → Add → Image → Remove BG — Wire an image source into the node and click Remove Background
Key ideas
- Image-in, image-out: The node has a single image input handle (image_in) on the left and an image output handle (image_out) on the right; it only runs once an image is connected (the Remove Background button is disabled until then).
- Local cutout: Background removal runs in-app (performBackgroundRemoval) — no prompt or model is needed — and the resulting transparent PNG is mirrored to Firebase Storage so the URL does not expire.
- Transparent output: Results display over a checkerboard so you can see the cutout; the output PNG carries alpha and feeds straight into Vectorize, Layer Compose, or a generator that takes a reference image.
- Remove BG card: RemoveBgNode uses the generic shared-card path. Remove the background from a connected image and emit a transparent result.
- Properties sidebar: editNodes.tsx
- Opened surfaces: Image lightbox
- Automatic versus authored selection: Remove BG makes the automatic whole-subject cutout. Use Select Subject when the graph needs point/box control and a dedicated mask_out socket.
- Current local backend behavior: Compatible photographs prefer BiRefNet-lite 512; near-empty graphic/screenshot results fall through to imgly/IS-Net, and edge decontamination is shared.
Steps
- Add a Remove BG node and connect any upstream image (a generator, Image Input, or another edit node) to its left Image handle.
- Click the expand icon if the node is collapsed, confirm the source preview appears, then click Remove Background.
- Wait for processing to finish; the cutout shows on a transparency checkerboard.
- Hover the result and use the ⋯ menu to Add to canvas, Paste to Replace a selected element, or Download the PNG — or drag image_out into the next node.
Remove BG controls and presets
- Add path: Flowgen → Add → Image & Vector → Remove BG.
- Card: RemoveBgNode.
- Properties: editNodes.tsx.
- Controls: Model; source image; result/version.
- Opened surfaces: Image lightbox.
Limitations and important notes
- Remove BG does not expose include/exclude points or candidate cycling; use the Select Subject node for that workflow.
FAQ
Why is the Remove Background button greyed out?
No image is connected. The button is disabled until an upstream image reaches the node's Image input handle.
Do I need to pick a provider?
No. Background removal runs locally in the app, so there is no model dropdown — just connect an image and run.