Optional
codeformer_Optional
codeformer_Sets the weight of CodeFormer, values should be between 0 and 1.
Optional
extras_Sets the visibility of secondary upscaler, values should be between 0 and 1.
Optional
gfpgan_Sets the visibility of GFPGAN, values should be between 0 and 1.
List of images to work on. Must be Base64 strings
Optional
resize_Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.
Optional
show_Should the backend return the generated image?
Optional
upscale_Should the upscaler run before restoring faces?
Optional
upscaler_The name of the main upscaler to use, it has to be one of this list:
Optional
upscaler_The name of the secondary upscaler to use, it has to be one of this list:
Optional
upscaling_Should the upscaler crop the image to fit in the chosen size?
Optional
upscaling_By how much to upscale the image, only used when resize_mode=0.
Optional
upscaling_Target height for the upscaler to hit. Only used when resize_mode=1.
Optional
upscaling_Target width for the upscaler to hit. Only used when resize_mode=1.
Sets the visibility of CodeFormer, values should be between 0 and 1.