You're looking at a specific version of this model. Jump to the model overview.
zf-kbot /md-me-lama:1dca33e4
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
|
访问密钥。必须与服务端环境变量 "
"ME_LAMA_APIKEY 一致;缺失、为空或不匹配都会被拒绝,"
"且服务端不区分这三种情况。
|
|
| image |
string
|
640x640 不透明 PNG 工作图(RGB 或 RGBA,8 位)的标准 base64,"
"或 data:image/png;base64,...;解码后最多 2 MiB。"
"裁切、补边与缩放必须由调用方先做完,服务端不会再改尺寸。
|
|
| mask |
string
|
640x640 二值 PNG 掩码的标准 base64 或 data:image/png;base64,...,"
"与 image 同尺寸,解码后最多 2 MiB。"
"0=保留,255=擦除。全 0 原样返回;非二值或全 255 被拒绝。
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}