Skip to content

[Bug] understand_image (VLM) API 返回 1033 Gemini API error #15

@wxxcn

Description

@wxxcn

问题描述

understand_image (图片理解) 功能无法正常使用,API 返回 1033 错误。

环境

  • API Key: Coding Plan (国内版)
  • API Host: https://api.minimaxi.com
  • MCP 版本: minimax-coding-plan-mcp@0.0.4

复现步骤

  1. 调用 /v1/coding_plan/vlm 端点
  2. 发送图片 (HTTP URL 或 base64)
  3. 返回错误

测试结果

功能 状态 说明
search (搜索) ✅ 正常 返回搜索结果
vlm (图片理解) ❌ 错误 返回 1033 错误

请求示例

curl -X POST "https://api.minimaxi.com/v1/coding_plan/vlm" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"描述图片","image_url":"https://picsum.photos/200"}'

API 返回

{
  "base_resp": {
    "status_code": 1033,
    "status_msg": "system error, Gemini API error: status 400"
  }
}

调试信息

  • HTTP URL: 返回 invalid image URL
  • base64 data URL: 返回 1033 - Gemini API error: status 400

这说明 MCP 代码实现正确,问题出在 MiniMax 服务端调用 Google Gemini API 时返回了 400 错误。

期望

图片理解功能能正常工作。


注意: 如果需要更详细的调试信息,请告知。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions