andreasjansson / illusion

Monster Labs' control_v1p_sd15_qrcode_monster ControlNet on top of SD 1.5

  • Public
  • 402.2K runs
  • L40S
  • GitHub

Input

image
*string
Shift + Return to add a new line

The prompt to guide QR Code generation.

*string
Shift + Return to add a new line

The website/content your QR Code will point to.

string
Shift + Return to add a new line

The negative prompt to guide image generation.

Default: "ugly, disfigured, low quality, blurry, nsfw"

integer
(minimum: 20, maximum: 100)

Number of diffusion steps

Default: 40

number
(minimum: 0.1, maximum: 30)

Scale for classifier-free guidance

Default: 7.5

integer

Seed

Default: -1

integer

Width out the output image

Default: 768

integer

Height out the output image

Default: 768

integer
(minimum: 1, maximum: 4)

Number of outputs

Default: 1

file

Input image. If none is provided, a QR code will be generated

number
(minimum: 0, maximum: 4)

The outputs of the controlnet are multiplied by `controlnet_conditioning_scale` before they are added to the residual in the original unet.

Default: 2.2

integer
(minimum: 0, maximum: 4)

QR code border size

Default: 1

string

Background color of raw QR code

Default: "gray"

Output

output
Generated in

Run time and cost

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