Skip to main content
Glama

qrserver.qr.generate

Create customizable QR codes from text or URLs with adjustable size, colors, format, and error correction. Generate PNG or SVG image URLs for sharing or embedding.

Instructions

Generate a QR code image URL from text or URL — customizable size, color, background, format (PNG/SVG), error correction level. Returns direct image URL (goqr.me)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesText or URL to encode into a QR code (required)
sizeNoImage size in WxH pixels, e.g. "200x200", "400x400" (default: "200x200")
formatNoImage format: "png" or "svg" (default: "png")
colorNoForeground color as 6-digit hex without #, e.g. "000000" for black (default: "000000")
bgcolorNoBackground color as 6-digit hex without #, e.g. "ffffff" for white (default: "ffffff")
marginNoQuiet zone margin in modules around the QR code (default: 1)
eccNoError correction level: L (7%), M (15%), Q (25%), H (30%) — higher allows more damage tolerance (default: "L")
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server