Skip to content

Models

Video Background Remover CLI supports several AI models provided by rembg. You can switch between them using the --model option.

Available Models

ModelDescription
isnet-general-useGeneral-purpose default model. Recommended for most use cases.
u2netGood for salient object extraction.
u2netpLightweight variant of u2net. Faster but slightly less accurate.
u2net_human_segOptimized for human / person segmentation.
siluetaHigher quality output but slower processing speed.

How to Use

Pass the model name with the --model flag:

bash
python main.py input.mp4 output.mp4 --model u2net_human_seg

Notes

  • Models are downloaded automatically on first use and cached locally.
  • The download may take a moment depending on your connection speed.
  • isnet-general-use is the default and works well for most videos.
  • For videos containing people, u2net_human_seg often produces better results.

Released under the MIT License.