# Background Remover

## CLI Arguments

### Background Remover Model

Choose the model responsible for removing the background.

Argument: `--background-remover-model`

Default: `modnet`

Choices:&#x20;

* `ben_2`
* `birefnet_general`
* `birefnet_portrait`
* `corridor_key_1024`
* `corridor_key_2048`
* `isnet_general`
* `modnet`
* `rmbg_1.4`
* `rmbg_2.0`
* `silueta`
* `u2net_cloth`
* `u2net_general`
* `u2net_human`
* `u2net_portable`

Example: `--background-remover-model rmbg_2.0`

### Background Remover Fill Color

Apply red, green, blue and alpha values to the background.

Argument: `--background-remover-fill-color`

Default: `0 0 0 0`

Example: `--background-remover-fill-color 255 0 0 255`

### Background Remover Despill Color

Remove red, green, blue and alpha values from the foreground.

Argument: `--background-remover-despill-color`

Default: `0 0 0 0`

Example: `--background-remover-despill-color 0 255 0 255`

## Default Overrides

Modify the `facefusion.ini` file to override the defaults.

```ini
[processors]
background_remover_model = rmbg_2.0
background_remover_fill_color = 255 0 0 255
background_remover_despill_color = 0 255 0 255
```
