1. Anthropic 接口
xinglianapi
  • 价格-充值-分组-模型价格介绍
    XINGLIAN
  • 站点操作指南-快速上手调用大模型API
    XINGLIAN
  • FAQ常见问题
    • 问题自查方法
    • 入门必看
      • 我注册并且充值了,key 在哪?
      • 如何充值?
      • 可以使用哪些大模型 API ?
      • 如何获取 OpenAI Key ? 如何获取 Claude Key ? 如何获取 Gemini Key ?等等
      • 怎么更换模型使用?
      • 接口在中国大陆能使用吗?
      • 按量计费还是按月支付?
      • 配置模型的时候 URL 用哪个?
      • 怎么检查一次调用消耗了多少 Token?
      • 请问我余额为负了怎么回事?
    • 常见误区
      • 明明余额还有很多,为什么显示令牌无法使用?
      • Key 为什么不能用?为什么我调用 API 没反应?
      • 新建令牌参数怎么填?
      • 为什么调用接口返回“无效的令牌”?
      • API 接口返回报错,报错代码 400 401 403 404 405 413 429 500 503 504 524 是什么意思?
  • 软件/插件 配置xinglianapi教程
    • IDE 与 AI 编程助手 (IDE & Coding Assistants)
      • vscode接入xinglianapi教程
      • Trae 配置使用 API 教程
      • Cursor接入xinglianapi教程
      • opencode接入api教程
      • GPT-codex安装教程
      • claudecode安装教程(win/mac)
    • 桌面级 AI 客户端 (Desktop Clients)
      • xinglianapi接入Cherry Studio
      • xinglianapi接入chatbox
      • WorkBuddy 接入4sapi教程
    • 工作流与自动化工具 (Workflows & Automation)
      • Coze 配置使用 xinglianapi 教程
      • Dify 配置使用 xinglianapi 教程
      • n8n配置使用xinglianapi教程
      • cc switch使用教程
      • cc+ccs配置deepseek|glm模型
      • open claw在云服务器linux环境下通过终端配置api
    • 开源项目与高级部署 (Open Source & Infrastructure)
      • 腾讯云openclaw接入xinglianapi教程
      • Hermes Agent linux安装接入4sapi教程
      • OpenClaw 接入 API 教程
  • 模型接口
    • Vidu
      • 创建视频任务 - Vidu
      • 查询任务状态
      • 拉取视频流(代理)
    • 智谱
      • Chat Completions 接口
        • 文本对话
        • 流式输出
        • 工具调用
        • 联网搜索
      • Messages 接口
        • 文本对话
        • 流式输出
        • 深度思考
        • 工具调用
    • 豆包
      • doubao-seedream-4-0-250828-文生图
      • doubao-seedream-4-0-250828-图生图
      • doubao-seedream-4-0-250828-多图生图
    • 3D模型
      • Hunyuan3D-2
    • MiniMax
      • Chat Completions 接口
        • Chat Completions API
        • 图片理解
        • 视频理解
        • 深度思考
        • 流式输出
        • 工具调用
      • Responses 接口
        • Responses API
        • 简单对话
        • 对话历史
        • 流式输出
        • 工具调用
        • 多轮工具调用
      • Anthropic 接口
        • Anthropic API
          POST
        • 图片理解
          POST
        • 视频理解
          POST
        • 深度思考
          POST
        • 流式输出
          POST
        • 工具调用
          POST
    • DeepSeek
      • Chat Completions 接口
        • Chat Completions API
        • 思考模式
        • 工具调用
        • 流式输出
      • Response 接口
        • Response API
        • 思考模式
        • 工具调用
        • 流式输出
    • 可灵 Kling
      • 创建视频任务 - 可灵 Kling
      • 查询任务状态
      • 拉取视频流(代理)
    • 腾讯混元 hy
      • chat completions 接口
        • 简单对话
        • 流式请求
        • 深度思考
        • 多轮对话
        • 工具调用
    • 月之暗面 Kimi
      • Chat Completions 接口
        • Chat Completions API
        • 简单对话
        • 推理对话
        • 流式输出
        • 视觉输入
        • 工具调用
    • 阿里 QWen
      • Chat Completions 接口
        • 文本对话
        • 流式输出
        • 工具调用
        • 视频输入
        • 图像输入
        • 联网搜索
      • Messages 接口
        • 文本对话
        • 流式输出
        • 深度思考
        • 图片理解
        • 视频理解
        • 工具调用
    • 阿里 HappyHorse
      • 创建视频任务 - 阿里 happyhorse
      • 查询任务状态
      • 拉取视频流(代理)
  • 个人API接口文档
    • 获取个人token
    • 一、个人信息
      • 1. 获取个人信息
      • 2. 修改个人信息
      • 3. 注销账户
      • 4. 获取可用模型列表
      • 5. 获取用户分组
      • 6. 更新用户设置(额度预警等)
      • 7. 生成系统访问令牌
    • 二、令牌管理(API Key)
      • 1. 获取令牌列表
      • 2.搜索令牌
      • 3. 获取单个令牌
      • 4.创建令牌
      • 5.更新令牌
      • 6. 删除令牌
      • 7.批量删除令牌
      • 8.获取单个令牌(明文显示)
    • 三、日志与统计
      • 1. 查看个人使用日志
      • 2. 个人日志统计
      • 3. 令牌每日消耗
      • 4. 令牌模型消耗预览(Top 3)
      • 5. 令牌全量模型消耗
      • 6. 导出令牌每日消耗 XLSX
      • 7. 个人额度时序数据
  • 数据模型
    • 示例数据模型
      • 未命名数据模型
      • Pet
      • Category
      • Tag
  1. Anthropic 接口

视频理解

POST
/v1/messages

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "model": "MiniMax-M3",
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "这个视频里发生了什么?"
                },
                {
                    "type": "video",
                    "source": {
                        "type": "url",
                        "url": "https://filecdn.minimax.chat/public/ee8c1648-21f1-41b7-8397-65022d22ffe5.mp4"
                    }
                }
            ]
        }
    ],
    "max_tokens": 1024,
    "thinking": {
        "type": "adaptive"
    }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/v1/messages' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "model": "MiniMax-M3",
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "这个视频里发生了什么?"
                },
                {
                    "type": "video",
                    "source": {
                        "type": "url",
                        "url": "https://filecdn.minimax.chat/public/ee8c1648-21f1-41b7-8397-65022d22ffe5.mp4"
                    }
                }
            ]
        }
    ],
    "max_tokens": 1024,
    "thinking": {
        "type": "adaptive"
    }
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
  "id": "066b4573467fa2bb299cee687b68873d",
  "type": "message",
  "role": "assistant",
  "model": "MiniMax-M3",
  "content": [
    {
      "thinking": "The user is asking in Chinese: \"What happened in this video?\"\n\nI need to describe the events in the video clip provided.\n\n1.  **Analyze the initial state (0.0s - 0.2s):** A spotted cat, resembling a Bengal cat, is walking confidently on a springboard, which looks like a diving board. The background shows an Olympic setting (\"Lausanne 2022\" and the Olympic rings are visible). There's a crowd watching in the background. The cat is moving towards the end of the board.\n2.  **Observe the action (0.2s - 0.4s):** The cat reaches the end of the springboard and leaps off.\n3.  **Follow the trajectory (0.4s - 0.5s):** The cat is in mid-air, flying over a swimming pool. It looks like it's doing a dive.\n4.  **Analyze the final state (0.5s - 0.6s):** The cat splashes into the blue water of the swimming pool, creating a white splash. A person standing by the side of the pool appears to be reacting or clapping.\n\n**Synthesize the description:**\n- Start with the subject: A cat.\n- Describe its initial action: Walking on a diving board (springboard).\n- Describe the setting: It looks like an Olympic swimming event (Lausanne 2022).\n- Describe the main event: The cat jumps off the diving board into the air.\n- Describe the conclusion: The cat lands in the swimming pool, making a splash.\n\n**Translate to Chinese (as requested implicitly by the prompt language, but I should respond in the language the user used. The user asked in Chinese, so I will respond in Chinese. Wait, let me double-check standard practices. Usually, I should answer in the same language as the prompt. Prompt is Chinese. So, answer in Chinese.)\n\n**Drafting the Chinese response:**\n- 视频里,一只猫正在走路。\n- 它走到跳板的尽头。\n- 然后它从跳板上跳了下去。\n- 它在空中飞了一会儿。\n- 最后,它一头扎进了游泳池里,溅起了一片水花。\n- 背景看起来像是在洛桑2022年奥运会。\n\nLet's refine it into a concise and accurate description.\n\"视频显示,一只猫在跳水板上行走,然后从跳水板上跳下,扎进游泳池里。\" (The video shows a cat walking on a diving board, then jumping off it and plunging into a swimming pool.)\n\nLet's add a bit more detail based on the visual evidence.\n\"在洛桑2022年奥运会的背景下,一只猫在跳板上走到尽头,然后纵身一跃,跳入泳池中。\" (Against the backdrop of the Lausanne 2022 Olympics, a cat walks to the end of a diving board, then leaps and jumps into a swimming pool.)\n\nLet's stick to a simple, direct description of the main action.\n\"一只猫在跳板上行走,随后从跳板上跳下,扎进了身后的游泳池中。\" (A cat walks on a diving board, then jumps off the board and plunges into the swimming pool behind it.)\n\nThis is a good, concise summary of the key events. It covers the initial state, the action, and the final state.",
      "signature": "3ebe06a965f7edbb379552ee8f6485100f473eb42f12fb3541d952d5f5908d46",
      "type": "thinking"
    },
    {
      "text": "视频显示,一只猫在跳板上行走,随后从跳板上跳下,扎进了身后的游泳池中。",
      "type": "text"
    }
  ],
  "usage": {
    "input_tokens": 349,
    "output_tokens": 686,
    "cache_creation_input_tokens": 0,
    "cache_read_input_tokens": 1894
  },
  "stop_reason": "end_turn"
}
修改于 2026-08-20 06:45:28
上一页
图片理解
下一页
深度思考
Built with