# AI background remover API, for production at scale

Ideogram publishes a public search API over its indexed pages; the guide is at https://ideogram.toolspoint.net/agents/agent-access.

Source: https://ideogram.toolspoint.net/features/background-remover/api/
Source observed: 2026-12-03T22:05:43.311Z
Last checked: 2026-12-03T22:05:43.311+00:00
Indexed: 2026-12-03T22:35:47.775+00:00

---

# AI background remover API, for production at scale

We provide a production API for developers and enterprise teams in design, ecommerce, marketing, and advertising. Send an image and receive a transparent PNG with clean logos, fine typography, and intricate cutouts.

[Try the API](https://ideogram.toolspoint.net/platform/api-keys) · [Talk to an expert](https://ideogram.toolspoint.net/enterprise/?from=tools-background-remover-api)

## Overview

Our background-remover endpoint identifies the foreground subject and returns it on a transparent background. Send an image and receive JSON containing a signed URL to the transparent PNG. Pricing is **$0.01 per image**, with batch and volume discounts available. No GPU or model hosting is required on your side.

For a no-code workflow, use the [Background Remover app](https://ideogram.toolspoint.net/tools/background-remover/).

## Endpoint reference

| Endpoint | Method | Description |
| --- | --- | --- |
| `/v1/remove-background` | `POST` | Remove an image background and return a transparent PNG. |

### Request

Send the image as `multipart/form-data`.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `image` | `binary` | Yes | Image to process. Accepted formats: JPEG, PNG, or WebP. Maximum size: **10 MB**. |

### Response

A `200 OK` response returns a JSON object with a top-level `created` timestamp and a `data` array. The processed image is the first entry.

| Field | Type | Description |
| --- | --- | --- |
| `created` | string | ISO 8601 timestamp for when the result was generated. |
| `data[].url` | string | Signed URL to the transparent PNG. Valid for approximately 24 hours; download the file to retain it. |
| `data[].is_image_safe` | boolean | Whether the image passed safety checks. If `false`, `url` is empty. |

### Response headers

Every response includes `x-request-id`. Capture it and include it in support tickets.

### Errors

| Status | Meaning |
| --- | --- |
| `400` | Invalid input. |
| `401` | Missing or invalid API key. |
| `422` | Image failed safety checks. |
| `429` | Rate limit exceeded. |

## Remove a background

- **Format:** `multipart/form-data`
- **Maximum size:** 10 MB per image
- **Accepted formats:** JPEG, PNG, WebP
- **Authentication:** `Api-Key` header

```python
import requests

with open("input.jpg", "rb") as f:
  response = requests.post(
    "https://ideogram.toolspoint.net/__api__/v1/remove-background",
    headers={"Api-Key": "<apiKey>"},
    files={"image": ("input.jpg", f, "image/jpeg")},
    timeout=60,
  )
response.raise_for_status()
request_id = response.headers.get("x-request-id")  # save for support tickets

result = response.json()["data"][0]
if not result["is_image_safe"]:
  raise RuntimeError(f"safety check failed (request {request_id})")

# Signed URL is valid for ~24h; download to keep.
png = requests.get(result["url"], timeout=60).content
with open("cutout.png", "wb") as out:
  out.write(png)
```

## Response shape

The endpoint returns a `data` array; the processed image is its first entry. The `url` is a signed link, so download the bytes if you need to retain the image.

```json
{
  "created": "2026-05-05T03:43:30.424309+00:00",
  "data": [
    {
      "url": "https://ideogram-ephemeral.ideogram.ai/<signed-url>.png",
      "is_image_safe": true
    }
  ]
}
```

## Tips

- **Download the result.** The signed `url` is valid for roughly 24 hours. Persist the bytes if you need to keep the image; do not hotlink the signed URL from production assets.
- **Stay under 10 MB.** Larger images return `400`. Resize or recompress first. The model handles source images up to approximately 4K well; larger inputs mainly add upload time.
- **Set a generous client timeout.** The endpoint is synchronous. A typical 1 MB request finishes in a few seconds, while inputs with refraction, fine hair, or intricate cutouts can take longer. A 60-second client timeout is a safe default.
- **Run in parallel for catalogs.** Run concurrent requests up to your account’s rate limit. `429` responses are retryable with backoff.
- **Check `is_image_safe` before using `url`.** When it is `false`, the URL is empty because the input failed a safety check.
- **Capture `x-request-id`.** Log it on every call to speed investigation of a specific failure.
- **Re-encode when metadata is needed.** The response is a transparent PNG with a clean alpha channel and no input metadata. Re-add a color profile or copyright tags downstream if required.
- **Pre-resize thumbnails.** Output resolution matches the input. If you need only 1024px assets, resize before uploading to save bandwidth and processing time.

## Built for

- **Developers:** A single REST endpoint accepts multipart form data and returns a signed PNG URL. You need no GPU, model hosting, or SDK lock-in; call it from any language with an HTTP client and integrate it into a backend, queue worker, or CLI.
- **Product photography:** Remove studio backgrounds, mannequins, and shadows from hero shots, packshots, and lifestyle photography. The transparent PNG is ready for listing templates without retouching.
- **Ecommerce and marketplaces:** Process catalogs in batches with consistent framing for Amazon, Shopify, Etsy, and your own storefront. Refresh listings on a recurring schedule without manually retouching files.
- **Marketing and advertising:** Cut subjects from raw shoots, stock, or AI-generated images and composite them onto new backgrounds. Transparent PNGs fit Photoshop, Figma, and ad-builder pipelines.
- **Graphic design:** Reuse artwork across posters, packaging, merchandise, and digital surfaces while preserving anti-aliased typography, fine illustration linework, and intricate cutouts.
- **Enterprise:** High-volume batch processing with priority throughput, dedicated support, and volume-based pricing. Contact [partnership@ideogram.ai](mailto:partnership@ideogram.ai) for a quote.

---

[Read this page’s summary](https://ideogram.toolspoint.net/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fideogram.ai%2Ffeatures%2Fbackground-remover%2Fapi%2F&trace=t_380edc68d53d)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Ideogram’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://ideogram.toolspoint.net/agents/agent/faq?q={question}&trace=t_380edc68d53d`

[Tool guide and examples](https://ideogram.toolspoint.net/agents/agent-access) · [OpenAPI](https://ideogram.toolspoint.net/agents/api/public/v1/openapi.json) · [Page TLDR form](https://ideogram.toolspoint.net/agents/agent-tools/page-tldr?url=https%3A%2F%2Fideogram.ai%2Ffeatures%2Fbackground-remover%2Fapi%2F). Opening a form does not execute a tool.