zf-kbot/md-me-klein
Public
15.3K
runs
Run zf-kbot/md-me-klein 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
|
修复这张照片.transform the image to realistic photograph. add realistic details to the corrupted image.
|
正向提示词
|
| megapixels |
number
|
0
|
目标百万像素,0表示保持原始分辨率
|
| strength_model |
number
|
0.1
Max: 1 |
LoRA强度
|
| steps |
integer
|
4
Min: 4 Max: 24 |
生成步数
|
| file_format |
None
|
jpg
|
输出图片格式
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"steps": {
"type": "integer",
"title": "Steps",
"default": 4,
"maximum": 24,
"minimum": 4,
"x-order": 5,
"description": "\u751f\u6210\u6b65\u6570"
},
"apikey": {
"type": "string",
"title": "Apikey",
"default": "",
"x-order": 0,
"description": "API \u5bc6\u94a5"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "\u4fee\u590d\u8fd9\u5f20\u7167\u7247.transform the image to realistic photograph. add realistic details to the corrupted image. ",
"x-order": 2,
"description": "\u6b63\u5411\u63d0\u793a\u8bcd"
},
"megapixels": {
"type": "number",
"title": "Megapixels",
"default": 0,
"x-order": 3,
"description": "\u76ee\u6807\u767e\u4e07\u50cf\u7d20,0\u8868\u793a\u4fdd\u6301\u539f\u59cb\u5206\u8fa8\u7387"
},
"file_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "file_format",
"description": "\u8f93\u51fa\u56fe\u7247\u683c\u5f0f",
"default": "jpg",
"x-order": 6
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "\u8f93\u5165\u56fe\u7247"
},
"strength_model": {
"type": "number",
"title": "Strength Model",
"default": 0.1,
"maximum": 1,
"minimum": 0,
"x-order": 4,
"description": "LoRA\u5f3a\u5ea6"
}
}
}
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"
}