You're looking at a specific version of this model. Jump to the model overview.
zf-kbot /md-me-qwen21-eraser-native-l40s:8abacef1
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 |
|---|---|---|---|
| apikey |
string
|
访问密钥
|
|
| image |
string
|
干净原图;单张 PNG、JPEG 或 WebP,最高 50MP
|
|
| mask |
string
|
与原图同尺寸的 PNG 蒙版;实心白色选中擦除区域,读取红色通道,忽略 alpha
|
|
| protect_mask |
string
|
兼容旧调用;忽略且不下载
|
|
| mode |
string
|
enhanced
|
兼容旧调用;忽略,始终开启块化
|
| preview_long_edge |
integer
|
1024
Max: 16384.0 |
整图预览长边;0 关闭,仅缩小大图。原图与 mask 同步缩放,输出保持预览尺寸
|
| seed |
integer
|
兼容旧调用;忽略,固定工作流种子 42
|
|
| num_inference_steps |
integer
|
9
|
兼容旧调用;忽略,固定 9 步
|
| guidance_scale |
number
|
1
|
兼容旧调用;忽略
|
| crop_context |
number
|
1.3
|
兼容旧调用;忽略
|
| max_size |
integer
|
1560
Min: 512.0 Max: 2048.0 |
局部生成面积预算上限,向下取 32 倍数;非严格长边限制
|
| block_size |
integer
|
32
|
兼容旧调用;忽略,固定块大小 32
|
| expand_percent |
integer
|
4
|
兼容旧调用;忽略
|
| feather_percent |
integer
|
5
|
兼容旧调用;忽略
|
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'}