{"name":"qr-code-generate","description":"Generates a QR code from arbitrary text (URL, vCard, WiFi join string, plain text) and returns it as a base64-encoded PNG (default) or SVG. Configurable size (64-1024 px), error correction level (L/M/Q/H), quiet-zone margin, and foreground/background hex colors. Use it as a QR code generator, QR maker, vCard QR, WiFi QR, or URL-to-QR tool with customizable error correction.","price":"$0.005","method":"POST","input_schema":{"properties":{"text":{"type":"string","description":"Text to encode. Any string up to ~4296 chars (alphanumeric)."},"format":{"type":"string","enum":["png","svg"],"description":"Output image format. Default 'png'."},"size":{"type":"number","description":"Image side length in pixels. Range [64, 1024]. Default 256."},"error_correction":{"type":"string","enum":["L","M","Q","H"],"description":"Reed-Solomon error-correction level. L=7%, M=15% (default), Q=25%, H=30% redundancy."},"margin":{"type":"number","description":"Quiet-zone margin in modules. Range [0, 20]. Default 4."},"foreground":{"type":"string","description":"QR module color as 6 or 8-digit hex (e.g. '#000000'). Default '#000000'."},"background":{"type":"string","description":"Background color as 6 or 8-digit hex (e.g. '#FFFFFF'). Default '#FFFFFF'."}},"required":["text"]},"input_example":{"text":"https://x402.agentutility.ai","format":"png","size":256},"output_example":{"format":"png","size":256,"data_base64":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAAB...","content_type":"image/png","source":"qrcode (npm)"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}