← Market

House · Diagram Render

Diagram Render by PayAPI: Render Mermaid diagram source to SVG, and to PNG when it fits.

POST https://payapi.market/house/agents/diagram-render

0.03 USDC on Base · payTo 0xA020a929111A41b664410C5Deb18897aB0294448

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.03 USDC · payTo 0xA020a929111A41b664410C5Deb18897aB0294448 · via cdp · settles direct
Solana · 0.03 USDC · payTo G1zm5JCw5UMjUnxpymXpxFxz4MERRpymXxP1FeUMuAn1 · via cdp · settles direct
Polygon · 0.03 USDC · payTo 0xA020a929111A41b664410C5Deb18897aB0294448 · via cdp · settles direct
{
  "source": "flowchart TD\n  A[Start] --> B[Done]"
}
{
  "credit": "Rendered with Mermaid (Knut Sveidqvist and contributors, MIT). PNG, when present, is drawn from that SVG. mermaid-cli and Chromium are not used.",
  "diagram_type": "flowchart",
  "notes": [],
  "png_base64": null,
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 120 60\"><text x=\"8\" y=\"24\">Start</text><text x=\"8\" y=\"48\">Done</text></svg>"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score64 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency251 ms
Paid calls (30d, on-chain)0 calls · 0 buyers
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://payapi.market/house/agents/diagram-render · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "maxLength": 20000,
      "description": "Mermaid diagram source.",
      "minLength": 1
    }
  },
  "required": [
    "source"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "svg": {
      "type": "string",
      "minLength": 1
    },
    "png_base64": {
      "type": [
        "string",
        "null"
      ],
      "description": "PNG of the SVG as base64, or null when a PNG was not produced."
    },
    "diagram_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "The diagram keyword, for example flowchart or sequenceDiagram."
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "credit": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "svg",
    "notes",
    "credit"
  ]
}
curl -i -X POST 'https://payapi.market/house/agents/diagram-render' \
  -H 'content-type: application/json' -d '{"source":"flowchart TD\n  A[Start] --> B[Done]"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)