create-qr-code
Generate QR codes in PNG, SVG, or base64 formats with customizable size, colors, and error correction. Save to file or retrieve a URL for integration into applications or web pages.
Instructions
Create QR codes using QuickChart - get QR code image URL or save QR code image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get QR code URL or save as file | |
caption | No | Text below QR code | |
captionFontColor | No | Caption text color (default: black) | |
captionFontFamily | No | Caption font family (default: 'sans-serif') | |
captionFontSize | No | Caption font size (default: 10) | |
centerImageSizeRatio | No | Center image size ratio (0.0-1.0, default: 0.3) | |
centerImageUrl | No | URL of center image (must be URL-encoded) | |
dark | No | Hex color for QR grid cells (default: black) | |
ecLevel | No | Error correction level (default: M) | |
format | No | Output format (default: png) | |
light | No | Hex color for background (default: white, use '0000' for transparent) | |
margin | No | Whitespace around QR image (default: 4) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
size | No | Image dimensions in pixels (default: 150) | |
text | Yes | Content of the QR code (URL, text, etc.) |