anotherjesse / illusion-diffusion-hq-img2img

  • Public
  • 26.1K runs

Run anotherjesse/illusion-diffusion-hq-img2img with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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.0

Scale for classifier-free guidance
seed
integer
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
Optional Input image for img2img
prompt_strength
number
0.8

Max: 1.0

Strength of prompt
control_image
string
Input image for control. If none is provided, a QR code will be generated
controlnet_conditioning_scale
number
1.0

Max: 4.0

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
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}