词云生成器
从文本生成美观的词云,支持自定义字体、颜色和大小
API 文档
请求端点
POST /zh/api/tools/word-cloud-generator
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| textData | textarea | 是 | 用于词频分析的文本。更长的文本能生成更好的词云 |
| chartTitle | text | 否 | 显示在词云上方的标题 |
| fontFamily | select | 否 | - |
| colorScheme | select | 否 | - |
| backgroundColor | color | 否 | 词云的背景颜色 |
| maxWords | number | 否 | 云中显示的最大词数 |
| minFontSize | number | 否 | 低频词的最小字体大小(像素) |
| maxFontSize | number | 否 | 高频词的最大字体大小(像素) |
| spiralType | select | 否 | - |
| rotationAngles | select | 否 | - |
| padding | number | 否 | 词之间的最小间距(像素) |
| chartWidth | number | 否 | 词云的像素宽度 |
| chartHeight | number | 否 | 词云的像素高度 |
| showBorder | checkbox | 否 | 在词云周围显示边框 |
响应格式
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-word-cloud-generator": {
"name": "word-cloud-generator",
"description": "从文本生成美观的词云,支持自定义字体、颜色和大小",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=word-cloud-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]