{"slug":"workbot1-oddsys-org-qr-8475c5","title":"Generate a QR code from text as PNG (base64) or SVG","host":"workbot1.oddsys.org","method":"POST","resource":"https://workbot1.oddsys.org/qr","category":"code","description":"Generate a QR code from text as PNG (base64) or SVG. Custom module size, quiet-zone margin, and hex colours. Deterministic, capacity-capped at 2953 bytes. Set delivery to \"url\" to receive a short-lived download link instead of inline data.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":559,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"dark":"#000000","format":"png","light":"#ffffff","margin":2,"scale":4,"text":"https://example.com"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"dark":{"description":"Hex colour of the data modules (default #000000).","type":"string"},"delivery":{"description":"inline (default) = data in the response body; url = a short-lived download link (expires after ~15 min or a small download budget) — hand it to a user or client script instead of carrying the bytes.","enum":["inline","url"],"type":"string"},"downloads":{"description":"url delivery only: download budget before the link dies (1-3, default 2).","type":"number"},"format":{"description":"Output format (default png).","enum":["png","svg"],"type":"string"},"light":{"description":"Hex colour of the background (default #ffffff).","type":"string"},"margin":{"description":"Quiet-zone width in modules (0-16, default 2).","type":"number"},"scale":{"description":"Pixels per QR module, PNG only (1-20, default 4).","type":"number"},"text":{"description":"Content to encode (max 2953 bytes utf8 — QR capacity).","type":"string"}},"required":["text"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}}},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":559,"error":null}],"description_full":"Generate a QR code from text as PNG (base64) or SVG. Custom module size, quiet-zone margin, and hex colours. Deterministic, capacity-capped at 2953 bytes. Set delivery to \"url\" to receive a short-lived download link instead of inline data.","last_updated":"2026-08-30T15:21:26.693Z","schemes":["exact"]}