mlscade / face_swap_lab

face_swap_lab

  • Public
  • 6 runs
  • A100 (80GB)
Iterate in playground
Run with an API

Input

file

Input image [img2img or postprocessing modes only]

file

reference image

boolean

Will blend faces if True

Default: true

boolean

Use same gender filtering

Default: false

boolean

Sort Faces by size

Default: false

boolean

If True, discard images with low similarity

Default: false

boolean

If True will compute similarity and add it to the image info

Default: false

number
(minimum: 0, maximum: 1)

Minimum similarity against the used face

Default: 0

number
(minimum: 0, maximum: 1)

Minimum similarity against the reference

Default: 0

string
Shift + Return to add a new line

The face index to use for swapping, comma separated list of face numbers starting from 0

Default: "0"

integer

The face index to use to extract face from reference

Default: 0

boolean

Use Improved Mask

Default: false

boolean

Use Color Correction

Default: false

boolean

Sharpen Image

Default: false

number
(minimum: 0, maximum: 10)

Erosion Factor

Default: 1

boolean

Enable face 2

Default: false

file

reference image

boolean

Will blend faces if True

Default: true

boolean

Use same gender filtering

Default: false

boolean

Sort Faces by size

Default: false

boolean

If True, discard images with low similarity

Default: false

boolean

If True will compute similarity and add it to the image info

Default: false

number
(minimum: 0, maximum: 1)

Minimum similarity against the used face

Default: 0

number
(minimum: 0, maximum: 1)

Minimum similarity against the reference

Default: 0

string
Shift + Return to add a new line

The face index to use for swapping, comma separated list of face numbers starting from 0

Default: "0"

integer

The face index to use to extract face from reference

Default: 0

boolean

Use Improved Mask

Default: false

boolean

Use Color Correction

Default: false

boolean

Sharpen Image

Default: false

number
(minimum: 0, maximum: 10)

Erosion Factor

Default: 1

string

face restorer name

Default: "CodeFormer"

number
(minimum: 0, maximum: 1)

face restorer visibility

Default: 1

number
(minimum: 0, maximum: 1)

face restorer codeformer weight

Default: 1

string

upscaler name

Default: "4x-UltraSharp"

number
(minimum: 0, maximum: 10)

upscaling scale

Default: 1

number
(minimum: 0, maximum: 1)

upscaler visibility

Default: 1

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.