{"slug":"api-mekler-ai-v1-images-qr-generate-code-ab33f2","title":"Generate a standards-based QR code from supplied UTF-8 text or a payment URI","host":"api.mekler.ai","method":"POST","resource":"https://api.mekler.ai/v1/images/qr/generate-code","category":"image","description":"Generate a standards-based QR code from supplied UTF-8 text or a payment URI. Return SVG or PNG as base64 with dimensions, SHA-256, QR version and error-correction level. Maximum1024UTF-8 bytes, scale1–8 and fixed four-module quiet zone. Encodes the supplied payload; does not validate a payment dest","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":888,"reported_calls_30d":3,"reported_payers_30d":3,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"error_correction":"M","format":"png","request_id":"qr-generation-example-001","scale":4,"text":"https://mekler.ai/"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"error_correction":{"default":"M","enum":["L","M","Q","H"],"type":"string"},"format":{"default":"svg","enum":["svg","png"],"type":"string"},"request_id":{"pattern":"^[A-Za-z0-9_-]{16,64}$","type":"string"},"scale":{"default":4,"maximum":8,"minimum":1,"type":"integer"},"text":{"maxLength":1024,"minLength":1,"type":"string"}},"required":["text","request_id"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"byte_length":{"type":"integer"},"data":{"type":"string"},"encoding":{"type":"string"},"error_correction":{"type":"string"},"format":{"type":"string"},"height":{"type":"integer"},"mime_type":{"type":"string"},"payload_bytes":{"type":"integer"},"quiet_zone_modules":{"type":"integer"},"sha256":{"type":"string"},"status":{"type":"string"},"version":{"type":"integer"},"width":{"type":"integer"}},"required":["status","format","mime_type","encoding","data","sha256","byte_length","width","height","version","error_correction","quiet_zone_modules","payload_bytes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":888,"error":null}],"description_full":"Generate a standards-based QR code from supplied UTF-8 text or a payment URI. Return SVG or PNG as base64 with dimensions, SHA-256, QR version and error-correction level. Maximum1024UTF-8 bytes, scale1–8 and fixed four-module quiet zone. Encodes the supplied payload; does not validate a payment destination, execute payment or host an image.","last_updated":"2026-10-18T21:12:29.204Z","schemes":["exact"]}