Remove.bg
remove_bgremove_bg is an API that allows developers to automatically remove backgrounds from images using AI technology.
Acciones disponibles (2)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get AccountREMOVE_BG_GET_ACCOUNTAcciónTool to retrieve account information, including current credit balance. use when you need to know your remove.bg account's credit and usage details.
REMOVE_BG_GET_ACCOUNTAcciónTool to retrieve account information, including current credit balance. use when you need to know your remove.bg account's credit and usage details.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioMain response object containing account details
metaobjectObligatorioAdditional metadata
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove BackgroundREMOVE_BG_REMOVE_BGAcciónTool to remove background from an image. use when you need a transparent or custom background for product or profile photos.
REMOVE_BG_REMOVE_BGAcciónTool to remove background from an image. use when you need a transparent or custom background for product or profile photos.
Parámetros de entrada
roistringRegion of interest in pixels as 'left,top,width,height'.
cropbooleanCrop to ROI if true.
sizestringenumOutput image size. One of 'auto', 'preview', 'full'.
autopreviewfulltypestringenumImage category. One of 'auto', 'person', 'product'.
autopersonproductscalenumberScale factor between 0.1 and 10.0.
formatstringenumOutput image format. One of 'auto', 'png', 'jpg'.
autopngjpgbg_colorstringHex color '#RRGGBB' to fill background instead of transparency.
channelsstringOutput channels. Only 'rgba' supported.
positionstringenumPosition of subject: 'center' or 'original'.
centeroriginalimage_urlstringuriURL of the image to process. Required if `image_file` is not provided.
image_filestringbinaryRaw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.
bg_image_urlstringuriBackground image URL to composite behind subject.
bg_image_filestringbinaryBackground image file bytes to composite behind subject.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not