zf-kbot/md-iu-klein-enhancer
Public
296.8K
runs
Run zf-kbot/md-iu-klein-enhancer 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 |
|---|---|---|---|
| apikey |
string
|
|
API 密钥
|
| input_image |
string
|
输入图片
|
|
| prompt |
string
|
|
正向提示词
|
| max_megapixels |
number
|
2
Min: 0.1 |
图片缩放上限,单位MP
|
| scale_ratio |
number
|
2
|
图片缩放比例
|
| strength_model |
number
|
0.1
Max: 1 |
LoRA强度
|
| color_match_switch |
boolean
|
True
|
启用颜色匹配
|
| file_format |
None
|
jpg
|
输出图片格式
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"apikey": {
"type": "string",
"title": "Apikey",
"default": "",
"x-order": 0,
"description": "API \u5bc6\u94a5"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 2,
"description": "\u6b63\u5411\u63d0\u793a\u8bcd"
},
"file_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "file_format",
"description": "\u8f93\u51fa\u56fe\u7247\u683c\u5f0f",
"default": "jpg",
"x-order": 7
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "\u8f93\u5165\u56fe\u7247"
},
"scale_ratio": {
"type": "number",
"title": "Scale Ratio",
"default": 2,
"minimum": 0,
"x-order": 4,
"description": "\u56fe\u7247\u7f29\u653e\u6bd4\u4f8b"
},
"max_megapixels": {
"type": "number",
"title": "Max Megapixels",
"default": 2,
"minimum": 0.1,
"x-order": 3,
"description": "\u56fe\u7247\u7f29\u653e\u4e0a\u9650\uff0c\u5355\u4f4dMP"
},
"strength_model": {
"type": "number",
"title": "Strength Model",
"default": 0.1,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "LoRA\u5f3a\u5ea6"
},
"color_match_switch": {
"type": "boolean",
"title": "Color Match Switch",
"default": true,
"x-order": 6,
"description": "\u542f\u7528\u989c\u8272\u5339\u914d"
}
}
}
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"
}