QR Code Generator
Generate QR codes from text or URLs.
Endpoint
POST https://www.acrewity.com/api/services/execute
Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
n8n Integration
This service is also available via our n8n community node: @acrewity/n8n-nodes-acrewity
Operations
Generate QR Code
Generate a QR code from text or URL
Operation ID: generate_qr
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
text |
string | Yes | - | Text or URL to encode in QR code |
size |
number | No | 300 |
QR code size in pixels (min: 100, max: 1000) |
format |
string | No | png |
Output format (png or svg only) Options: png, svg |
errorCorrectionLevel |
string | No | M |
Error correction level Options: L, M, Q, H |
Example Request
URL QR Code:
{
"service": "qr-code-generator",
"operation": "generate_qr",
"parameters": {
"text": "https://example.com/menu",
"size": 400,
"format": "png",
"errorCorrectionLevel": "H"
}
}
WiFi QR Code:
{
"service": "qr-code-generator",
"operation": "generate_qr",
"parameters": {
"text": "WIFI:T:WPA;S:GuestNetwork;P:welcome2024;;",
"size": 300,
"format": "svg"
}
}
vCard QR Code:
{
"service": "qr-code-generator",
"operation": "generate_qr",
"parameters": {
"text": "BEGIN:VCARD\nVERSION:3.0\nFN:John Smith\nTEL:+1-555-123-4567\nEMAIL:john@example.com\nEND:VCARD",
"size": 350,
"format": "png"
}
}
Example Response
{
"success": true,
"result": {
"data": {
"filename": "qrcode-1735567890123.png",
"contentType": "image/png",
"size": 2847,
"content": "iVBORw0KGgoAAAANSUhEUgAA...",
"downloadUrl": "/api/downloads/qrcode-1735567890123.png",
"downloadable": true,
"metadata": {
"text": "https://example.com/menu",
"format": "png",
"size": 400,
"errorCorrectionLevel": "H",
"actualSize": 400
}
}
},
"credits_used": 1
}
More Examples
See Visual Content Generation Examples for complete workflow examples including restaurant menus, event tickets, and payment QR codes.