qr2ai / upscale

  • Public
  • 2 runs

Run qr2ai/upscale 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
image
string
The input image file to be upscaled.
scale_factor
integer (enum)
4

Options:

2, 4, 8, 16, 32

The factor by which to upscale the image (2, 4, 8, 16, or 32).
max_batch_size
integer
1

Min: 1

Max: 8

Controls the number of image tiles processed simultaneously. Higher values may increase speed but require more GPU memory. Lower values use less memory but may increase processing time. Default is 1 for broad compatibility. Adjust based on your GPU capabilities for optimal performance.

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