remove_background
Remove image background
Remove the background from an image and return the cutout. Provide exactly one of image_url or image_base64. Returns a transparent PNG by default, or the subject on a solid colour when bg_color is set. When several objects or a person and a product appear together, the model may keep or drop some of them (for example a hand holding a product); use roi to restrict the subject area. Parts of a subject hidden behind something else cannot be recovered.
roicropsizeformatbg_colorimage_urlclean_edgesimage_base64