Release Date: February 10, 2026
We're excited to announce the launch of our Public API! Now you can convert Markdown to images programmatically, enabling seamless integration into your workflows, CI/CD pipelines, and AI agents.
- Image Generation API:
POST /api/v1/images/generate— Convert Markdown to PNG, JPEG, or WebP images with full support for code highlighting, KaTeX math, Mermaid diagrams, and 19 visual themes. - Usage Statistics API:
GET /api/v1/account/usage— Track your monthly quota and credit balance in real time. - MCP-Compatible Schema:
GET /api/v1/schema— API schema in MCP (Model Context Protocol) tool definition format, ready for AI agent integration. - Two Response Modes: Choose between
urlmode (temporary image URL, retained for 24 hours) orbinarymode (raw image data).
- Secure Token Management: Create, list, and revoke API tokens from your profile page. Tokens are stored as SHA-256 hashes — your secret is shown only once upon creation.
- Bearer Token Auth: Simple
Authorization: Bearer mti_xxxheader for all API calls.
- 50 Free Requests/Month: Every account gets 50 free API calls per month (images include a watermark).
- Credit-Based Requests: After the free quota, each request costs 1 credit and the watermark is automatically removed.
- Usage Dashboard: Monitor your free quota and credit balance on the API Tokens page.
- Interactive API Docs: A new
/api-docspage with endpoint documentation, parameter references (including all valid values for themes, code styles, and fonts), and code examples in cURL, Python, Node.js, and Go. - API Announcement Banner: A site-wide banner notifying users about the new API availability.
- Theme Rendering Fix: Fixed an issue where the
themeparameter had no effect on API-generated images. All 19 themes now apply correctly. - Font Rendering Fix: Fixed an issue where
fontFamilyparameter (e.g.,inter,japanese) was loaded but not applied. Google Fonts now correctly set the CSSfont-familyproperty.






