Background threshold for alpha matting. Applies only when alpha_matting is true.
Erosion size for alpha matting. Applies only when alpha_matting is true.
Foreground threshold for alpha matting. Applies only when alpha_matting is true.
If given, download init_image from this URL.
Identifies the model to use for background removal. Valid values depend on the value of the “driver” field. When driver is “birefnet,” model must be “birefnet-dis-epoch540.” When driver is “rembg,” model must be “isnet-general-use”, “u2net”, “u2netp”, “u2net_human_seg”, or “u2net_cloth_seg.”