cloneofsimo / portraitplus_lora

https://huggingface.co/wavymulder/portraitplus

  • Public
  • 7.1K runs
  • A100 (80GB)

Input

string
Shift + Return to add a new line

Input prompt. Use <1>, <2>, <3>, etc., to specify LoRA concepts

Default: "a photo of <1> riding a horse on mars"

string
Shift + Return to add a new line

Specify things to not see in the output

Default: ""

integer

Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits

Default: 512

integer

Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits

Default: 512

integer
(minimum: 1, maximum: 4)

Number of images to output.

Default: 1

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 50

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 7.5

file

(Img2Img) Inital image to generate variations of. If this is not none, Img2Img will be invoked.

number

(Img2Img) Prompt strength when providing the image. 1.0 corresponds to full destruction of information in init image

Default: 0.8

string

Choose a scheduler.

Default: "DPMSolverMultistep"

string
Shift + Return to add a new line

List of urls for safetensors of lora models, seperated with | .

Default: ""

string
Shift + Return to add a new line

List of scales for safetensors of lora models, seperated with |

Default: "0.5"

integer

Random seed. Leave blank to randomize the seed

file

(T2I-adapter) Adapter Condition Image to gain extra control over generation. If this is not none, T2I adapter will be invoked. Width, Height of this image must match the above parameter, or dimension of the Img2Img image.

string

(T2I-adapter) Choose an adapter type for the additional condition.

Default: "sketch"

Output

output
Generated in

This example was created by a different version, cloneofsimo/portraitplus_lora:05b271b5.

Run time and cost

This model costs approximately $0.0063 to run on Replicate, or 158 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 A100 (80GB) GPU hardware. Predictions typically complete within 5 seconds.

Readme

Model description

Intended use

Ethical considerations

Caveats and recommendations