Upscaling Models
Overview
The DataCrunch Inference Service offers a powerful solution for image upscaling that employs advanced deep learning techniques to enhance image resolution. This documentation aims to provide a comprehensive guide for effectively utilizing this service.
Available Models
realesrgan
: The Real-ESRGAN model is designed for image upscaling and enhancement. It uses Enhanced Super-Resolution Generative Adversarial Networks (ESRGAN) to upscale images, significantly improving their resolution and detail. This model is particularly adept at restoring finer details in images, making it ideal for enhancing low-resolution photos or graphics.gfpgan
: GFP-GAN, or Generative Facial Prior GAN, specializes in restoring and enhancing facial details in images. Leveraging advanced Generative Adversarial Networks, this model excels at correcting facial imperfections, enhancing facial features, and improving overall image quality. It is particularly useful for portrait photos where facial details are a key focus.
Examples of API Usage
To use the Upscaling Inference Service API, replace <MODEL>
in the URL with realesrgan
or gfpgan
.
For example, use https://inference.datacrunch.io/v1/images/realesrgan/generate
.
Upscale an Image
To upscale an image to twice its resolution use the following request:
API Specification
API Parameters
input_image (
string
, required): Base64 encoded string of the input image to be upscaled.
Last updated