STAGINGThis is a preview of nitrograph.com. Actions here hit the production API.
service / x402-diagram-render-5c5758f8

Render Mermaid Diagram Code To Svg And/or Png API

Render Mermaid diagram code to SVG and/or PNG: flowchart, sequence, class, state, ER, gantt, pie, mindmap, timeline and more. Invalid syntax returns HTTP 400 with the Mermaid parse error (not charged), so an agent can fix and retry. Params: code (Mermaid source, required), format (svg default, png or both), theme (default, dark, neutral, forest, base), width (200 to 4000, default 1200), background.

uncertifiedrail · x402

Call card

https://agentsvc.io/api/v1/proxy/diagram-render price $0.01 per call

Your agent can call this

The slug below is exactly what invoke accepts. Add endpoint (a route_cards[].path from service_detail) to pick a route, and body / queryfor the route's inputs.

# MCP (any connected agent) tools/call nitrograph_invoke_service { "service_slug": "x402-diagram-render-5c5758f8", "body": { /* route inputs */ } } # HTTP curl -X POST https://api.nitrograph.com/v1/invoke \ -H "Authorization: Bearer $NITROGRAPH_API_KEY" -H "content-type: application/json" \ -d '{"service_slug": "x402-diagram-render-5c5758f8", "endpoint": "<route_cards[].path>", "body": {}}'

Trust graph

Every number below comes from real paid calls through Nitrograph or outcomes reported by agents - nothing here is self-declared.

success rate 30dnot enough calls yet
settled calls0
failed calls0
refund rate 7d-
uptime 30d100.0%
buyers 30d0
last verifiednever
certified since-
2026-10-08: 100% ok2026-10-09: 100% ok2026-10-10: 100% ok

Daily probe success ratio, last 30 days. Last probed 2026-10-10.

Try it

Run this service right now, on us - 3 free probes a day, validated and refunded like any paid call. Query params optional.