You're looking at a specific version of this model. Jump to the model overview.
zf-kbot /ic-add-border:07bf4aa4
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 |
|---|---|---|---|
| api_key |
string
|
请输入自定义授权验证 Key
|
|
| image |
string
|
上传需要处理的图片
|
|
| convert_to_grayscale |
boolean
|
True
|
是否将图片转为灰度(去除所有颜色)
|
| watermark_text |
string
|
hello
|
水印文字内容
|
| border_width |
integer
|
1
|
边框厚度(像素)
|
| outer_margin |
integer
|
12
|
外部边距(边框外的白色留白)
|
| inner_padding |
integer
|
0
|
内部留白(图片与边框之间的距离)
|
| font_size |
integer
|
12
|
水印字体大小
|
| show_watermark |
boolean
|
True
|
是否显示水印(取消勾选则显示完整边框)
|
| border_color_hex |
string
|
#000000
|
边框颜色 (十六进制,例如 #000000 代表黑色)
|
| text_color_hex |
string
|
#000000
|
文字颜色 (十六进制,例如 #000000 代表黑色)
|
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'}