md2wechat Agent API markAgent API Docs
md2wechat Agent API markAgent API Docs
Homepage

Start

Markdown to WeChat API DocsQuickstartAuth

APIs

Integrations

Operations

ErrorsPricingContact
X (Twitter)

Batch Upload

Upload remote images as WeChat materials.

Batch Upload

What it does

Uploads remote images and returns WeChat material results.

Required headers

Content-Type: application/json
Wechat-Appid: wx1234567890abcdef
Wechat-App-Secret: your_app_secret
Md2wechat-API-Key: wme_your_api_key

Request body

{
  "imageUrls": ["https://example.com/1.jpg", "https://example.com/2.jpg"]
}

Copy-paste curl

curl -X POST "http://localhost:8080/api/v1/batch-upload" \
  -H "Content-Type: application/json" \
  -H "Wechat-Appid: wx1234567890abcdef" \
  -H "Wechat-App-Secret: your_app_secret" \
  -H "Md2wechat-API-Key: wme_your_api_key" \
  -d '{
    "imageUrls": ["https://example.com/1.jpg", "https://example.com/2.jpg"]
  }'

Agent notes

  • Useful before article or newspic creation.
  • Best for remote-image publishing pipelines.

Table of Contents

Batch Upload
What it does
Required headers
Request body
Copy-paste curl
Agent notes