How to remove backgrounds automatically
If you sell on Amazon, eBay, Shopify, or any other marketplace, you already know the drill: every product photo needs a clean, white background. Doing that by hand for dozens or hundreds of images is tedious and expensive.
With a PixelFiddler workflow, you can make it automatic. Upload a raw product photo, and seconds later a marketplace-ready version lands in a separate folder — background removed, white fill applied, saved as a high-quality JPG. No manual editing, no outsourcing.
This guide walks you through building that workflow from scratch.
What you will need
Section titled “What you will need”- A PixelFiddler account on any paid plan (background removal uses AI tokens)
- A storage with a folder for raw product photos (e.g., a Hosted storage or an S3 bucket)
Step 1: Create a new workflow
Section titled “Step 1: Create a new workflow”- Open your PixelFiddler dashboard
- Navigate to Workflows in the left sidebar
- Click Create Workflow

Give your workflow a clear name so you can identify it later — something like auto-remove-backgrounds works well. You can also add a short description such as “Removes backgrounds from raw product photos and saves clean JPGs.”
Step 2: Configure the trigger
Section titled “Step 2: Configure the trigger”Every workflow starts with a trigger — the event that kicks it off. For this recipe, you want the workflow to run whenever a new photo lands in a specific folder.
- In the workflow editor, select the File Uploaded trigger
- Choose the storage where your product photos are stored
- Set the file pattern to
raw-photos/*.jpg

The file pattern tells PixelFiddler to watch only the raw-photos folder and only react to JPG files. This prevents the workflow from firing on unrelated uploads.
Step 3: Add the Background Removal node
Section titled “Step 3: Add the Background Removal node”Now add the step that does the heavy lifting.
- Click the + button after the trigger
- Search for and select Background Removal
- Connect the File Uploaded trigger to the Background Removal node by dragging between their connection points
You will see a settings panel for the node. The most important choice here is the AI model:
- BASIC — Faster processing, lower token cost. Good for simple product shots with solid or uniform backgrounds.
- QUALITY — Slower but more precise, especially around fine details like hair, fur, or translucent edges. Uses more tokens per image.
For most standard product photography (items on a table, mannequin shots, flat lays), BASIC handles the job well. Switch to QUALITY when you are shooting jewelry with intricate edges, clothing with loose threads, or anything where the subject blends into the background.

After this step, the image will have a transparent background (the subject is preserved, everything else is removed).
Step 4: Add a Transform Image node
Section titled “Step 4: Add a Transform Image node”Most marketplaces require a white background, not a transparent one. To convert the transparent PNG output into a white-background JPG, add a transform step.
- Click the + button after the Background Removal node
- Select Transform Image
- Connect Background Removal to Transform Image
Configure the following settings:
- Format: JPG (this automatically replaces transparency with a white fill)
- Quality: 95 (high enough for marketplace standards without bloating file size)

Step 5: Add a Save to Storage node
Section titled “Step 5: Add a Save to Storage node”The final step tells PixelFiddler where to put the finished image.
- Click the + button after the Transform Image node
- Select Save to Storage
- Connect Transform Image to Save to Storage
Configure these settings:
- Directory:
clean-backgrounds(the folder where processed images will be saved) - Filename:
{orig_name}-clean(appends “-clean” to the original filename so you can tell raw and processed files apart)

For example, if you upload blue-sneaker.jpg to the raw-photos folder, the workflow will produce blue-sneaker-clean.jpg in the clean-backgrounds folder.
Step 6: Save and enable
Section titled “Step 6: Save and enable”Your workflow is complete. The full chain looks like this:
File Uploaded —> Background Removal —> Transform Image —> Save to Storage

- Click Save in the top-right corner of the workflow editor
- Toggle the workflow to Enabled
The workflow is now live. Every JPG uploaded to your raw-photos folder will be processed automatically.
Step 7: Test it
Section titled “Step 7: Test it”Upload a product photo to your raw-photos folder to verify everything works:
- Go to Storage and open your storage
- Navigate to the
raw-photosfolder - Upload a test image
- Wait a few seconds, then check the
clean-backgroundsfolder
You should see a new file with the -clean suffix, featuring your product on a solid white background.
Variation: Keep transparent backgrounds
Section titled “Variation: Keep transparent backgrounds”If you need transparent backgrounds instead of white (for example, for your own website where products float over colored sections), you can simplify the workflow.
Skip the Transform Image node entirely. Connect Background Removal directly to Save to Storage and the output will be saved as a transparent PNG.
File Uploaded —> Background Removal —> Save to Storage
Just make sure the filename pattern preserves the PNG extension, and update your directory if you want these saved separately (e.g., transparent-cutouts).
Variation: Save both versions
Section titled “Variation: Save both versions”Sometimes you need both — a transparent PNG for your website and a white-background JPG for marketplaces. You can handle this in a single workflow using a Broadcast Router.
- After the Background Removal node, add a Broadcast Router instead of connecting directly to the next step
- Create two branches from the router:
- Branch A: Add a Save to Storage node that saves the transparent PNG to a
transparentfolder - Branch B: Add a Transform Image node (format: JPG, quality: 95) followed by a Save to Storage node that saves to a
marketplace-readyfolder
- Branch A: Add a Save to Storage node that saves the transparent PNG to a

This way, every upload produces two versions in one pass, using only one set of AI tokens for the background removal.
Next steps
Section titled “Next steps”Now that your background removal workflow is running, explore more ways to automate your image pipeline:
- Resize images on upload — Automatically generate multiple sizes for different platforms
- Route images by format — Send PNGs, JPGs, and WebPs to different folders or pipelines
- Background Removal reference — Dive deeper into model options, edge refinement, and advanced settings