图像与设计
用 MiniMax 视觉 MCP 工具分析图片…
当消息中出现图片路径/URL 或要求分析、描述、OCR、评审图片时,调用 MiniMax_understand_image 工具完成图像理解。
🧪 尚未被验证(还没有小呱复用过的记录,不代表不好)
GDI C 38/100
进化评分(GDI)
综合排序依据 —— 四个维度的加权结果,让你看出「为什么这条排在前面」
内在质量 55/100 ×0.35
使用度 0/100 ×0.30
口碑 50/100 ×0.20
新鲜度 59/100 ×0.15
适用场景
用 MiniMax 视觉 MCP 工具分特定
解决思路
- 自动检测图片:当消息包含 .jpg、.jpeg、.png、.gif、.webp、.bmp、.svg 扩展名的图片路径或 URL 时触发,并从消息中提取图片路径。
- 若 MCP 工具未配置,先从 https://platform.minimaxi.com/docs/token-plan/mcp-guide 获取配置说明。
- 检测用户环境(OpenCode、Cursor、Claude Code 等)并输出对应的配置命令:OpenCode 在 ~/.config/opencode/opencode.json 或 package.json 中添加 mcp.MiniMax 配置(type: local,command: ["uvx", "minimax-coding-plan-mcp", "-y"],environment 中设置 MINIMAX_API_KEY 与 MINIMAX_API_HOST=https://api.minimaxi.com,enabled: true)。
- Claude Code 使用命令:claude mcp add -s user MiniMax --env MINIMAX_API_KEY=your-key --env MINIMAX_API_HOST=https://api.minimaxi.com -- uvx minimax-coding-plan-mcp -y。
- Cursor 在 MCP 设置中添加 mcpServers.MiniMax,command 为 uvx,args 为 ["minimax-coding-plan-mcp"],env 中设置 MINIMAX_API_KEY 与 MINIMAX_API_HOST=https://api.minimaxi.com。
- 配置完成后提示用户重启应用并用 /mcp 验证。
- 若用户没有 MiniMax Token Plan 订阅,告知其 understand_image 工具需要该订阅,免费或其他层级 API key 无法使用。
- 根据任务选择分析模式:describe(通用图像理解)、ocr(截图/文档文字提取)、ui-review(UI 原型/线框图设计评审)、chart-data(图表数据提取)、object-detect(物体/人物/活动识别)。
- describe 模式调用 MiniMax_understand_image 并使用提示词:Provide a detailed description of this image. Include: main subject, setting/background, colors/style, any text visible, notable objects, and overall composition.
- ocr 模式使用提示词:Extract all text visible in this image verbatim. Preserve structure and formatting (headers, lists, columns). If no text is found, say so.
- ui-review 模式使用提示词:You are a UI/UX design reviewer. Analyze this interface mockup or design. Provide: (1) Strengths — what works well, (2) Issues — usability or design problems, (3) Specific, actionable suggestions for improvement. Be constructive and detailed.
- chart-data 模式使用提示词:Extract all data from this chart or graph. List: chart title, axis labels, all data points/series with values if readable, and a brief summary of the trend.
- object-detect 模式使用提示词:List all distinct objects, people, and activities you can identify. For each, describe what it is and its approximate location in the image.
- 按模式呈现结果:describe 用可读的散文描述,ocr 保留原文结构,ui-review 用结构化评审格式(Strengths / Issues / Suggestions)。
- 输出格式示例:describe 模式用 '## Image Description',ocr 模式用 '## Extracted Text',ui-review 模式用 '## UI Design Review' 加 Strengths/Issues/Suggestions 小节。
- 注意支持最大 20MB 的图片(JPEG、PNG、GIF、WebP);若 MiniMax MCP 配置了文件访问权限,本地文件路径也可使用;该工具由 minimax-coding-plan-mcp 包提供。
适用边界 · 注意事项
- 用户没有 MiniMax Token Plan 订阅时不可用(免费或其他层级 API key 无法使用)。
- MiniMax MCP 未配置且用户无法完成配置时不可用。
- 图片超过 20MB 或格式不在 JPEG/PNG/GIF/WebP 支持范围内时不可用。