---
title: "Remove the background"
description: "Remove the background."
sidebar:
  label: cutout
---

{/* Generated by scripts/generate-commands.ts. Do not edit. */}

## Synopsis

```sh
motif cutout [image-or-video] [options]
```

## Example

The vase on transparency, at the edge it actually has.

```sh
motif cutout vase.jpg
```

<div class="docs-pictures docs-pictures-2">
  <figure>
    <img src="/docs/images/commands/vase.jpg" alt="A stone vase on a linen cloth" loading="lazy" />
    <figcaption>Before</figcaption>
  </figure>
  <figure>
    <img src="/docs/images/commands/vase-cutout.png" alt="The vase alone on a transparent ground" loading="lazy" />
    <figcaption>After</figcaption>
  </figure>
</div>

## Options

| Flag | What it does |
| --- | --- |
| `--output-format <format>` | jpeg, png or webp. |
| `--tier <tier>` | Trade cost against quality: fast, balanced, quality. |
| `--dry-run` | Validate and price the call without running it. |

It also takes the [common options](/docs/commands#common-options).

## Models and price

Motif picks the Model for the Tier. Prices are per image where a Model has one; any other shows how it is billed. A rate that depends on the size of the file or the length of the clip is a rate, not a total, so check it with a dry run.

| Model | Chosen at | Price |
| --- | --- | ---: |
| BirefNet Background Removal | Balanced | $0.000 |
| BEN v2 Background Removal | Balanced | $0.025/megapixel |
| Bria Video Background Removal 3.0 | Balanced | $0.05/sec |
| Bria Video Background Removal | Balanced | $0.14/sec |
| Remove Background | Fast | $0.000 |
| Bria RMBG 2.0 | Quality | $0.018 |

## Dry run

Check the cost before you spend. The output path is where the file would go.

```sh
motif cutout vase.jpg --dry-run --fields cost,costBasis,output
```

```json
{
  "cost": 0,
  "costBasis": "projected",
  "output": "vase-cutout.png"
}
```
