lqhl / realesrgan

Image restoration and face enhancement

  • Public
  • 19.1K runs
  • L40S
  • GitHub
  • Paper
  • License

Input

img
*file

Input

string

RealESRGAN version. Please see [Readme] below for more descriptions

Default: "General - v3"

number

Rescaling factor

Default: 2

boolean

Enhance faces with GFPGAN. Note that it does not work for anime images/vidoes

Default: false

integer

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

Default: 0

Output

output
Generated in

Run time and cost

This model costs approximately $0.032 to run on Replicate, or 31 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 33 seconds. The predict time for this model varies significantly based on the inputs.