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 |
|---|---|---|---|
| input_image |
string
|
Input image for editing
|
|
| prompt |
string
|
修复破损、污渍、划痕
|
Positive prompt for the image editing
|
| negative_prompt |
string
|
|
Negative prompt for the image editing
|
| megapixels |
number
|
1
|
Target megapixels for scaling
|
| image_width |
integer
|
1280
|
Image width
|
| image_height |
integer
|
720
|
Image height
|
| width_switch |
boolean
|
False
|
Enable width switch
|
| height_switch |
boolean
|
False
|
Enable height switch
|
| seed |
integer
|
-1
|
Random seed, -1 for random
|
| steps |
integer
|
4
|
Number of steps for the image editing
|
| website_name |
string
|
ImgUpscaler.AI
|
Website name for filename suffix
|
| image_filename |
string
|
output
|
Custom filename for the output (without extension)
|
| color_match_switch |
boolean
|
False
|
Enable color matching
|
| output_ext |
None
|
.jpg
|
Output image extension
|
| quality |
integer
|
90
Min: 1 Max: 100 |
Output image quality (1-100)
|
| apikey |
string
|
|
API Key
|
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'}