CivArchive
    SDXL QR Code Art Generator - v1.0
    Preview 2673070
    Preview 2673071
    Preview 2673081
    Preview 2673082
    Preview 2673084
    Preview 2673085
    Preview 2673086
    Preview 2673087
    Preview 2673094
    Preview 2673097
    Preview 2673098
    Preview 2673099
    Preview 2673109
    Preview 2673110

    I'm thrilled to introduce the Stable Diffusion XL QR Code Art Generator, a creative tool that leverages cutting-edge Stable Diffusion techniques like SDXL and FreeU. This generator is built on the SDXL QR Pattern Controlnet model by Nacholmo, but it's versatile and compatible with SD 1.5 models and the QR_Monster ControlNet as well. However, I've achieved the best results with SDXL.

    Here's how it works:

    1. Enter your QR code text in the QR_Text field.

    2. If the QR code isn't centered, you can align it using X and Y offsets.

    3. If, for example, you want to create a business card, you can adjust the canvas resolution with width and height and position the code using X and Y offsets.

    Next, enter your prompt or choose a pre-saved style from the Styler, or combine your prompt with a style.

    Now, you're ready to generate your QR code. The workflow includes an automatic QR code validation feature. Optionally, you can set it to save only scannable QR codes.

    If your code isn't scannable, try slightly increasing the control net weight. Be cautious, though, and find the right balance, as a too high control net weight can significantly limit the AI's creativity.

    The workflow requires various custom nodes, which you can easily install via the Comfyui manager.

    You can download the Styler here.

    Find the Controlnet model here.

    Enjoy the process of creating your unique QR codes, and don't hesitate to reach out if you have any questions. 🎉

    Description

    • FreeU

    • Support SDXL and SD 1.5

    FAQ

    Comments (12)

    Kyrzel1Sep 26, 2023· 1 reaction
    CivitAI

    there is an issue with mask composite:

    "Error occurred when executing MaskComposite: The size of tensor a (1024) must match the size of tensor b (1014) at non-singleton dimension 2 File "C:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\AI\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_mask.py", line 249, in combine output[:, top:bottom, left:right] = destination_portion + source_portion"

    not sure how to fix it

    2434050Sep 27, 2023

    The FUNCTION_MASK from QR Code (Split) is too small. I added an upscale image step right after the "Convert Mask to Image" node in the leftmost column of "QR-Code Preprocessing". Use the width/height from the nodes in the "QR-Code Settings" column.

    denrakeiw
    Author
    Sep 27, 2023

    @Renounce3557 The Node #90 Upscale Image is actually the node responsible for upscaling the Function_Mask, and this is controlled by the Width / Height Nodes. Or am I mistaken in my thinking?

    frogdd343Oct 1, 2023

    hi,i have the same problem,could you tell me how to fix it?

    BROTOSHIOct 25, 2023· 1 reaction
    CivitAI

    beautiful workflow: excellent on its own - I'm trying to modify it however! (mind you i'm not a pro myself) - any tips if I wanted to add a primary or secondary Image Mask which the QR function is built (layered) into ?

    denrakeiw
    Author
    Oct 25, 2023

    What do you want to do with the additional masks?

    BROTOSHIOct 26, 2023

    like if i wanted to add a controlnet mask for an openpose or a high strengthed-qrMonster of text or image etc. I suppose i used the term "layered" in because I'm not accustomed to generating the QR live like you have it built and with all the composites etc (this workflow being far more effective/cohesive compared to whats out there) - but yah example could be expanding the padding area around the QR but the padded are is controlnet influenced based on the additional mask.

    I'm able to do achieve that relatively well with auto1111 but its a pain and clearly more efficient with comfy and really what pushed me to make the jump to comfy.

    jdesignycOct 26, 2023
    CivitAI

    I used manager to install missing nodes but
    I get following error still,

    [

    When loading the graph, the following node types were not found:

    Image Input Switch

    ttN text

    comfy-qr-read

    ttN textDebug

    MileHighStyler

    comfy-qr-validate

    comfy-qr-by-module-split

    Logic Boolean

    ttN pipeLoader

    Nodes that have failed to load will show as red on the graph.

    ]

    what should I do? sorry, I am a beginner..

    BROTOSHIOct 26, 2023

    assuming you have everything in the appropriate folders this solve should probably fix it (did for me) https://github.com/coreyryanhanson/ComfyQR-scanning-nodes/issues/1#issuecomment-1775983288 /in the review of this page i posted my work around for the PipeLoader-Mismatch error.

    Wakanda4evaNov 22, 2023
    CivitAI

    im not able to scan my generated qr, also it says node mismatch on the UI, is it because of that?

    denrakeiw
    Author
    Nov 22, 2023

    I updated the Workflow

    Workflows
    SDXL 1.0

    Details

    Downloads
    504
    Platform
    CivitAI
    Platform Status
    Available
    Created
    9/26/2023
    Updated
    5/24/2026
    Deleted
    -

    Files

    sdxlQRCodeArt_v10.zip

    Mirrors

    CivitAI (1 mirrors)