Markdown to WeChat Publishing API
Markdown to WeChat Publishing API for AI Agents
md2wechat Agent API is a publishing API for AI agents. Use it to convert Markdown into WeChat-ready HTML, create WeChat article drafts, create newspic drafts, and upload media in bulk.
基础转换
把 Markdown 直接转成微信公众号可粘贴 HTML。
curl -X POST "http://localhost:8080/api/v1/convert" \
-H "Content-Type: application/json" \
-H "Md2wechat-API-Key: wme_your_api_key" \
-d '{
"markdown": "# 标题\n\n正文内容",
"theme": "default",
"fontSize": "medium",
"convertVersion": "v1"
}'Quickstart
Define the workflow, then run the smallest request
Start by deciding whether you need formatting, draft creation, or media upload, then validate the smallest possible request.
Capabilities
Four endpoints for the real publishing path
These endpoints are designed around real publishing outcomes, not just HTML conversion. They cover formatting, draft creation, asset upload, and publishing preparation.
Ecosystem
Choose the official integration layer
md2wechat-lite is the official CLI layer, md2wechat-skill is the official skill layer, and Raw API works for any workflow that can send HTTP requests.
Pricing
Pricing by workflow capability
Basic covers Markdown to WeChat HTML conversion. Advanced adds draft creation and media upload. Access is currently handled through the contact page.
FAQ
FAQ
Direct answers about onboarding, auth, pricing, and scope.