You're looking at a specific version of this model. Jump to the model overview.

re-mix-1 /rembg:fbb788e8

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image path string
model
string
u2net
Model type for background removal (u2net, u2netp, u2net_human_seg, u2net_cloth_seg, silueta, isnet-general-use)
use_gpu
boolean
True
Use GPU for processing
alpha_matting
boolean
False
Apply alpha matting
alpha_matting_foreground_threshold
integer
240
Foreground threshold for alpha matting
alpha_matting_background_threshold
integer
10
Background threshold for alpha matting
alpha_matting_erode_size
integer
10
Erosion size for alpha matting
post_process_mask
boolean
True
Post-process mask to get better results
always_return_png
boolean
True
Always return PNG image (preserves transparent background with JPEG input)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}