Skip to content

[Feature] 支持 video_url content type in mmx text chat #178

Description

@CEHNICA

功能请求:支持视频理解 (video_url content type)

背景

MiniMax M3 是原生多模态模型,API 文档明确支持视频输入(via video_url content part in Chat Completions API)。

当前 mmx text chat 使用的是 MiniMax 自己的 /v1/text/chatcompletion_v2 接口,不支持 video_url content type,导致无法通过 CLI 进行视频理解。

已验证可行的方案

通过直接 curl 调用 /v1/chat/completions(OpenAI 兼容接口)可以正常工作:

curl -X POST https://api.minimaxi.com/v1/chat/completions \
  -H "Authorization: Bearer $MINIMAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions