nateraw / qrcode-stable-diffusion

Create Stylish AI-Generated QR Codes with Stable Diffusion

  • Public
  • 55.7K runs
  • T4
  • GitHub

Input

*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
(minimum: 1, maximum: 4)

Batch size for this prediction

Default: 1

number
(minimum: 0, maximum: 1)

Indicates how much to transform the masked portion of the reference `image`. Must be between 0 and 1.

Default: 0.9

number
(minimum: 1, maximum: 2)

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

Default: 1.5

Output

output
Generated in

Run time and cost

This model costs approximately $0.037 to run on Replicate, or 27 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 T4 GPU hardware. Predictions typically complete within 3 minutes. The predict time for this model varies significantly based on the inputs.