GET /api/generate
Use this endpoint to create QR codes via URL call.
| Parameter | Default | Description |
|---|---|---|
content | required | Text or URL |
format | png | png, svg or eps |
color | #000000 | Code color (Name/Hex) |
bg | #ffffff | Background or transparent |
scale | 7 | Scaling factor (1.0 - 20.0) |
border | 2 | Border width in modules (0 - 10) |
Important Notes:
• For hex colors, # must be encoded as %23 (e.g. color=%230066cc).
• EPS Format: Ideal for professional printing, files may be larger.
• Border: Default is 1 module (compact). QR spec recommends 4 modules for maximum compatibility.
Examples & Live Test
Click the links to test the API directly:
- ➜ Simple Text (PNG, Standard)
- ➜ Blue Vector Graphic (SVG, Standard)
- ➜ Orange on Transparent (PNG, Standard)
- ➜ EPS for Print (large scaling, no border, cannot be displayed directly in browser.)
- ➜ Minimalistic (small, borderless, often unreadable on dark backgrounds)
This API is optimized for use in scripts (Python, JS, cURL).
Unlike the front-end, the API processes data on the server side.
Neither the input nor the QR code are saved.