zf-kbot/md-me-qwen-1
Public
555.4K
runs
Run zf-kbot/md-me-qwen-1 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
|
Input image
|
|
| prompt |
string
|
Edit prompt
|
|
| ref_image |
string
|
Optional second reference image for multi-image editing
|
|
| num_inference_steps |
integer
|
4
Min: 2 Max: 8 |
Inference steps (Rapid is usually 4)
|
| megapixels |
number
|
1
Min: 0.25 Max: 4 |
Resize target for each input image in megapixels (higher is slower)
|
| aspect_ratio |
None
|
default
|
出图比例
|
| color_match_switch |
boolean
|
False
|
启用颜色匹配
|
| seed |
integer
|
-1
|
Random seed, -1 for random
|
| output_format |
None
|
jpg
|
Output format
|
| output_quality |
integer
|
85
Min: 1 Max: 100 |
Output quality for jpg
|
{
"type": "object",
"title": "Input",
"required": [
"apikey",
"input_image",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 8,
"description": "Random seed, -1 for random"
},
"apikey": {
"type": "string",
"title": "Apikey",
"x-order": 0,
"description": "API \u5bc6\u94a5"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 2,
"description": "Edit prompt"
},
"ref_image": {
"type": "string",
"title": "Ref Image",
"format": "uri",
"x-order": 3,
"nullable": true,
"description": "Optional second reference image for multi-image editing"
},
"megapixels": {
"type": "number",
"title": "Megapixels",
"default": 1,
"maximum": 4,
"minimum": 0.25,
"x-order": 5,
"description": "Resize target for each input image in megapixels (higher is slower)"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "Input image"
},
"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
},
"output_format": {
"enum": [
"png",
"jpg"
],
"type": "string",
"title": "output_format",
"description": "Output format",
"default": "jpg",
"x-order": 9
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 85,
"maximum": 100,
"minimum": 1,
"x-order": 10,
"description": "Output quality for jpg"
},
"color_match_switch": {
"type": "boolean",
"title": "Color Match Switch",
"default": false,
"x-order": 7,
"description": "\u542f\u7528\u989c\u8272\u5339\u914d"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 4,
"maximum": 8,
"minimum": 2,
"x-order": 4,
"description": "Inference steps (Rapid is usually 4)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}