Legacy QR Code Beautification API
Not recommended: no longer maintained
This API still works but is no longer updated. For new projects use Label Generation, which offers QR code label styles for many scenarios and more flexible settings.
Features
The legacy QR Code Beautification API generates customized QR codes through HTTP requests.
- Parameter control: Customize QR code colors, shapes, backgrounds, logos, and other elements.
- Wide application: Suitable for marketing campaigns, product packaging, business card designs, and more.
- Quick generation: Simply adjust the QR code content (
text) and beautification template ID (mhid) in the URL to obtain QR codes with different styles.

Legacy QR Code Beautification API Entry
Usage Instructions
- Customize beautification templates: Adjust QR code styles on the CaoLiao platform, upload logos, modify colors, or add text.
- Obtain beautification template ID: After customization, retrieve the corresponding beautification template ID and URL.
- HTTP request: Replace the
text,mhid, and other parameters in the generated link with your requirements, then send an HTTP request to obtain the QR code image.
URL
https://api.cl2wm.cn/api/qrcode/code?text=QR_code_content&mhid=beautification_template_idHTTP Request Method
GET
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
text | Yes | string | QR code content: Can include URLs, text, contact information, or any other data you wish to encode. |
mhid | Yes | string | Beautification template ID: Each template has a unique ID. Different templates change the QR code's visual design. The template library offers various styles to meet different branding needs. |
Adjust Beautification Templates
Customize beautification templates as needed, including uploading logos, adjusting code points and eyes, changing colors, or adding text.

Predefined templates are available for quick application, or you can fully customize the design.

Obtain Beautification Template ID
After adjusting the template, click "Complete" to return to the API interface. The adjusted beautification template ID will be automatically generated. Simply "Copy Link" for immediate use.
