zf-kbot/image-watermark-remover
Public
5
runs
Run zf-kbot/image-watermark-remover 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 |
|---|---|---|---|
| input_image |
string
|
主输入图像(image 1)
|
|
| prompt |
string
|
remove all watermarks
|
正向提示词(positive_prompt)
|
| negative_prompt |
string
|
|
负面提示词(negative_prompt)
|
| batch_size |
integer
|
1
|
batch_size,决定一次生成的图片数量
|
| steps |
integer
|
4
|
去噪步数(steps)
|
| output_ext |
string
|
.jpg
|
输出图片后缀,例如 `.jpg` / `.png`
|
| quality |
integer
|
100
|
输出图片质量 (1-100),对应 Save Image Extended 的 `quality`
|
| seed |
integer
|
-1
|
随机种子,-1 表示随机
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 7,
"description": "\u968f\u673a\u79cd\u5b50\uff0c-1 \u8868\u793a\u968f\u673a"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 4,
"x-order": 4,
"description": "\u53bb\u566a\u6b65\u6570\uff08steps\uff09"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "remove all watermarks",
"x-order": 1,
"description": "\u6b63\u5411\u63d0\u793a\u8bcd\uff08positive_prompt\uff09"
},
"quality": {
"type": "integer",
"title": "Quality",
"default": 100,
"x-order": 6,
"description": "\u8f93\u51fa\u56fe\u7247\u8d28\u91cf (1-100)\uff0c\u5bf9\u5e94 Save Image Extended \u7684 `quality`"
},
"batch_size": {
"type": "integer",
"title": "Batch Size",
"default": 1,
"x-order": 3,
"description": "batch_size\uff0c\u51b3\u5b9a\u4e00\u6b21\u751f\u6210\u7684\u56fe\u7247\u6570\u91cf"
},
"output_ext": {
"type": "string",
"title": "Output Ext",
"default": ".jpg",
"x-order": 5,
"description": "\u8f93\u51fa\u56fe\u7247\u540e\u7f00\uff0c\u4f8b\u5982 `.jpg` / `.png`"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "\u4e3b\u8f93\u5165\u56fe\u50cf\uff08image 1\uff09"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 2,
"description": "\u8d1f\u9762\u63d0\u793a\u8bcd\uff08negative_prompt\uff09"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}