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)

Newspic Draft

Create a newspic draft from title, content, and image URLs.

Newspic Draft

What it does

Creates a newspic draft for WeChat workflows.

Required headers

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

Request body

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

Copy-paste curl

curl -X POST "http://localhost:8080/api/v1/newspic-draft" \
  -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 '{
    "title": "Newspic title",
    "content": "Body",
    "imageUrls": ["https://example.com/1.jpg", "https://example.com/2.jpg"]
  }'

Agent notes

  • Use when the output format is not article markdown.
  • Pre-upload images when you need tighter media control.

Table of Contents

Newspic Draft
What it does
Required headers
Request body
Copy-paste curl
Agent notes