zf-kbot/md-me-qwen-l40s
Public
41.4K
runs
Run zf-kbot/md-me-qwen-l40s 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
|
输入图片
|
|
| ref_image |
string
|
参考图片(双图编辑模式时使用)
|
|
| prompt |
string
|
修复破损、污渍、划痕
|
提示词
|
| megapixels |
number
|
1
Min: 0.5 Max: 1.5 |
目标百万像素,单图建议1.0;双图建议0.8
|
| aspect_ratio |
None
|
default
|
出图比例
|
| result_resolution |
None
|
0
|
出图分辨率, 0=1K, 1=2K
|
| file_format |
None
|
png
|
输出格式
|
{
"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": "\u4fee\u590d\u7834\u635f\u3001\u6c61\u6e0d\u3001\u5212\u75d5",
"x-order": 3,
"description": "\u63d0\u793a\u8bcd"
},
"ref_image": {
"type": "string",
"title": "Ref Image",
"format": "uri",
"x-order": 2,
"nullable": true,
"description": "\u53c2\u8003\u56fe\u7247\uff08\u53cc\u56fe\u7f16\u8f91\u6a21\u5f0f\u65f6\u4f7f\u7528\uff09"
},
"megapixels": {
"type": "number",
"title": "Megapixels",
"default": 1,
"maximum": 1.5,
"minimum": 0.5,
"x-order": 4,
"description": "\u76ee\u6807\u767e\u4e07\u50cf\u7d20\uff0c\u5355\u56fe\u5efa\u8bae1.0\uff1b\u53cc\u56fe\u5efa\u8bae0.8"
},
"file_format": {
"enum": [
"png",
"jpg"
],
"type": "string",
"title": "file_format",
"description": "\u8f93\u51fa\u683c\u5f0f",
"default": "png",
"x-order": 7
},
"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": 5
},
"result_resolution": {
"enum": [
0,
1
],
"type": "integer",
"title": "result_resolution",
"description": "\u51fa\u56fe\u5206\u8fa8\u7387, 0=1K, 1=2K",
"default": 0,
"x-order": 6
}
}
}
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"
}