face_enhanceboolean
True to enable the face enhancer model variant.
init_imagestring nullable
init_image_urlstring nullable
If given, download init_image from this URL.
model'real-esrgan-x4-plus' | 'real-esrgan-x4-v3' | 'real-esrgan-x4-v3-wdn' | 'real-esrgan-animevideo-v3' | 'real-esrgan-x4-plus-anime' | 'real-esrgan-x2-plus'
Specifies models either in the API or in server config.
output_image_encoding'jpeg' | 'png'
The image encoding types available for image modification response.
output_image_heightinteger nullable
Height in pixels of the output image. If given, neither scale nor output_image_width should be specified.
output_image_widthinteger nullable
Width in pixels of the output image. If given, neither scale nor output_image_height should be specified.
scalenumber nullable
Upscale the init image dimensions by this multiplier. If given, neither output_image_height nor output_image_width should be given.