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

zf-kbot /md-me-qwen21-eraser-native-l40s:92c6c81b

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
可选保护蒙版;同尺寸 PNG,白色像素保持不变
mode
None
normal
normal 普通画圈(从实心蒙版自动提取轮廓);enhanced 增强涂抹(块化重建)
preview_long_edge
integer
0
预览长边;0 不缩放,正数仅缩小超过此长边的原图和蒙版,返回缩小尺寸的结果
seed
integer

Max: 4294967295.0

留空随机;实际种子记录在日志中
num_inference_steps
integer
25

Min: 1.0

Max: 100.0

保留源模型的采样步数范围;默认 25
guidance_scale
number
1

Max: 10.0

CFG 引导强度
crop_context
number
1.3

Min: 1.0

Max: 10.0

局部裁剪向四周扩展的倍数
max_size
integer
1920

Min: 384.0

Max: 1920.0

局部生成尺寸限制,须为 16 的倍数;最终图保持预览处理后的尺寸
block_size
integer
32

Min: 8.0

Max: 512.0

仅 enhanced 模式的块大小
expand_percent
integer
2

Max: 30.0

回贴蒙版扩展百分比
feather_percent
integer
1

Max: 30.0

回贴蒙版羽化百分比

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'}