You're looking at a specific version of this model. Jump to the model overview.
lightweight-ai /test_bgrem:7f008ef1
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
|
Intermediate resolution for model input WxH divisible by 32, e.g., '1024x1024'
|
version |
number
|
0
|
API version number. Versions>=1.0 return a dict, older return Path
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'anyOf': [{'anyOf': [], 'format': 'uri', 'type': 'string'},
{'additionalProperties': True, 'type': 'object'}],
'title': 'Output'}