Upscale the given image.
Generate one or more images based on the given parameters.
True to enable the face enhancer model variant.
Input image to modify.
If given, download init_image from this URL.
Specifies models either in the API or in server config.
The image encoding types available for image modification response.
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.
{ "face_enhance": true, "scale": 4 }
Successful Response
Represent a generated image.
The modified image or None if it was removed for safety.
True if the image was removed for safety, False otherwise.