You're looking at a specific version of this model. Jump to the model overview.
lightweight-ai /test_bgrem:4a143747
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 for background removal
|
|
weights |
string
(enum)
|
General
Options: General, General-HR, Matting-HR, Matting, Portrait, General-reso_512, General-Lite, General-Lite-2K, Anime-Lite, DIS, HRSOD, COD, DIS-TR_TEs, General-legacy, General-dynamic |
Model variant to use
|
resolution |
string
|
1024x1024
|
Output resolution as WxH divisible by 32, e.g., '1024x1024'
|
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'}