Skip to content

Remove Background Images

🤖 AI Drafted (Not reviewed)

Create alpha-background image derivatives without modifying source files.

Tool id remove_background_images
Category transform
Uses a language model no
Needs a generative model no
Runs over many items yes
Item handling batch
Structured output no
Human-verified not yet

What it reads

Port Type Required What it is
Files (files) files yes Image files to remove backgrounds from.
Documents (documents) json no Document metadata for preview-editor edit-chain updates.

What it emits

Port Type Required What it is
Background-Removed Files (output_files) files Background-removed derived image files.

Options

Option Type Default What it does
compression_quality integer 90 WebP compression quality.
method string threshold Background removal method. opencv/rembg fall back when unavailable. One of: threshold, opencv, rembg.
output_dir string Optional output directory. Defaults to a temp directory.
output_format string png Derived image format. Must support alpha. One of: png, webp, tiff.
threshold integer 28 Background colour tolerance for the border flood-fill method.

The prompt it sends

This tool does not send a prompt — it does its work in code.