x402-gateway · x402.freeq.one
Mermaid Diagram Renderer
Render a Mermaid diagram to an image (PNG or SVG). Returns a base64-encoded image (MCP content type image). Options: format (png|svg), theme (default|dark|forest|neutral), scale (1-4, PNG only). Pay per call in USDC on Base via x402, POST https://x402.freeq.one/tools/mermaid.
Sample input
input4 keys
body4 keys
code"graph TD
A[Client] -->|402| B[x402 Gateway]
B -->|settle| C[USDC on Base]
B -->|forward| D[Upstream API]"
format"png"
scale2
theme"default"
bodyType"json"
method"POST"
type"http"
inputobject, 4 keysSample response
response1 key
result0 keys
responseobject, 1 keyTrack record
- Paid calls, last 30 days
- 35
- Buyers, last 30 days
- 3
- Last paid call
Reported by the x402 directory.