Legacy QR Code Beautify API
Note: The legacy QR Code Beautify API is no longer maintained. We recommend using the new Label API, which includes a wider variety of label styles for different scenarios and offers more flexible configuration. Go to the new Label API
Feature Overview
The legacy QR Code Beautify API generates customized QR codes via HTTP requests.
- Configurable parameters: Specify QR code color, shape, background, logo, and other personalized elements
- Broad applicability: Suitable for marketing, product packaging, business card design, and more
- Quick generation: Simply adjust the QR code content (
text) and beautify template ID (mhid) in the URL to get QR codes with different styles

Legacy QR Code Beautify API entry
How to Use
- Create a custom beautify template: In the CaoLiao platform, customize the QR code appearance — upload a logo, change the QR code color, add text, etc.
- Obtain the template ID: After customizing, get the beautify template ID and URL.
- HTTP call: Replace the
text,mhid, and other parameters in the generated URL with your own values, then send an HTTP request to receive the corresponding QR code image.
URL Parameter Example
https://api.cl2wm.cn/api/qrcode/code?text=QR_CODE_CONTENT&mhid=BEAUTIFY_TEMPLATE_ID
text (QR code content): Enter any URL, text, contact information, or other content you want the QR code to encode.
mhid (beautify template ID): Each beautify template has a unique ID. Selecting different templates changes the visual design of the QR code. The template library provides a wide variety of styles to meet different brand needs.
Adjusting a Beautify Template
Customize the beautify template as needed — upload a logo, adjust QR code dots and eyes, change colors, add text, and more.

Several preset beautify templates are available for quick application. You can also create fully custom designs.

Getting the Beautify Template ID
After adjusting the template, click [Done] to return to the API call interface. The updated beautify template ID is automatically generated — simply click [Copy Link] to use it.
