zf-kbot/md-pe-qwen-2

Public
0 runs

Run zf-kbot/md-pe-qwen-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
检测参数配置

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"
}