edrawmax-diagram

Generate diagrams from natural language using EdrawMax AI APIs. Supports four diagram types: flowchart (流程图), infographic (信息图), Gantt chart (甘特图), and mind map (思维导图). Use when the user wants to create, generate, or draw any of these diagram types. Triggers on: 'generate a flowchart,' 'create a mind map,' 'draw a Gantt chart,' 'make an infographic,' 'visualize a process,' 'project timeline,' 'knowledge map,' or any request to turn a description into a diagram.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "edrawmax-diagram" with this command: npx skills add EdrawMax AI Team(万兴图示 AI 团队)/edrawmax-diagram

EdrawMax(万兴图示)AI Diagram Generator

Author: EdrawMax AI Team(万兴图示 AI 团队)· Organization: Wondershare EdrawMax(万兴图示) Version: 2.0.0 · License: Proprietary © 2026 Wondershare EdrawMax(万兴图示). All rights reserved.

Generate four types of diagrams from natural language via EdrawMax(万兴图示)AI APIs. Each API returns PNG/SVG image URLs and source code.

Step 1 — Choose Diagram Type

User IntentTypeEndpoint
Process, workflow, steps, decision flowflowchart/skills/generate-flowchart
Data visualization, statistics, comparisoninfographic/skills/generate-infographic
Project plan, timeline, schedule, phasesgantt/skills/generate-gantt
Knowledge structure, brainstorm, topic treemindmap/skills/generate-mindmap

If the user's intent is ambiguous, ask which diagram type they want.

Step 2 — Call the API

Base URL: https://api.edrawmax.cn/api/ai

All four endpoints share the same request format:

POST https://api.edrawmax.cn/api/ai/skills/generate-{type}
Content-Type: application/json

{"prompt": "<user description>", "lang": "cn", "platform": "web"}

Request Parameters

FieldTypeRequiredDefaultDescription
promptstringYesNatural language description of the diagram
langstringNo"cn"Language: en, cn, jp, kr, es, fr, de, it, tw, pt, ru, id
platformstringNoPlatform: web, win, mac, ios, android, linux

Response Fields

Flowchart returns:

{ "code": 0, "msg": "", "data": { "png_url": "...", "svg_url": "...", "mermaid_code": "..." } }

Infographic / Gantt / Mindmap return:

{ "code": 0, "msg": "", "data": { "png_url": "...", "svg_url": "...", "source_code": "..." } }

Note: flowchart uses mermaid_code, the other three use source_code.

Step 3 — Download Files Locally

After a successful API call, always run the download script to save the images locally:

python <skill-path>/scripts/download_diagram.py --png-url "<png_url>" --svg-url "<svg_url>" [--output-dir "<dir>"]
  • Default output directory: ./edrawmax_output
  • The script prints the local file paths as JSON, e.g.:
    {"png_path": "./edrawmax_output/diagram_20260312_143000.png", "svg_path": "./edrawmax_output/diagram_20260312_143000.svg"}
    
  • Use the returned local file paths when presenting results to the user.

Step 4 — Present Results to User

Provide the user with:

  1. Local PNG file path (primary, for quick preview)
  2. Local SVG file path (for high-quality / scalable use)
  3. Source code (mermaid_code or source_code) for secondary editing
  4. Original OSS URLs as backup links

Error Handling

codemsgAction
400prompt is requiredAsk user to provide a description
400lang不合法Fix lang to a valid value
2406risk control rejectionContent rejected; ask user to rephrase
3001concurrency limitWait briefly, then retry once
212200生成失败Retry once; if still failing, report to user
212201渲染失败Retry once; if still failing, report to user
500panicReport internal server error to user

For retryable errors (3001, 212200, 212201), retry up to 1 time before reporting failure. If the error persists, inform the user and share the support contact (see FAQ below).

FAQ

Q: 使用 EdrawMax(万兴图示)AI MCP 服务是否需要付费? A: 目前为限时免费,用户可免费调用服务。

Q: 如何联系我们? A: 如有技术问题、服务反馈或 API 大量购买需求,欢迎通过邮箱联系: 📧 ws-business@wondershare.cn 我们将尽快为您解答。

Language Mapping

Map user language/locale to lang param:

  • English → en, 简体中文 → cn, 日本語 → jp, 한국어 → kr
  • Español → es, Français → fr, Deutsch → de, Italiano → it
  • 繁體中文 → tw, Português → pt, Русский → ru, Bahasa Indonesia → id

Notes

  • user_id is extracted server-side from X-User-ID header; do not pass it in the body
  • Always present the source code so users can edit or re-render
  • For full API specs, see references/api-reference.md
  • When an error cannot be resolved after retry, always share the support email ws-business@wondershare.cn with the user

© 2026 Wondershare EdrawMax(万兴图示)AI Team. This skill and all associated resources are proprietary to EdrawMax(万兴图示). Unauthorized reproduction or distribution is prohibited.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Leads

Leads - command-line tool for everyday use

Registry SourceRecently Updated
General

Bmi Calculator

BMI计算器。BMI计算、理想体重、健康计划、体重追踪、儿童BMI、结果解读。BMI calculator with ideal weight, health plan. BMI、体重、健康。

Registry SourceRecently Updated
General

Blood

Blood — a fast health & wellness tool. Log anything, find it later, export when needed.

Registry SourceRecently Updated
General

Better Genshin Impact

📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI A better genshin impact, c#, auto-play-game, automatic, g...

Registry SourceRecently Updated