remove_bg is an API that allows developers to automatically remove backgrounds from images using AI technology.
remove_bg is an API that allows developers to automatically remove backgrounds from images using AI technology. On Nagent, Remove.bg is exposed as a fully-configurable images & design integration that any agent can call — 3 actions, and API key authentication. No code is required to wire Remove.bg into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use Remove.bg to automate the kinds of tasks images & design teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire Remove.bg into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against Remove.bg, with input parameters and output schema. Drop these into any step of an agent built in Helix.
REMOVE_BGTool to remove background from an image. Use when you need a transparent or custom background for product or profile photos.
Input parameters
Region of interest in pixels as 'left,top,width,height'.
Crop to ROI if true.
Output image size. One of 'auto', 'preview', 'full'.
Image category. One of 'auto', 'person', 'product'.
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.
Output image format. One of 'auto', 'png', 'jpg'.
Hex color '#RRGGBB' to fill background instead of transparency.
Output channels. Only 'rgba' supported.
Position of subject: 'center' or 'original'.
URL of the image to process. Required if `image_file` is not provided.
Raw bytes of the image file to upload (multipart/form-data). Required if `image_url` is not provided.
Background image URL to composite behind subject.
Background image file bytes to composite behind subject.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
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
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
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
Tag to group related images together. Images with the same tag are grouped.
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.
Image file to upload. Required if `image_file_b64` and `image_url` are not provided. Only one image source parameter can be specified.
Base64-encoded image file string. Required if `image_file` and `image_url` are not provided. Only one image source parameter can be specified.
Filename of the image. If not provided, it will be autodetected from the submitted data.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 82 agents privately built on Nagent that already use Remove.bg.
Build on Nagent
Connect Remove.bg to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find Remove.bg, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, Remove.bg is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once Remove.bg is connected, you configure its 3 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop Remove.bg steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a Remove.bg event fires, the agent kicks off automatically.
Every Remove.bg action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While Remove.bg ships with 3 pre-built images & design actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching Remove.bg together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build Remove.bg-based workflows tailored to your business.