Stylised QR Code Generator
/api/stylisedqrcode 2 credit(s) per call
Generate custom QR codes with branded colours, gradients, and a centred logo.
Overview
The Stylised QR Code Generator creates customisable QR codes with gradients, custom module shapes, custom finder patterns, and an optional centered logo. Perfect for branded QR codes that match your identity.
Endpoint
POST
/api/stylisedqrcode
GET
/api/stylisedqrcode/generate?text=...&darkColor=...&moduleShape=Circle
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | The text or URL to encode |
| size | int | No | Image size in pixels (default: 256, min: 64, max: 1024) |
| darkColor | string | No | Hex color for QR modules (default: #000000) |
| lightColor | string | No | Hex color for background (default: #FFFFFF) |
| gradientColors | string[] | No | 2+ hex colours for gradient (e.g. ["#FF6B35", "#FDC830"]) |
| gradientDirection | string | No | Direction: LeftToRight, TopToBottom, TopLeftToBottomRight, TopRightToBottomLeft, etc. |
| moduleShape | string | No | Shape of QR modules: Circle, RoundedRectangle (default: Rectangle) |
| finderPatternShape | string | No | Finder pattern shape: Rectangle, Circle, RoundedRectangle, RoundedRectangleBorderCircle |
| logoUrl | string | No | URL of a logo image to place in the centre |
| logoSizePercent | int | No | Logo size as a percentage of QR code width (1–40, default: 7). Requires logoUrl. |
| logoBorderWidth | int | No | Logo border width in pixels (0–64, default: 2). Requires logoUrl. |
| quietZone | int | No | Quiet zone (margin) around the QR code in modules (0–10, default: 2) |
Try it out
Use the Playground to test this API live.