canonical: https://jentic.com/apis/remove.bg/removebg-api

# remove.bg API

remove.bg API automatically removes backgrounds from images. Supports image upload, URL reference, and various output formats and sizes. The API exposes 3 endpoints secured with apiKey authentication.

## For AI agents

Programmatically remove image background, get account information. Covers 3 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or developer tools - use for crm only.

## Capabilities

- Remove image background
- Get account information
- Improve background removal result
- Query and filter remove.bg API records by parameters
- Monitor remove.bg API operational status and events

## Use cases

### CRM Operations

Use the remove.bg API to perform crm operations programmatically. The API provides 3 endpoints covering core functionality including remove image background, get account information, improve background removal result.

Example prompt: Call POST /removebg to remove image background

### Automated Account Management

Automate account operations by combining multiple remove.bg API endpoints. Agents can get account information and then improve background removal result in a single workflow.

Example prompt: Call GET /account to get account information, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call remove.bg API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'remove image background', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /removebg | Remove image background |
| GET | /account | Get account information |
| POST | /improve | Improve background removal result |

## Key resources

- **Account** — Operations related to Account
- **Image Processing** — Operations related to Image Processing

## Why Jentic

- **Setup:** Wiring the remove.bg API by hand means sending its API-key request header to api.remove.bg and handling its background removal, account, and improve endpoints yourself. Through Jentic you install once, import remove.bg from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** The remove.bg API identifies the image in the request body rather than the URL path, so limit the agent to the operations it needs, such as removing a background. You choose the operations it may call, so submitting improvement results is not included unless you add it.
- **Credential handling:** Your remove.bg API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'remove image background' or 'check account credits', and Jentic returns the matching remove.bg operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Hubspot** — Alternative crm API
- **Salesforce** — Alternative crm API
- **Pipedrive** — Complementary crm API
- **Zoho** — Complementary crm API

## FAQ

### What authentication does the remove.bg API use?

The remove.bg API uses an API key passed in the `X-Api-Key` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I remove image background with the remove.bg API?

Yes. Use the POST /removebg endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the remove.bg API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I remove image background through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'remove image background'. Jentic returns the matching remove.bg API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the remove.bg API have?

The remove.bg API exposes 3 endpoints covering account, image processing operations.

### Can I limit what my agent is allowed to do with the remove.bg API?

Yes. Because you run Jentic One yourself, you decide which remove.bg operations the agent may call, so you can grant only POST /removebg to strip backgrounds while withholding GET /account or POST /improve. The image is passed in the request body rather than a URL path, so the agent works only on the images you hand it and cannot reach other operations you have not enabled. Your API key is held by your own instance and injected at call time, keeping the agent scoped to exactly the actions your rules permit.
