qrcode
Create customizable QR codes by inputting text, adjusting size, colors, error correction, and margin settings for versatile and tailored use cases.
Instructions
Generate a QR code image
Input Schema
Name | Required | Description | Default |
---|---|---|---|
darkColor | No | The dark color of qrcode, default is #000000 | #000000 |
errorCorrectionLevel | No | The error correction level of qrcode, default is M | M |
lightColor | No | The light color of qrcode, default is #ffffff | #ffffff |
margin | No | The margin of qrcode, default is 4 | |
size | No | The size of qrcode, default is 256 | |
text | Yes | The input string to generate qrcode |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"darkColor": {
"default": "#000000",
"description": "The dark color of qrcode, default is #000000",
"type": "string"
},
"errorCorrectionLevel": {
"default": "M",
"description": "The error correction level of qrcode, default is M",
"enum": [
"L",
"M",
"Q",
"H"
],
"type": "string"
},
"lightColor": {
"default": "#ffffff",
"description": "The light color of qrcode, default is #ffffff",
"type": "string"
},
"margin": {
"default": 4,
"description": "The margin of qrcode, default is 4",
"type": "number"
},
"size": {
"default": 256,
"description": "The size of qrcode, default is 256",
"type": "number"
},
"text": {
"description": "The input string to generate qrcode",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}