Skip to content

aimg upscale

Upscale an image 4x using AI.

Usage:

aimg upscale [OPTIONS] [IMAGE_FILEPATHS]...

Options:

  --format TEXT               Formats the file name. Default value will save
                              '{original_filename}.upscaled{file_extension}'
                              to the original directory.  {original_filename}:
                              original name without the
                              extension;{file_sequence_number:pad}: sequence
                              number in directory, can make zero-padded (e.g.,
                              06 for six digits).; {algorithm}: upscaling
                              algorithm; {now:%Y-%m-%d:%H-%M-%S}: current date
                              and time, customizable using standard strftime
                              format codes. Use 'DEV' to config to save in
                              standard imaginAIry format '{file_sequence_numbe
                              r:06}_{algorithm}_{original_filename}.upscaled{f
                              ile_extension}'.
  --list-models               View available upscale models.
  --upscale-model TEXT        Specify one or more upscale models to use.
                              [default: realesrgan-x2-plus]
  --fix-faces-fidelity FLOAT  How faithful to the original should face
                              enhancement be. 1 = best fidelity, 0 = best
                              looking face.
  --fix-faces
  --outdir PATH               Where to write results to. Default will be where
                              the directory of the original file.  [default:
                              ./outputs/upscaled]
  --help                      Show this message and exit.