For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resizing

The Resize section — image resizing, super-resolution, target dimensions, and the full list of resize mode values.

Image resizing and super-resolution.

Parameter
Value
Default
Description

ResizeOn

0, 1

1

Enable / disable resizing

ResizeFacDetMode

0 – 3

1

Size calculation mode. 0 = factor, 1 = small side, 2 = width, 3 = height

ResizePixSize

Integer

6000

Target pixel size (depends on ResizeFacDetMode)

ResizeFactor

Float

4.0

Resize factor (depends on ResizeFacDetMode)

ResizeMode

0 – 12

5

Resize algorithm (see table below)

SupResThresh

Float

2.0

Super-resolution threshold factor

SupRes2xThresh

Float

3.0

Scale-factor threshold up to which the 2× super-resolution model is used; above it, the 4× model is applied

SRNoiseInjection

0, 1

0

Inject noise before super-resolution

Resize mode values

Value
Method
Description

0

Default

Standard default resizing

1

Bicubic

Bicubic interpolation

2

Biquadratic

Biquadratic interpolation

3

Bilinear

Bilinear interpolation

4

Nearest Neighbor

Nearest neighbour interpolation

5

Super Resolution 4×

AI-based 4× super-resolution

6

Default — no SR

Default without super-resolution

7

Super Resolution 2× / 4×

AI-based 2× and 4× super-resolution

8

Super Resolution 2× / 4× Fast

Fast AI-based 2× and 4× super-resolution

9

Super Resolution 4× Fast

Fast AI-based 4× super-resolution

10

Super Resolution 2× Fast / 4× Fast

Fast AI-based 2× and 4× super-resolution (alternate)

11

Super Resolution 4× with Artifact Removal

AI 4× super-resolution with integrated artifact removal

12

Super Resolution 2× / 4× Legacy

Legacy 2× and 4× super-resolution model

Last updated

Was this helpful?