prompthunt / upscale

  • Public
  • 12 runs

Run prompthunt/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
img
string
Input
version
string (enum)
General - v3

Options:

4x ultrasharp, General - RealESRGANplus, General - v3, Anime - anime6B, AnimeVideo - v3

RealESRGAN version. Please see [Readme] below for more descriptions
scale
number
2
Rescaling factor
face_enhance
boolean
False
Enhance faces with GFPGAN. Note that it does not work for anime images/vidoes
tile
integer
0
Tile size. Default is 0, that is no tile. When encountering the out-of-GPU-memory issue, please specify it, e.g., 400 or 200

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