API docs
Render a fully styled QR code from a single request — no separate style/upload steps. See the Style Reference for every available body/eye/mask value.
/v1/qr/generateEncodes a data payload into a styled QR code and returns the rendered file. Supports custom body/eye shapes, gradients, logos, and shape masks — see the Style Reference for the full visual catalog.
size accepts 100–2000px. file_format accepts svg, png, webp, jpg/jpeg, tiff, pdf, or eps depending on plan.
The Try It panel renders the returned image inline when the response is a raster/vector image.
Example response · 200
Raw binary file (image/svg+xml, image/png, image/webp, image/jpeg, image/tiff, application/pdf, or application/postscript, matching file_format). Response headers include X-QR-Format and X-QR-Size.
Stored only in this browser's local storage — never sent anywhere but the API itself.
curl -X POST "https://api.qrcode-genie.com/v1/qr/generate" \
-H "X-QRGenie-Api-Key: <your_api_key>" \
-H "Content-Type: application/json" \
-d '{"data":"https://qrcode-genie.com","size":512,"file_format":"png","config":{"body_type":"body2","eye_frame":"frame3","eye_ball":"ball5","colors":{"bg_color":"#ffffff","body_color":"#4F46E5"}}}'