generate_qrcode
Generate QR codes as SVG or PNG from any text or URL with local rendering. No network or external tools required.
Instructions
Generate a QR code (二维码) as SVG or PNG from text/URL. Pure local rendering — no qrencode/zbar/system install, no AI, no network. Just call with the text/URL to encode. Multilingual triggers: QRコード · código QR · code QR · QR-Code · QR-код · código QR (ja/es/fr/de/ru/pt).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dark | No | Foreground color, default #000000 | |
| name | No | Output filename (without extension) | |
| text | Yes | Content to encode (URL or text) | |
| light | No | Background color, default #ffffff | |
| format | No | svg | |
| margin | No | Margin in modules (default 2) | |
| outDir | No | Output directory, default session-dir/output | |
| errorCorrectionLevel | No | M |