zf-kbot/md-iu-rtx-upscaler-test
Public
15
runs
Run zf-kbot/md-iu-rtx-upscaler-test 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 |
|---|---|---|---|
| input_image |
string
|
Input image to upscale
|
|
| resize_mode |
None
|
scale_by_multiplier
|
How to determine the output size
|
| scale |
number
|
2
Min: 1 Max: 4 |
Upscale multiplier when resize_mode=scale_by_multiplier
|
| target_width |
integer
|
1920
Min: 64 Max: 8192 |
Target width when resize_mode=target_dimensions
|
| target_height |
integer
|
1080
Min: 64 Max: 8192 |
Target height when resize_mode=target_dimensions
|
| quality |
None
|
ULTRA
|
RTX VSR quality preset
|
| output_format |
None
|
png
|
Output image format
|
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"scale": {
"type": "number",
"title": "Scale",
"default": 2,
"maximum": 4,
"minimum": 1,
"x-order": 2,
"description": "Upscale multiplier when resize_mode=scale_by_multiplier"
},
"quality": {
"enum": [
"LOW",
"MEDIUM",
"HIGH",
"ULTRA"
],
"type": "string",
"title": "quality",
"description": "RTX VSR quality preset",
"default": "ULTRA",
"x-order": 5
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Input image to upscale"
},
"resize_mode": {
"enum": [
"scale_by_multiplier",
"target_dimensions"
],
"type": "string",
"title": "resize_mode",
"description": "How to determine the output size",
"default": "scale_by_multiplier",
"x-order": 1
},
"target_width": {
"type": "integer",
"title": "Target Width",
"default": 1920,
"maximum": 8192,
"minimum": 64,
"x-order": 3,
"description": "Target width when resize_mode=target_dimensions"
},
"output_format": {
"enum": [
"png",
"jpg",
"webp"
],
"type": "string",
"title": "output_format",
"description": "Output image format",
"default": "png",
"x-order": 6
},
"target_height": {
"type": "integer",
"title": "Target Height",
"default": 1080,
"maximum": 8192,
"minimum": 64,
"x-order": 4,
"description": "Target height when resize_mode=target_dimensions"
}
}
}
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"
}