Amux

Retrieve task

最近更新:2026年9月7日

按站内统一形状查 minimax/minimax-h3 的任务结果,带用量与费用。

按站内统一形状查 minimax/minimax-h3 的任务,带用量与费用

GEThttps://gateway.amux.ai/v1/tasks/{id}

鉴权

header
Authorizationstring必填

Bearer <你的 Amux 密钥> 站内 API Key。

请求

idstring必填

提交时返回的 Amux 任务 ID。

响应

200response

无论跑没跑完都是 200,状态在 status 里。

404response

当前工作区里没有这个任务。

无论是否完成都返回 200

状态在 status 里,轮询只需判断这一个字段。

status含义是否计费
queued排队中——
running生成中——
succeeded已完成,产物在 output.videos按实际用量计费
failed上游拒绝或出错不计费,预扣已释放
canceled用户取消⚠️ 提交上游之后取消照常计费
expired未能完成且不可再取回不计费,预扣已释放

用量与费用

usage.output_video_seconds上游报的实际出片时长cost 按它算。 这个模型为输入素材收费:参考图按张、参考视频按其输入时长(费率随出片分辨率档走);参考音频免费。

notes:我们对你的请求做了什么

只在确实做过什么时出现。这个模型上最常见的一条是纯文生时替你补了比例:

set ratio=16:9: this model requires an explicit ratio for text-only generation

没有这个键就表示原样送上去了。

产物地址

output.videos[].url 指向我们的存储。链接会被清理,需要长期保存请尽快下载。

output.images 恒为空数组但字段始终存在——它为图像任务的存量客户端保留, 不能用它是否存在判断任务模态

cURL
curl https://gateway.amux.ai/v1/tasks/{id} \
  -H "Authorization: Bearer $AMUX_API_KEY"
{
  "id": "task_01M1VD9E8WRYVBR7ES10SNQQQT",
  "status": "queued",
  "model": "minimax/minimax-h3",
  "created_at": "<string>",
  "output": {
    "images": [
      {}
    ],
    "videos": [
      {
        "index": 0,
        "url": "<string>"
      }
    ]
  },
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0,
    "total_tokens": 0,
    "output_video_seconds": 0
  },
  "cost": "0.36",
  "notes": [
    "<string>"
  ],
  "error": {
    "message": "<string>",
    "code": "<string>"
  }
}