Skip to main content
Server path: /remove-bg | Type: Application | PCID required: Yes

Tools

ToolDescription
remove_bg_get_accountGet account information including API credit balance and usage details.
remove_bg_remove_backgroundRemove the background from an image. Provide either an image_url or image_file_b64 (base64-encoded image data). Returns the processed image. Uses one API credit per call.

remove_bg_get_account

Get account information including API credit balance and usage details.

remove_bg_remove_background

Remove the background from an image. Provide either an image_url or image_file_b64 (base64-encoded image data). Returns the processed image. Uses one API credit per call. Parameters:
ParameterTypeRequiredDefaultDescription
image_urlstringNoURL of the image to remove the background from. Provide this OR image_file_b64, not both.
image_file_b64stringNoBase64-encoded image data. Provide this OR image_url, not both.
sizestringNoOutput image resolution
typestringNoForeground type to help the AI detect the subject
formatstringNoOutput image format
bg_colorstringNoBackground color to apply (hex value like “81d4fa” or color name like “green”)
bg_image_urlstringNoURL of a background image to composite behind the foreground