saylorinnovations.com/api/diagram/render
Render diagram code (Mermaid, Graphviz, PlantUML, D2 and more) to SVG, with shareable image URLs
GET
https://saylorinnovations.com/api/diagram/renderUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/diagram/render?type=mermaid&source=graph+TD%3B+Agent--%3Ex402--%3EAPI" # 402 Payment Required comes back with the price and where to pay.
Example input
{
"type": "mermaid",
"source": "graph TD; Agent-->x402-->API"
}