create-barcode
Generate barcodes or QR codes by encoding text into customizable images. Output as a URL or save directly to a file for various barcode types, dimensions, and rotations.
Instructions
Create barcodes using QuickChart - get barcode image URL or save barcode image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get barcode URL or save as file | |
height | No | Barcode height | |
includeText | No | Include human-readable text below barcode | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
rotate | No | Rotation: N=Normal, R=Right 90°, L=Left 90°, I=Inverted 180° | |
scale | No | Scale factor | |
text | Yes | Data to encode in the barcode | |
type | Yes | Barcode type (e.g., qr, code128, ean13, datamatrix, upca, etc.) | |
width | No | Barcode width |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Whether to get barcode URL or save as file",
"enum": [
"get_url",
"save_file"
],
"type": "string"
},
"height": {
"description": "Barcode height",
"type": "integer"
},
"includeText": {
"description": "Include human-readable text below barcode",
"type": "boolean"
},
"outputPath": {
"description": "Path where to save the file (only used with action=save_file)",
"type": "string"
},
"rotate": {
"description": "Rotation: N=Normal, R=Right 90°, L=Left 90°, I=Inverted 180°",
"enum": [
"N",
"R",
"L",
"I"
],
"type": "string"
},
"scale": {
"description": "Scale factor",
"type": "integer"
},
"text": {
"description": "Data to encode in the barcode",
"type": "string"
},
"type": {
"description": "Barcode type (e.g., qr, code128, ean13, datamatrix, upca, etc.)",
"type": "string"
},
"width": {
"description": "Barcode width",
"type": "integer"
}
},
"required": [
"action",
"type",
"text"
],
"type": "object"
}