Service details
QR Code Generation
Turn text or a payment link into a QR image your assistant can save. Your assistant calls the service and brings the result back into your task.
Generate a standards-based QR code from supplied UTF-8 text or a payment URI
0.001 USDC per accepted request
Paid only. No free trial for this operation.
This operation needs paid setup. New to Mekler? Start with a free sample task →
Know its boundaries.
- Dynamic redirects, hosted images, logo insertion, payment execution or validation of the encoded destination.
Data handling
Computation is local to the service; no supplier receives the payload. Inputs, results, keys and proofs are excluded from telemetry. Completed results are stored encrypted for30days; private recovery capabilities must remain private.
Input example and exact contract
{
"text": "https://mekler.ai/",
"format": "png",
"error_correction": "M",
"scale": 4,
"request_id": "qr-generation-example-001"
}Example output
{
"status": "ok",
"format": "png",
"mime_type": "image/png",
"encoding": "base64",
"data": "iVBORw0KGgoAAAANSUhEUgAAAIQAAACEAQAAAAB5P74KAAAAw0lEQVR42u1W0QkCUQwLLpD9t8wGtclDQUEQ4+cVOWo/QpumucO8hXBVXisAOCBOohve45vK4jC/zZIUOCAJDZ20OEPNH3CWGNb9jEd6EPU7jteUKPfl4FMSDT/Wj6wfVjikBD/Y8aPoWVl/gaPVII6oS348muGgSj8LpD2M0Nz1s5O5GXZ61rENk9zdlz2D+VPrOb2wvq8Vj3Lw7b3bxgblvo5tnCFbH4t7qPbDpbnWjyU0ee1oWj90VzO1H15fBR8qd5tY9Osict9SAAAAAElFTkSuQmCC",
"sha256": "c25a99d2a24dbe4f167e747c2af350ec7360c9630002aff31a5979b6cc665780",
"byte_length": 252,
"width": 132,
"height": 132,
"version": 2,
"error_correction": "M",
"quiet_zone_modules": 4,
"payload_bytes": 18
}Calling, result interpretation and recovery
Calling
- Endpoint
POST /v1/images/qr/generate-code
- Content type
application/json
- Input
All fields, formats, defaults and limits are specified in requestBody. request_id must be16–64ASCII letters, digits, underscores or hyphens; use a fresh value per new purchase.
Interpret the result
- Status
ok means the documented bounded operation completed; inspect explicit coverage and limitations.
- Result
Response schema describes each output. Null means missing/unknown, never measured zero.
- Recovery
Use the original body and payment proof after timeout, pending settlement or quote expiry.
Limits
- Request bytes
24000
- Semantics
No work occurs on unsigned quotes. Normalize and bind the complete input before payment.
Successful results are encrypted for30day original-proof recovery.
Incomplete operation or source/storage failure is uncharged. A completed diagnostic or zero-match lookup is charged.
Payment and recovery
- Price
0.001 native USDC per completed operation
- Network
Solana mainnet or Base mainnet
- Protocol
x402 v2 exact
- Quote
POST the intended JSON unsigned for one input-bound402; no work/source retrieval occurs. Sign one offer and resend identical JSON. Work and encrypted storage complete before settlement.
- Authorization
Choose one accepts entry with a standard x402 v2 client. Check native USDC, network, recipient, amount and intended input before signing. Solana uses an SVM transaction; Base uses an EOA EIP-3009 authorization (USD Coin version 2). Send the proof with identical JSON input. No API key, token approval, bridge or Solana wallet is needed for Base. Never automatically fall back to another network.
- Retry
Preserve identical JSON and original proof for30day result recovery; do not buy again after a timeout or pending result. Fresh request_id creates a new paid operation.
- Finality
A202 is pending. Finalized delivery carries PAYMENT-RESPONSE; provisional delivery is separately labeled and does not establish finality. Preserve the original proof instead of buying again.
- Expiry
Ongoing service under recurring monthly authority. Budget warnings do not stop service. Short-lived quotes and recovery retention still expire.
- Networks
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
eip155:8453
- Assets
- Solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
- Eip155:8453
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
- Fees
CDP sponsors the payment transaction gas on both networks. The service price is the same on either network; wallet funding or exchange fees are separate.
- Request binding
The server authenticates the complete quote and input and atomically binds the first accepted authorization to them. Standard Base EIP-3009 signs the money terms and nonce, not HTTP content. Keep signatures private; do not reuse an authorization for another quote, operation or body.