zf-kbot/ic-add-border

Public
1.8K runs

Run zf-kbot/ic-add-border with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}