generate-qrcode-batch
Generate multiple QR codes from texts or URLs in batch, supporting various output formats like DataURL, SVG, or terminal display with customizable size, colors, and error correction.
Instructions
Generate multiple QR codes from an array of texts or URLs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format for QR codes | dataurl |
options | No | QR code generation options | |
texts | Yes | Array of texts or URLs to encode (max 10) |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "dataurl",
"description": "Output format for QR codes",
"enum": [
"dataurl",
"svg",
"terminal"
],
"type": "string"
},
"options": {
"additionalProperties": false,
"description": "QR code generation options",
"properties": {
"color": {
"additionalProperties": false,
"properties": {
"dark": {
"default": "#000000",
"type": "string"
},
"light": {
"default": "#FFFFFF",
"type": "string"
}
},
"type": "object"
},
"errorCorrectionLevel": {
"default": "M",
"enum": [
"L",
"M",
"Q",
"H"
],
"type": "string"
},
"margin": {
"default": 4,
"maximum": 10,
"minimum": 0,
"type": "number"
},
"type": {
"default": "image/png",
"enum": [
"image/png",
"image/jpeg",
"image/webp"
],
"type": "string"
},
"width": {
"maximum": 2000,
"minimum": 50,
"type": "number"
}
},
"type": "object"
},
"texts": {
"description": "Array of texts or URLs to encode (max 10)",
"items": {
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
}
},
"required": [
"texts"
],
"type": "object"
}