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 |
|---|---|---|---|
| image |
string
|
An input image
|
|
| resize |
boolean
|
False
|
Whether to resize the input image
|
| resize_width |
integer
|
512
|
Width for resizing the image
|
| resize_height |
integer
|
512
|
Height for resizing the image
|
| blocks_to_swap |
None
|
0
|
Number of blocks to swap in the model
|
| resolution |
integer
|
2048
|
Output resolution for upscaling
|
| max_resolution |
integer
|
0
|
Maximum resolution limit (0 for no limit)
|
| output_ext |
None
|
.jpg
|
Output image extension
|
| quality |
integer
|
90
|
Output image quality (1-100)
|
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'}