andreasjansson/illusion 🔢🖼️📝❓ → 🖼️

▶️ 407.5K runs 📅 Sep 2023 ⚙️ Cog 0.8.2 🔗 GitHub
qr-code text-to-image

About

Monster Labs' control_v1p_sd15_qrcode_monster ControlNet on top of SD 1.5

Example Output

Prompt:

"An oil painting of medieval city streets with buildings and trees and people"

Output

Example output

Performance Metrics

6.78s Prediction Time
6.77s Total Time
All Input Parameters
{
  "seed": -1,
  "image": "https://replicate.delivery/pbxt/Ja3ByHnLrLmMc1uI7z0PZyBdQWdU4eQUoJJvXRMnGQbT9y5o/F6WmkWWacAAcyLe.png",
  "width": 768,
  "border": 4,
  "height": 768,
  "prompt": "An oil painting of medieval city streets with buildings and trees and people",
  "num_outputs": 1,
  "guidance_scale": 7.5,
  "negative_prompt": "ugly, disfigured, low quality, blurry, nsfw",
  "qr_code_content": "",
  "qrcode_background": "white",
  "num_inference_steps": 40,
  "controlnet_conditioning_scale": 1
}
Input Parameters
seed Type: integerDefault: -1
Seed
image Type: string
Input image. If none is provided, a QR code will be generated
width Type: integerDefault: 768
Width out the output image
border Type: integerDefault: 1Range: 0 - 4
QR code border size
height Type: integerDefault: 768
Height out the output image
prompt (required) Type: string
The prompt to guide QR Code generation.
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of outputs
guidance_scale Type: numberDefault: 7.5Range: 0.1 - 30
Scale for classifier-free guidance
negative_prompt Type: stringDefault: ugly, disfigured, low quality, blurry, nsfw
The negative prompt to guide image generation.
qr_code_content (required) Type: string
The website/content your QR Code will point to.
qrcode_background Default: gray
Background color of raw QR code
num_inference_steps Type: integerDefault: 40Range: 20 - 100
Number of diffusion steps
controlnet_conditioning_scale Type: numberDefault: 2.2Range: 0 - 4
The outputs of the controlnet are multiplied by `controlnet_conditioning_scale` before they are added to the residual in the original unet.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
0%|          | 0/40 [00:00<?, ?it/s]
  2%|▎         | 1/40 [00:00<00:04,  8.43it/s]
  5%|▌         | 2/40 [00:00<00:04,  8.37it/s]
  8%|▊         | 3/40 [00:00<00:04,  8.34it/s]
 10%|█         | 4/40 [00:00<00:04,  8.32it/s]
 12%|█▎        | 5/40 [00:00<00:04,  8.33it/s]
 15%|█▌        | 6/40 [00:00<00:04,  8.32it/s]
 18%|█▊        | 7/40 [00:00<00:03,  8.31it/s]
 20%|██        | 8/40 [00:00<00:03,  8.30it/s]
 22%|██▎       | 9/40 [00:01<00:03,  8.30it/s]
 25%|██▌       | 10/40 [00:01<00:03,  8.30it/s]
 28%|██▊       | 11/40 [00:01<00:03,  8.30it/s]
 30%|███       | 12/40 [00:01<00:03,  8.30it/s]
 32%|███▎      | 13/40 [00:01<00:03,  8.30it/s]
 35%|███▌      | 14/40 [00:01<00:03,  8.30it/s]
 38%|███▊      | 15/40 [00:01<00:03,  8.31it/s]
 40%|████      | 16/40 [00:01<00:02,  8.33it/s]
 42%|████▎     | 17/40 [00:02<00:02,  8.33it/s]
 45%|████▌     | 18/40 [00:02<00:02,  8.33it/s]
 48%|████▊     | 19/40 [00:02<00:02,  8.33it/s]
 50%|█████     | 20/40 [00:02<00:02,  8.34it/s]
 52%|█████▎    | 21/40 [00:02<00:02,  8.34it/s]
 55%|█████▌    | 22/40 [00:02<00:02,  8.34it/s]
 57%|█████▊    | 23/40 [00:02<00:02,  8.33it/s]
 60%|██████    | 24/40 [00:02<00:01,  8.34it/s]
 62%|██████▎   | 25/40 [00:03<00:01,  8.35it/s]
 65%|██████▌   | 26/40 [00:03<00:01,  8.35it/s]
 68%|██████▊   | 27/40 [00:03<00:01,  8.35it/s]
 70%|███████   | 28/40 [00:03<00:01,  8.34it/s]
 72%|███████▎  | 29/40 [00:03<00:01,  8.35it/s]
 75%|███████▌  | 30/40 [00:03<00:01,  8.35it/s]
 78%|███████▊  | 31/40 [00:03<00:01,  8.34it/s]
 80%|████████  | 32/40 [00:03<00:00,  8.34it/s]
 82%|████████▎ | 33/40 [00:03<00:00,  8.34it/s]
 85%|████████▌ | 34/40 [00:04<00:00,  8.34it/s]
 88%|████████▊ | 35/40 [00:04<00:00,  8.34it/s]
 90%|█████████ | 36/40 [00:04<00:00,  8.34it/s]
 92%|█████████▎| 37/40 [00:04<00:00,  8.33it/s]
 95%|█████████▌| 38/40 [00:04<00:00,  8.32it/s]
 98%|█████████▊| 39/40 [00:04<00:00,  8.32it/s]
100%|██████████| 40/40 [00:04<00:00,  8.32it/s]
100%|██████████| 40/40 [00:04<00:00,  8.33it/s]
Version Details
Version ID
75d51a73fce3c00de31ed9ab4358c73e8fc0f627dc8ce975818e653317cb919b
Version Created
September 17, 2023
Run on Replicate →