zylim0702/qr_code_controlnet 🔢📝❓✓ → 🖼️

▶️ 751.6K runs 📅 Jul 2023 ⚙️ Cog 0.7.2
controlnet qr-code qr-code-generation text-to-image

About

ControlNet QR Code Generator: Simplify QR code creation for various needs using ControlNet's user-friendly neural interface, making integration a breeze. Just key in the url !

Example Output

Prompt:

"a city view with clouds"

Output

Example output

Performance Metrics

3.09s Prediction Time
3.05s Total Time
All Input Parameters
{
  "url": "Hello, World",
  "prompt": "a city view with clouds",
  "scheduler": "DDIM",
  "guess_mode": false,
  "num_outputs": 1,
  "guidance_scale": 9,
  "negative_prompt": "Longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
  "image_resolution": 768,
  "num_inference_steps": 20,
  "disable_safety_check": false,
  "qr_conditioning_scale": 1.3
}
Input Parameters
eta Type: numberDefault: 0
Controls the amount of noise that is added to the input data during the denoising diffusion process. Higher value -> more noise
url (required) Type: string
Link Url for QR Code.
seed Type: integer
Seed
prompt (required) Type: string
Prompt for the model
scheduler Default: DDIM
Choose a scheduler.
guess_mode Type: booleanDefault: false
In this mode, the ControlNet encoder will try best to recognize the content of the input image even if you remove all prompts. The `guidance_scale` between 3.0 and 5.0 is recommended.
num_outputs Type: integerDefault: 1Range: 1 - 10
Number of images to generate
guidance_scale Type: numberDefault: 9Range: 0.1 - 30
Scale for classifier-free guidance
negative_prompt Type: stringDefault: Longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality
Negative prompt
image_resolution Default: 768
Resolution of image (smallest dimension)
num_inference_steps Type: integerDefault: 20
Steps to run denoising
disable_safety_check Type: booleanDefault: false
Disable safety check. Use at your own risk!
qr_conditioning_scale Type: numberDefault: 1
Conditioning scale for qr controlnet
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
You have disabled the safety checker for <class 'diffusers.pipelines.controlnet.pipeline_controlnet.StableDiffusionControlNetPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .
Using seed: 6400
  0%|          | 0/20 [00:00<?, ?it/s]
 10%|█         | 2/20 [00:00<00:01, 10.49it/s]
 20%|██        | 4/20 [00:00<00:01, 10.58it/s]
 30%|███       | 6/20 [00:00<00:01, 10.76it/s]
 40%|████      | 8/20 [00:00<00:01, 10.87it/s]
 50%|█████     | 10/20 [00:00<00:00, 10.93it/s]
 60%|██████    | 12/20 [00:01<00:00, 11.00it/s]
 70%|███████   | 14/20 [00:01<00:00, 10.89it/s]
 80%|████████  | 16/20 [00:01<00:00, 10.92it/s]
 90%|█████████ | 18/20 [00:01<00:00, 11.03it/s]
100%|██████████| 20/20 [00:01<00:00, 11.06it/s]
100%|██████████| 20/20 [00:01<00:00, 10.93it/s]
Version Details
Version ID
628e604e13cf63d8ec58bd4d238474e8986b054bc5e1326e50995fdbc851c557
Version Created
July 12, 2023
Run on Replicate →