zf-kbot/md-me-qwen-0119-2
Public
2M
runs
Run zf-kbot/md-me-qwen-0119-2 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
|
修复破损、污渍、划痕
|
正向提示词
|
| negative_prompt |
string
|
|
负向提示词
|
| megapixels |
number
|
1
|
目标百万像素
|
| result_resolution |
None
|
0
|
出图分辨率, 0=1K, 1=2K, 2=4K
|
| aspect_ratio |
None
|
default
|
出图比例
|
| enable_multi_image_edit |
boolean
|
False
|
启用多图编辑模式
|
| ref_image |
string
|
参考图片(多图编辑模式时使用)
|
|
| seed |
integer
|
-1
|
随机种子,-1 为随机
|
| steps |
integer
|
4
|
生成步数
|
| color_match_switch |
boolean
|
False
|
启用颜色匹配
|
| detect_switch |
boolean
|
False
|
启用检测
|
| detect_params |
string
|
640;0.7;0.7;0.5;0.7;0.5
|
检测参数配置
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 9,
"description": "\u968f\u673a\u79cd\u5b50\uff0c-1 \u4e3a\u968f\u673a"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 4,
"x-order": 10,
"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\u7834\u635f\u3001\u6c61\u6e0d\u3001\u5212\u75d5",
"x-order": 2,
"description": "\u6b63\u5411\u63d0\u793a\u8bcd"
},
"ref_image": {
"type": "string",
"title": "Ref Image",
"format": "uri",
"x-order": 8,
"nullable": true,
"description": "\u53c2\u8003\u56fe\u7247\uff08\u591a\u56fe\u7f16\u8f91\u6a21\u5f0f\u65f6\u4f7f\u7528\uff09"
},
"megapixels": {
"type": "number",
"title": "Megapixels",
"default": 1,
"x-order": 4,
"description": "\u76ee\u6807\u767e\u4e07\u50cf\u7d20"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "\u8f93\u5165\u56fe\u7247"
},
"aspect_ratio": {
"enum": [
"default",
"1:1",
"3:2",
"2:3",
"4:3",
"3:4",
"16:9",
"9:16",
"21:9",
"9:21"
],
"type": "string",
"title": "aspect_ratio",
"description": "\u51fa\u56fe\u6bd4\u4f8b",
"default": "default",
"x-order": 6
},
"detect_params": {
"type": "string",
"title": "Detect Params",
"default": "640;0.7;0.7;0.5;0.7;0.5",
"x-order": 13,
"description": "\u68c0\u6d4b\u53c2\u6570\u914d\u7f6e"
},
"detect_switch": {
"type": "boolean",
"title": "Detect Switch",
"default": false,
"x-order": 12,
"description": "\u542f\u7528\u68c0\u6d4b"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 3,
"description": "\u8d1f\u5411\u63d0\u793a\u8bcd"
},
"result_resolution": {
"enum": [
0,
1,
2
],
"type": "integer",
"title": "result_resolution",
"description": "\u51fa\u56fe\u5206\u8fa8\u7387, 0=1K, 1=2K, 2=4K",
"default": 0,
"x-order": 5
},
"color_match_switch": {
"type": "boolean",
"title": "Color Match Switch",
"default": false,
"x-order": 11,
"description": "\u542f\u7528\u989c\u8272\u5339\u914d"
},
"enable_multi_image_edit": {
"type": "boolean",
"title": "Enable Multi Image Edit",
"default": false,
"x-order": 7,
"description": "\u542f\u7528\u591a\u56fe\u7f16\u8f91\u6a21\u5f0f"
}
}
}
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"
}