fermatresearch / sdxl-lcm-lora-controlnet

An extremely fast all-in-one model to use LCM with SDXL, ControlNet and custom LoRA url's!

  • Public
  • 14.7K runs
  • A100 (80GB)
  • GitHub

Input

string
Shift + Return to add a new line

Input prompt

Default: "An astronaut riding a rainbow unicorn, cinematic, dramatic"

string
Shift + Return to add a new line

Input Negative Prompt

Default: ""

boolean

When active, your prompt will be split by newlines and images will be generated for each individual line

Default: false

file

Input image for img2img or inpaint mode

file

Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.

file
Preview
controlnet_image

Input image for controlnet, it will be converted to a canny edge image.

integer

Width of output image

Default: 1024

integer

Height of output image

Default: 1024

integer
(minimum: 1, maximum: 4)

Number of images to output.

Default: 1

string

scheduler

Default: "LCM"

integer
(minimum: 1, maximum: 20)

Number of denoising steps

Default: 6

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 2

number
(minimum: 0, maximum: 1)

Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image

Default: 0.8

integer

Random seed. Leave blank to randomize the seed

boolean

Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.

Default: true

number
(minimum: 0, maximum: 1)

LoRA additive scale. Only applicable on trained models.

Default: 0.6

number
(minimum: 0, maximum: 1)

The bigger this number is, the more ControlNet interferes

Default: 0.5

string
Shift + Return to add a new line

Replicate LoRA weights to use. Leave blank to use the default weights.

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. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)

Default: false

Output

output
Generated in

Run time and cost

This model costs approximately $0.12 to run on Replicate, or 8 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 89 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This model doesn't have a readme.