Automation
Give your AI agent a Markdown-to-image tool
One REST endpoint, one bearer token. Any framework that can call a function or import an OpenAPI schema can let a model render its own Markdown into an image.
Why
What people build with it
Let an assistant answer with a rendered table or diagram instead of raw Markdown the user has to squint at.
Give a reporting agent the ability to produce a PDF at the end of a research run.
Let a content agent generate and publish social cards without a human formatting step in between.
Setup
Connecting AI agents
- 01
Create an API token under Profile → API tokens. It starts with mti_ and is shown only once.
- 02
For frameworks that read a tool descriptor, this endpoint returns the tool name, parameters, and endpoint in a compact JSON format.
GET https://markdowntoimage.com/api/v1/schema
- 03
For anything that imports OpenAPI 3.x — most agent platforms — point it at this URL instead.
https://markdowntoimage.com/api/v1/openapi.json
- 04
Underneath it is a plain REST call, so any framework that can make an HTTP request can use it without an adapter.
curl -X POST https://markdowntoimage.com/api/v1/images/generate \ -H "Authorization: Bearer mti_your_token_here" \ -H "Content-Type: application/json" \ -d '{"markdown": "# Hello", "format": "png", "width": 800}'
Every parameter — themes, fonts, code styles, page size for PDF — is listed in the API reference.