create-qr-code
Generate QR codes by inputting text or URLs. Choose to get QR code image URLs or save images directly in formats like PNG, SVG, or Base64. Customize size, color, margins, error correction, and add center images or captions.
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.) |