How AI QR codes work

An AI QR code is an image generated so its light and dark areas line up with a real QR code, so phones can scan it while people see artwork. An image model paints the scene from your prompt while a second model steers it to follow the code's pattern, and the result is checked with a QR reader before you get it.

Updated

From prompt to scannable art

Here's what happens when you make an AI QR code in Scandalous:

  • Your content is turned into a standard QR pattern at error correction H, with a 4-module quiet zone.
  • A diffusion image model generates artwork from your prompt and any style preset. At the same time, a ControlNet, a model that guides image generation using a reference image, uses the QR pattern to push areas dark where modules should be dark and light where they should be light.
  • The result is scanned with a QR reader at full size, then again shrunk and slightly blurred, roughly like a phone camera from a distance.
  • If it doesn't scan, the pattern is gently blended back into the image. If that's not enough, it's generated again with stronger guidance.
  • If it still won't scan, the code is marked as failed and the 5 credits go back to your balance.

The Balance slider

The Balance slider runs from Artistic to Scannable and starts in the middle. It sets how strongly the QR pattern guides the image. Towards Artistic, the artwork has more freedom and the code is harder to spot, but less reliable to scan. Towards Scannable, the pattern shows through more clearly. Every result is checked either way, so the slider changes how the art looks, not whether you get a working code.

From an AI assistant, the same setting is scannability, from 0 (most artistic) to 1 (most scannable), with 0.5 as the default.

Write prompts that work

  • Busy, textured scenes hide the pattern best: foliage, cityscapes, mosaics, coral reefs, crowds, clouds. As a rule of thumb, large flat areas like a plain sky or a smooth wall either show the modules or break up the code.
  • Describe a scene rather than a single object. You can't choose where things land, because the pattern decides where the light and dark areas go.
  • Don't ask for words or logos in the image. Image models are unreliable at text, and it competes with the pattern.
  • Try a preset: Watercolour, Isometric city, Botanical, Neon, Paper cut or Ink. Each adds a tested style to your prompt.
  • Use the Avoid field, under Advanced, for things you don't want, like people or a particular colour.

Using AI codes in the real world

  • Artistic codes can take a moment longer to lock on than plain ones, so give them more room: print them larger than you would a standard code for the same distance.
  • Test on several phones, iPhone and Android, before printing in bulk.
  • Add a short label like Scan me so people know it's a code and not just a picture.
  • AI codes download as PNG. Keep a standard SVG code for very large prints or engraving.

Cost and timing

An AI code costs 5 credits and usually takes 10 to 60 seconds. Credits are only kept for codes that scan. From an AI assistant, use the create_ai_qr_code tool, described in making QR codes from ChatGPT and Claude.

Common questions

Do AI QR codes really scan?
Yes, when the art keeps enough contrast in the right places. Scandalous checks every result with a QR reader and refunds the credits if it can't make one that scans.
Why do some AI QR codes not scan?
The artwork can wash out the pattern, especially in flat or low-contrast areas. Move the Balance slider towards Scannable or describe a more detailed scene.
How long does an AI QR code take?
Usually 10 to 60 seconds.
How much does an AI QR code cost?
5 credits on Scandalous. If a generation fails or won't scan, the credits are refunded automatically.

Make one with Scandalous

Standard codes are free, with scan analytics on every link.

your first code is free.

sign up with your email and start making codes. add a logo or ai art whenever you need it.

get in, it's free