md2wechat Agent API markmd2wechat Agent API
  • Docs
  • Themes
  • Editor
  • Blog
  • Pricing
  • Examples
  • Skills
  • Contact

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.

Read QuickstartCopy curl exampleContact for Pro access
Main site: md2wechat.com
Editor: md2wechat.cn
Official skill: md2wechat-skill
OpenAPI + llms.txt

基础转换

把 Markdown 直接转成微信公众号可粘贴 HTML。

POST /api/v1/convertMd2wechat-API-Key
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"
  }'
Use convert when you only need Markdown to WeChat HTML. Add article-draft, newspic-draft, and batch-upload when the agent must write directly into the WeChat backend.

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.

01
Get your API key

Contact us with your workflow and whether you need the Basic or Advanced plan.

02
Copy the smallest command

Use /api/v1/convert for Basic, or add the WeChat headers for draft and upload endpoints.

03
Inspect the response

Verify the returned HTML, draft result, or upload result before wiring it into your agent.

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.

Convert Markdown into WeChat HTML
Use after content generation to produce HTML for direct publishing or review.

Input

Markdown + theme + fontSize + convertVersion

Output

WeChat-ready HTML

Headers

Md2wechat-API-Key
Create article drafts directly
Close the loop from AI-generated content to ready-to-review drafts.

Input

Markdown + coverImageUrl + WeChat credentials

Output

Article draft result

Headers

Wechat-AppidWechat-App-SecretMd2wechat-API-Key
Create newspic drafts
Handle image-heavy publishing flows without leaving the agent environment.

Input

title + content + imageUrls[] + WeChat credentials

Output

Newspic draft result

Headers

Wechat-AppidWechat-App-SecretMd2wechat-API-Key
Upload remote images in bulk
Pre-stage assets for article and newspic publishing pipelines.

Input

imageUrls[] + WeChat credentials

Output

Material upload result

Headers

Wechat-AppidWechat-App-SecretMd2wechat-API-Key

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.

Codex / OpenCode / Cursor
Use one CLI to unlock convert, draft, and upload flows.
curl -fsSL https://raw.githubusercontent.com/geekjourneyx/md2wechat-lite/main/cli/scripts/install.sh | sh
CLI / skill / raw APIOpen
Claude Code
Install the publishing workflow as a reusable skill.
/plugin marketplace add geekjourneyx/md2wechat-skill /plugin install md2wechat@geekjourneyx-md2wechat-skill
CLI / skill / raw APIOpen
OpenClaw
Keep the same skill distribution model across ecosystems.
curl -fsSL https://raw.githubusercontent.com/geekjourneyx/md2wechat-skill/main/scripts/install-openclaw.sh | bash
CLI / skill / raw APIOpen
Raw API
The shortest path for any agent that can run HTTP requests.
curl -X POST http://localhost:8080/api/v1/convert ...
CLI / skill / raw APIOpen

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.

Basic
For teams that only need reliable WeChat HTML conversion.
¥99

POST /api/v1/convert

Quickstart, curl snippets, markdown docs

CLI and skill integration guides

Phase 1 / Manual activationContact for Basic
Advanced
For teams that want agents to create drafts and upload media programmatically.
Recommended ¥129

POST /api/v1/article-draft

POST /api/v1/newspic-draft

POST /api/v1/batch-upload

Phase 1 / Manual activationContact for Advanced

FAQ

FAQ

Direct answers about onboarding, auth, pricing, and scope.

md2wechat Agent API markmd2wechat Agent API

The official md2wechat API, docs, CLI, and skill entry points for Markdown to WeChat publishing workflows.

GitHubX (Twitter)
Product
  • Quickstart
  • Themes
  • Pricing
  • Contact
Docs
  • Auth
  • OpenAPI
  • llms.txt
Ecosystem
  • Examples
  • Skills
  • md2wechat-lite
© 2026 md2wechat Agent API. All Rights Reserved.