Mekler AI Images API

The Images API from Mekler AI — 1 operation(s) for images.

GitHub OpenAPI

Operations 1

POST /v1/images/qr/generate-code QR Code Generation: Generate a standards-based QR code from supplied UTF-8 text… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mekler-ai:mekler-ai-images-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mekler-ai-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mekler Ai Images API
  version: 1.0.0
  contact:
    email: support@mekler.ai
  x-guidance: 'Website Screenshots returns public-page PNG/JPEG image bytes at a specified viewport, optionally bounded full-page. It loads images/fonts through the isolated checked-address browser, preserves visible overlays and fails uncharged on unsupported, incomplete or oversized captures. Decode image_base64 and verify dimensions, capture time and SHA-256; original-proof recovery returns the same private image for 30 days. No login, CAPTCHA bypass or arbitrary scripts. API Schema Monitor watches one public HTTPS JSON endpoint hourly for seven days against explicit JSON Schema requirements. A term costs 0.50 USDC; retrieve/delete are free private capability operations. Source gaps remain unknown, faults and recoveries are confirmed, and alerts are retrieved privately. No authenticated target, callback delivery or semantic compatibility guarantee. Receipts Export reconciles 1–10 supplied native-USDC receipt claims and at most one linked refund each. Finalized transfer evidence is separate from caller delivery labels, refund intent and native transaction fees. Pending, ambiguous and mismatched claims remain diagnostics. No full wallet history, tax conclusions or delivery proof; recover the original dated report for 30 days with the original payment proof. API Quote Comparison observes unsigned x402 v2 challenges for 2–4 caller-selected public HTTPS requests. It preserves original headers and reports native USDC quoted amounts separately on Base/Solana. Lowest quoted amount is not equivalent delivery or lowest total cost; unknown fees, expiry and quality remain explicit. It never signs or pays sellers, and stored recovery returns the original dated comparison. Submit only requests you authorize; an unsigned free endpoint can execute at its source. Sanctions List Matching returns possible OFAC SDN and Consolidated name/identifier candidates, weak-alias labels and dated source hashes. No matches never establishes identity or clearance; no ownership analysis, global-list coverage or transliteration. Caller data is matched locally. Response Check validates a bounded Draft 2020-12 schema and declared timestamp age, with optional selected-claim assessment against supplied evidence. A pass applies only to requested checks; omitted checks are not_requested and semantic uncertainty is review. No independent fact verification or source authentication. Completed fail/review diagnostics cost 0.05 USDC; supplier failures are uncharged. Preserve original-proof recovery. Feeds report one bounded document and mapping coverage, not full history. Package existence and supplied-name comparisons do not establish installation safety. JSON repair never invents values; unsupported or ambiguous syntax returns charged diagnostic abstention. YAML uses safe 1.1 scalar rules without aliases/tags. TLS is one public port-443 observation, without revocation or exhaustive security checks. Cron returns calculated occurrences, not scheduled jobs, and declares repeated/nonexistent local-time handling. These operations require paid access and a fresh request_id; preserve the original proof for 30-day recovery. Technical SEO reports observed static page issues, not search-index coverage or rankings. Currency conversions are dated reference values, not executable quotes. VIN results retain NHTSA errors and exclude ownership/history. HTTP checks send only passive GET/OPTIONS; requested methods are preflight names only. Link/sitemap inventories are bounded and disclose truncated coverage. SEC filing lookup accepts company CIK and exact form/date filters, discloses unread archive coverage and preserves amendments as distinct filings. URL inspection reports redirects and declared sizes without downloading full content. Page metadata extracts static preview fields and references without rendering JavaScript or fetching assets. QR generation returns PNG/SVG encodings of supplied text; it neither validates destinations nor makes payments. Cryptographic digests and HMAC use explicit byte encodings and supplied keys; do not send wallet private keys. All five require a fresh request_id per new paid operation; unsigned quotes do no work and original proofs recover encrypted results for 30 days. Academic paper search combines OpenAlex and Crossref metadata for a topic or seed DOI/OpenAlex ID. It returns identifiers, source ranks, conservative version groups and reported retraction flags; unknown/negative flags are not clearance. Supply a fresh request_id per new 0.01 USDC search, including zero matches. No abstracts, full text, author identities, completeness or quality certification. Sources must both answer before charging; shared anonymous allowance exhaustion is uncharged. Original-proof results recover exactly for 30 days. Agent Inboxes creates a receive-only address for 24 hours and up to 25 messages of 128 KiB each. Creation costs 0.05 USDC; generate and keep a private access_key before quoting. List/retrieve/delete operations are free with that inbox capability in the Authorization bearer header. Mail is returned as untrusted text, HTML data and base64 attachments; optional signed arrival webhooks contain metadata only. No outbound email or website acceptance guarantee. Listing monitoring returns directory presence, buyer-query observations and optional description drift with confirmed alerts and encrypted history. Submit monitoring.next_request for each new paid poll at the chosen cadence; there is no automatic schedule. Incomplete coverage and timeouts remain unknown. Model inference quotes selected models and the full price before payment. Submit one to 20 independent text tasks, use automatic routing or pin a model, then recover private asynchronous results. No streaming, tools or browsing. News search accepts plain topic words and a 1–7 day GDELT monitoring window. Use monitoring.next_request for a new paid poll with a 45 minute overlap and bounded seen-link/headline history. No-new-links polls are charged 0.01 USDC. Its optional digest quotes returned headlines; full articles and verified publication dates are unsupported. Source failures are uncharged; valid zero-match searches are completed and charged. Conformance scans return 202 first: retain the recovery capability, poll until result-ready, then request a quote and pay once for the stored report. Cached reports and check definitions are free. Financial facts accept a CIK and one to three annual periods, with optional include_revisions. Inspect coverage before paying; growth checks are mechanical and revision history is bounded. No quarterly data, accounting-comparability assurance or restatement explanations. Choose CSV validation to check supplied data against typed column rules; use column-spec validation to check those rules before use. Citation overlap inspects supplied URLs, HTML and declared lineage; it does not fetch sources or judge truth or independence. Static page extraction fetches one public static HTML page without running scripts. Rendered page extraction loads one public page in headless Chromium for content that appears only after JavaScript runs; no login, interaction or PDF. Failed, blocked or empty pages are never charged. Email checks do not verify mailbox existence or delivery. Mekler Mail opens a 30-day receiving term for 2 USDC on Base or Solana; renewal is explicit. Native messages, JSON callbacks and opt-in email share its allowance. Use scoped capabilities and an outbound connection to recover work for a running agent; Mekler does not host or wake the agent. The compatible temporary Inbox remains 0.05 USDC for 24 hours. Read the operation schema, example and complete service guide before calling. For synchronous paid calls, POST the intended JSON without PAYMENT-SIGNATURE to get an x402 quote, then sign and resend the same body. Both page extractions and financial facts also return an encrypted payment_request; sending it instead pays for exactly the quoted result. If a response is lost, retry the same paid-request body and proof. Free trials use the separate wallet-first trial guide at https://api.mekler.ai/trials/offer and exclude news search, financial facts and rendered pages. Never send private keys.'
  description: 'Operations tagged Images across 2 of this provider''s published API definitions: mekler-ai-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.mekler.ai
tags:
- name: Images
paths:
  /v1/images/qr/generate-code:
    post:
      parameters:
      - in: header
        name: PAYMENT-SIGNATURE
        required: false
        schema:
          type: string
        description: x402 v2 signed payment. Resend the identical request and proof after a lost response.
      responses:
        '200':
          description: Completed bounded operation. PAYMENT-RESPONSE confirms finalized settlement; provisional results are explicitly labeled. Original proof recovers the exact result for 30 days.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - status
                - format
                - mime_type
                - encoding
                - data
                - sha256
                - byte_length
                - width
                - height
                - version
                - error_correction
                - quiet_zone_modules
                - payload_bytes
                properties:
                  status:
                    type: string
                  format:
                    type: string
                  mime_type:
                    type: string
                  encoding:
                    type: string
                  data:
                    type: string
                  sha256:
                    type: string
                  byte_length:
                    type: integer
                  width:
                    type: integer
                  height:
                    type: integer
                  version:
                    type: integer
                  error_correction:
                    type: string
                  quiet_zone_modules:
                    type: integer
                  payload_bytes:
                    type: integer
              example:
                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
          headers:
            PAYMENT-RESPONSE:
              description: 'Base64 JSON settlement receipt: success, transaction, network, payer. Present only after finality.'
              schema:
                type: string
            X-Mekler-Payment-State:
              description: finalized or provisional
              schema:
                type: string
            X-Mekler-Purchase-Id:
              description: Purchase ID on provisional results.
              schema:
                type: string
            X-Mekler-Referral-Receipt:
              description: Optional base64 JSON attribution and locked-offer metadata. Does not alter the business result.
              schema:
                type: string
        '202':
          description: Payment pending. Retry identical input and proof; never create another payment.
          headers:
            Retry-After:
              description: Seconds before retrying identical body and proof.
              schema:
                type: string
                enum:
                - '5'
            X-Mekler-Referral-Receipt:
              description: Optional base64 JSON attribution and locked-offer metadata. Does not alter the business result.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - payment_pending
                  purchase_id:
                    type: string
                  retry:
                    type: string
                required:
                - status
                - purchase_id
                - retry
              example:
                status: payment_pending
                purchase_id: example-purchase-id
                retry: Resend the identical request and PAYMENT-SIGNATURE. Do not pay again.
        '400':
          description: Invalid input or payment; validate against this contract.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                  retry:
                    type: string
                  purchase_id:
                    type: string
                  price_usdc:
                    type: string
                required:
                - error
              example:
                error: invalid_request
        '402':
          description: x402 v2 payment quote for valid input. An empty unsigned POST receives a preflight-only 402 for directory validation; submit a valid bundle before signing. Expired/invalid proofs may also return 402.
          headers:
            PAYMENT-REQUIRED:
              description: Base64 JSON x402 v2 quote for valid unsigned input. Expired/invalid-proof errors may omit this header.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                  retry:
                    type: string
                  purchase_id:
                    type: string
                  price_usdc:
                    type: string
                  preflight_only:
                    type: boolean
                    description: True only for an unsigned empty-body directory preflight; this offer must not be signed.
                  next_step:
                    type: string
                required:
                - error
              example:
                error: payment_required
                price_usdc: '0.003000'
        '409':
          description: The proof is already bound to another request, or its transaction failed. Inspect error and purchase_id; do not automatically create another payment.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                  retry:
                    type: string
                  purchase_id:
                    type: string
                  price_usdc:
                    type: string
                required:
                - error
              example:
                error: payment_already_bound
        '413':
          description: Request exceeds 262144 bytes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                  retry:
                    type: string
                  purchase_id:
                    type: string
                  price_usdc:
                    type: string
                required:
                - error
              example:
                error: body_too_large
        '415':
          description: application/json required.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                  retry:
                    type: string
                  purchase_id:
                    type: string
                  price_usdc:
                    type: string
                required:
                - error
              example:
                error: application_json_required
        '503':
          description: Temporarily unavailable. Retry identical proof only.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                  retry:
                    type: string
                  purchase_id:
                    type: string
                  price_usdc:
                    type: string
                required:
                - error
              example:
                error: payment_temporarily_unavailable
        '429':
          description: API gateway throttling. Respect Retry-After when supplied; otherwise back off. Preserve any existing payment proof.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                - message
              example:
                message: Too Many Requests
      x-payment-info:
        protocols:
        - x402: {}
        price:
          mode: fixed
          currency: USD
          amount: '0.003'
      security:
      - x402: []
      operationId: generateQrCode
      summary: 'QR Code Generation: Generate a standards-based QR code from supplied UTF-8 text…'
      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. Maximum 1024 UTF-8 bytes, scale 1–8 and fixed four-module quiet zone. Encodes the supplied payload; does not validate a payment destination, execute payment or host an image.
      tags:
      - Images
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - text
              - request_id
              properties:
                text:
                  type: string
                  minLength: 1
                  maxLength: 1024
                  description: Literal payload, at most 1024 UTF-8 bytes. Payment URIs are encoded unchanged and are not payment authorization.
                format:
                  type: string
                  enum:
                  - svg
                  - png
                  default: svg
                error_correction:
                  type: string
                  enum:
                  - L
                  - M
                  - Q
                  - H
                  default: M
                scale:
                  type: integer
                  minimum: 1
                  maximum: 8
                  default: 4
                request_id:
                  type: string
                  pattern: ^[A-Za-z0-9_-]{16,64}$
                  description: Fresh identifier per new paid operation. Preserve with identical JSON and original proof for recovery.
            example:
              text: https://mekler.ai/
              format: png
              error_correction: M
              scale: 4
              request_id: qr-generation-example-001
      x-mekler-service: qr-code-generation
      x-agent-guide:
        payment:
          price: 0.003 native USDC per completed operation
          network: Solana mainnet or Base mainnet
          protocol: x402 v2 exact
          quote: POST the intended JSON unsigned for one input-bound 402; 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 for 30 day result recovery; do not buy again after a timeout or pending result. Fresh request_id creates a new paid operation.
          finality: A 202 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.
        referral:
          program_url: https://catalog.mekler.ai/referrals/program
          terms_url: https://catalog.mekler.ai/referrals/terms
          optional_header: X-Mekler-Referral
          wallet_hint_header: X-Mekler-Wallet
          network_hint_header: X-Mekler-Network
          receipt_header: X-Mekler-Referral-Receipt
          signup_required_for_buyer: false
          trial_commission: 0
          signed_use: Solana x402 memo binds the quote; Base uses the referral-aware EIP-3009 nonce adapter. Send the referral headers when requesting the quote and request current program instructions before signing.
          availability: Available under the current published referral offer. Request current program instructions before signing; ordinary paid access and explicit referral opt-out are supported.
        purpose: 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. Maximum 1024 UTF-8 bytes, scale 1–8 and fixed four-module quiet zone. Encodes the supplied payload; does not validate a payment destination, execute payment or host an image.
        choose_when:
        - Generate a standards-based QR code from supplied UTF-8 text or a payment URI.
        capabilities:
        - 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
        not_supported:
        - Dynamic redirects, hosted images, logo insertion, payment execution or validation of the encoded destination.
        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 be 16–64 ASCII letters, digits, underscores or hyphens; use a fresh value per new purchase.
        constraints:
          request_bytes: 24000
          semantics:
          - No work occurs on unsigned quotes. Normalize and bind the complete input before payment.
          - Successful results are encrypted for 30 day original-proof recovery.
          - Incomplete operation or source/storage failure is uncharged. A completed diagnostic or zero-match lookup is charged.
        result_interpretation:
          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.
        selection_examples:
        - task: Generate a standards-based QR code from supplied UTF-8 text or a payment URI.
          endpoint: /v1/images/qr/generate-code
          fit: true
        - task: Dynamic redirects, hosted images, logo insertion, payment execution or validation of the encoded destination.
          fit: false
          reason: Outside this bounded operation.
        privacy: 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 for 30 days; private recovery capabilities must remain private.
        documentation: See /openapi.json, /service.json and SKILL.md for the exact contract, payment and result interpretation.
    servers:
    - url: https://api.mekler.ai
components:
  securitySchemes:
    x402:
      type: http
      scheme: x402
      description: x402 v2 payment, not an account credential. An unsigned POST returns 402 with PAYMENT-REQUIRED; sign one accepts[] offer and resend the same request with PAYMENT-SIGNATURE. No API key or signup.
    inboxCapability:
      type: http
      scheme: bearer
      description: Caller-generated private access_key for this inbox; no account/API key registration. Free read/delete operations only.
    listingControl:
      type: apiKey
      in: header
      name: X-Mekler-Listing-Control
      description: Private domain-control capability, unrelated to payment.
    mailCapability:
      type: http
      scheme: bearer
      description: Owner or scoped mailbox capability; generate privately and never use an example key.
    monitorCapability:
      type: http
      scheme: bearer
      description: Private caller-generated owner_key for this monitor. No account or API-key registration. Free retrieve/delete only.
x-refined-from:
- mekler-ai-openapi.json
- openapi.json
x-catalog: https://api.mekler.ai/catalog.json
x-mcp: https://api.mekler.ai/mcp