fofr / become-image

Adapt any picture of a face into another image

  • Public
  • 509.5K runs
  • L40S
  • GitHub
  • License

Input

file
Preview
image

An image of a person to be converted

file
Preview
image_to_become

Any image to convert the person to

string
Shift + Return to add a new line

Default: "a person"

string
Shift + Return to add a new line

Things you do not want in the image

Default: ""

integer
(minimum: 1, maximum: 10)

Number of images to generate

Default: 2

number
(minimum: 0, maximum: 1)

How much of the original image of the person to keep. 1 is the complete destruction of the original image, 0 is the original image

Default: 1

number
(minimum: 0, maximum: 3)

Strength of the prompt. This is the CFG scale, higher numbers lead to stronger prompt, lower numbers will keep more of a likeness to the original.

Default: 2

number
(minimum: 0, maximum: 1)

Strength of depth controlnet. The bigger this is, the more controlnet affects the output.

Default: 0.8

number
(minimum: 0, maximum: 1)

How strong the InstantID will be.

Default: 1

number
(minimum: 0, maximum: 1)

How strong the style will be applied

Default: 0.75

number
(minimum: 0, maximum: 1)

How much noise to add to the style image before processing. An alternative way of controlling stength.

Default: 0.3

integer

Fix the random seed for reproducibility

boolean

This model’s safety checker can’t be disabled when running on the website. Learn more about platform safety on Replicate.

Disable safety checker for generated images

Default: false

Output

output
Generated in

Run time and cost

This model costs approximately $0.0095 to run on Replicate, or 105 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 10 seconds.