generate_qr
Create custom QR codes with styling options and automatic short links for URL tracking and analytics.
Instructions
Generate a styled QR code image with custom colors, logos, dot styles, and corner shapes. Supports PNG and SVG output. Returns base64-encoded image data. When the content is a URL, a tracked short link is created automatically — the QR encodes the short URL for click analytics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The data to encode in the QR code (URL, text, vCard, etc.). Max 4096 characters. | |
| format | No | Output image format. Default: png. | |
| template_id | No | Optional template ID to use as base style. Overrides from style param are merged on top. | |
| style | No | QR code styling options |