> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argil.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Photoroom Remove Background

> Remove the background of an image: returns a transparent PNG cutout of its main subject (a person, a product, an object), found automatically, with no prompt. Billed per image.

Model id `photoroom-remove-background` · Photoroom · image · 1 mode: `background-removal`.

> [!NOTE]
>
> This page reflects the current catalog. Inputs, allowed values, limits and prices can change as the model evolves; the field names and their meaning do not. For the exact schema at any time, your agent calls [`get_model`](https://docs.argil.ai/v2/mcp/tools) with the mode.

## Background Removal

Mode `background-removal`. Cut the main subject of an image out of its background.

### Input

| Field | Type | Required | Allowed | Default | Description |
| - | - | - | - | - | - |
| `background_color` | string | | | | Fill the removed background with this color (#RRGGBB) instead of leaving it transparent. |
| `image` | [File](https://docs.argil.ai/v2/mcp/how-it-works.md#your-files) | Yes | | | The image to cut out. |

### Pricing

0.97 credits per image.

Fixed price: charged as estimated.

For the exact price of a request, use [`estimate_generation`](https://docs.argil.ai/v2/mcp/tools).

### Example

The arguments of [`generate_media`](https://docs.argil.ai/v2/mcp/tools#generate_media):

```json theme={null}
{
  "model": "photoroom-remove-background",
  "mode": "background-removal",
  "input": {
    "image": "asset_91a3c7e5b2d84f6a8e0c1b9d7f3a5e24"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.