You're looking at a specific version of this model. Jump to the model overview.
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
|
目标百万像素
|
| image_width |
integer
|
1280
|
图片宽度
|
| image_height |
integer
|
720
|
图片高度
|
| enable_manual_image_size_switch |
boolean
|
False
|
启用手动图片尺寸设置
|
| enable_multi_image_edit |
boolean
|
False
|
启用多图编辑模式
|
| ref_image |
string
|
参考图片(多图编辑模式时使用)
|
|
| seed |
integer
|
-1
|
随机种子,-1 为随机
|
| steps |
integer
|
4
|
生成步数
|
| website_name |
string
|
google.com
|
网站名称(用于文件名后缀)
|
| image_filename |
string
|
output
|
输出文件名(不含扩展名)
|
| color_match_switch |
boolean
|
False
|
启用颜色匹配
|
| output_ext |
None
|
.jpg
|
输出图片格式
|
| quality |
integer
|
90
Min: 1 Max: 100 |
输出图片质量 (1-100)
|
| 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
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}