At ConnectQR, we’re always exploring how to push the boundaries of what a QR code can be. One of our latest innovations — AI QR Code generation — lets users create stunning, scannable images where the QR code is seamlessly embedded into an artwork generated from their own prompt.
At ConnectQR, we’re always exploring how to push the boundaries of what a QR code can be. One of our latest innovations — AI QR Code generation — lets users create stunning, scannable images where the QR code is seamlessly embedded into an artwork generated from their own prompt.
But making this work reliably and at scale isn’t trivial. It can take up to 60 seconds to generate one image. Users might close their browser. The backend might be under load. We needed a solution that could keep moving forward — even if the user didn’t.
Event Driven Architecture is a design pattern where components communicate by emitting and responding to events. Instead of waiting for long processes to complete, parts of the system do their job, emit a message, and let other components take over asynchronously.
This allows systems to be:
Our AI QR Code feature lets a user input a prompt — e.g. “a snow-covered Japanese village” — and position a scannable QR code inside the resulting image. This image is generated by an AI engine behind the scenes and can take 10–60 seconds depending on resolution and server load.
A traditional request-response model (where the browser waits for a reply) just wouldn't work. If the connection dropped or the user navigated away, the image might never finish.
Instead, we designed the flow around events — so that generation would continue reliably, regardless of the frontend state.
.png)
Here’s what happens, step-by-step:
Event Driven Architecture is not a solution for everything (what is?). But here is why we feel it was the correct solution to power our AI QR Code feature:
Here are a few real images generated using the feature. The images are generated with the QR code in mind rather than as an after thought, this allows it become part of the overall image.


A user could put this on a poster, flyer, or social media — blending visual creativity with instant interactivity. The eye drawing nature of this is perfect for marketing uses and encourages the user to scan the QR code to learn more.
We believe this feature is the future of marketing with QR codes: dynamic, branded, and beautiful. Want to see it in action?
👉Sign up to a free trial and try generating your own AI QR Code now
If you're a developer or architect interested in using Event Driven Architecture for async-heavy flows like image generation, this project is a great case study. Feel free to get in touch or follow our dev updates — we’re always building.
Ready to create your first QR code? Start free on ConnectQR - no credit card required.
Create dynamic QR codes with real-time analytics. No credit card required.
Start for Free →