Retrieve task
最近更新:2026年9月7日
按站内统一形状查 minimax/minimax-h3-max 的任务结果,带用量与费用。
按站内统一形状查 minimax/minimax-h3-max 的任务,带用量与费用。
GET
https://gateway.amux.ai/v1/tasks/{id}鉴权
headerAuthorizationstring必填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-max",
"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.25",
"notes": [
"<string>"
],
"error": {
"message": "<string>",
"code": "<string>"
}
}