You're looking at a specific version of this model. Jump to the model overview.

andreasjansson /illusion:75d51a73

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
The prompt to guide QR Code generation.
qr_code_content
string
The website/content your QR Code will point to.
negative_prompt
string
ugly, disfigured, low quality, blurry, nsfw
The negative prompt to guide image generation.
num_inference_steps
integer
40

Min: 20

Max: 100

Number of diffusion steps
guidance_scale
number
7.5

Min: 0.1

Max: 30

Scale for classifier-free guidance
seed
integer
-1
Seed
width
integer
768
Width out the output image
height
integer
768
Height out the output image
num_outputs
integer
1

Min: 1

Max: 4

Number of outputs
image
string
Input image. If none is provided, a QR code will be generated
controlnet_conditioning_scale
number
2.2

Max: 4

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

Max: 4

QR code border size
qrcode_background
string (enum)
gray

Options:

gray, white

Background color of raw QR code

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}