NAiOS IconNAiOS Logo
Volver al catálogo

Remove.bg

remove_bg

remove_bg is an API that allows developers to automatically remove backgrounds from images using AI technology.

Acciones
2
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Tool 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

  • dataobjectObligatorio

    Main response object containing account details

  • metaobjectObligatorio

    Additional metadata

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove BackgroundREMOVE_BG_REMOVE_BGAcción

Tool to remove background from an image. use when you need a transparent or custom background for product or profile photos.

Parámetros de entrada

  • roistring

    Region of interest in pixels as 'left,top,width,height'.

  • cropboolean

    Crop to ROI if true.

  • sizestringenum

    Output image size. One of 'auto', 'preview', 'full'.

    autopreviewfull
  • typestringenum

    Image category. One of 'auto', 'person', 'product'.

    autopersonproduct
  • scalenumber

    Scale factor between 0.1 and 10.0.

  • formatstringenum

    Output image format. One of 'auto', 'png', 'jpg'.

    autopngjpg
  • bg_colorstring

    Hex color '#RRGGBB' to fill background instead of transparency.

  • channelsstring

    Output channels. Only 'rgba' supported.

  • positionstringenum

    Position of subject: 'center' or 'original'.

    centeroriginal
  • image_urlstringuri

    URL of the image to process. Required if `image_file` is not provided.

  • image_filestringbinary

    Raw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.

  • bg_image_urlstringuri

    Background image URL to composite behind subject.

  • bg_image_filestringbinary

    Background image file bytes to composite behind subject.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not