Remove Background
A guide to the Remove Background action for automatically creating transparent images.
The Remove Background Action is a powerful AI-driven tool that automatically identifies and removes the background from an image, leaving you with a clean, transparent PNG of the main subject.
This is incredibly useful for e-commerce product shots, creating professional profile pictures, or preparing assets for graphic design without needing manual editing software like Photoshop.
How It Works
The action analyzes the input image to differentiate the foreground subject from the background. It then intelligently "cuts out" the subject and places it on a transparent layer. For best results, use images where the subject is clearly defined and contrasts with the background.
Before & After Example
Configuration
The configuration for this action is straightforward.
Input Parameters
Image
File
The input image you want to process. This should be a file object from a previous action or an uploaded file.
Output Parameters
Output
File
The resulting image as a transparent PNG file. This can be saved, sent in an email, or used in other image actions.
Example: Batch Processing Product Images
Imagine you have a list of product image URLs that you want to process for your e-commerce store.
Get Image List: Start with an action that provides a list of URLs, such as a Google Sheet Action or an API Action.
Use a Map Action:
Add a Map Action and set its
Input List
to your list of URLs.Inside the Map action, add an HTTP Request Action to download the image from the current URL (
{{item.url}}
).
Remove Background:
Still inside the Map action, add the Remove Background Action.
Set its
Image
parameter to the output of the HTTP Request action ({{http_request_action.body}}
).
Save the Result:
Finally, add a Save File Action (or a "Upload to S3" action) to save the transparent PNG output from the Remove Background action.
This workflow will automatically download each product image, remove its background, and save the clean, transparent version, ready for your website.
Last updated
Was this helpful?