Upscale the given image.
True to enable the face enhancer model variant.
Input image to modify.
If given, download init_image from this URL.
One of UpscalingModel, identifies the upscaling model to use.
Define which encoding process should be applied before returning the modified image.
Height in pixels of the output image. If given, neither scale nor output_image_width should be specified.
Width in pixels of the output image. If given, neither scale nor output_image_height should be specified.
Upscale the init image dimensions by this multiplier. If given, neither output_image_height nor output_image_width should be given.
True if the image was removed for safety, False otherwise.
The modified image or None if it was removed for safety.