Skip to main content
Remove.bg logo
  • Category: images & design
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 3
  • Triggers: 0
  • Slug: REMOVE_BG
  • Version: 20261030_00

Tools

Slug: REMOVE_BGTool to remove background from an image. Use when you need a transparent or custom background for product or profile photos.

Input Parameters

string
Region of interest in pixels as ‘left,top,width,height’.
boolean
Crop to ROI if true.
string ("auto" | "preview" | "full")
Output image size. One of ‘auto’, ‘preview’, ‘full’.
string ("auto" | "person" | "product")
Image category. One of ‘auto’, ‘person’, ‘product’.
string
Scales the subject image as a percentage of the original size, formatted as ‘<int>%’ between ‘10%’ and ‘100%’ (e.g., ‘50%’). Use ‘100%’ or omit to keep the original size.
string ("auto" | "png" | "jpg")
Output image format. One of ‘auto’, ‘png’, ‘jpg’.
string
Hex color ‘#RRGGBB’ to fill background instead of transparency.
string
Output channels. Only ‘rgba’ supported.
string ("center" | "original")
Position of subject: ‘center’ or ‘original’.
string
URL of the image to process. Required if image_file is not provided.
string
Raw bytes of the image file to upload (multipart/form-data). Required if image_url is not provided.
string
Background image URL to composite behind subject.
string
Background image file bytes to composite behind subject.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: REMOVE_BG_GET_ACCOUNTTool to retrieve account information, including current credit balance. Use when you need to know your remove.bg account’s credit and usage details.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: REMOVE_BG_SUBMIT_IMPROVEMENTTool to submit an image to the remove.bg Improvement program. Use when you want to contribute images that remove.bg cannot process properly to help improve the AI. By submitting images you agree to the Improvement Program Conditions. Limited to 100 files per day, max 22MB file size, up to 50 megapixels resolution.

Input Parameters

string
Tag to group related images together. Images with the same tag are grouped.
string
URL of the image to submit. Required if image_file and image_file_b64 are not provided. Only one image source parameter can be specified.
object
Image file to upload. Required if image_file_b64 and image_url are not provided. Only one image source parameter can be specified.
string
Base64-encoded image file string. Required if image_file and image_url are not provided. Only one image source parameter can be specified.
string
Filename of the image. If not provided, it will be autodetected from the submitted data.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not