Generate a standards-based QR code from supplied UTF-8 text or a payment URI
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.
Answeringour last check, 2026-10-19
1 of 1checks answered this week
888 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.mekler.ai/v1/images/qr/generate-code
| Category | Image and media |
|---|---|
| Provider host | api.mekler.ai |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-19 | valid payment request | 402 | $0.003 | 888 ms |
Example input (from the provider)
{
"body": {
"error_correction": "M",
"format": "png",
"request_id": "qr-generation-example-001",
"scale": 4,
"text": "https://mekler.ai/"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}