API 参考 / 队列

取消

llms-full.txt
PUThttps://api.minicut.ai/v1/queue/{model_id}/requests/{request_id}/cancel

取消排队中或运行中的请求,全额退款

路径

model_idstring必填

模型 ID,例如 seedance-2.5

request_idstring必填

响应 202

statusstring
curl -X PUT "https://api.minicut.ai/v1/queue/seedance-2.0/requests/$REQUEST_ID/cancel" \
  -H "Authorization: Key $MINIAPI_KEY"
响应 202
{
  "status": "CANCELLATION_REQUESTED"
}
400already_completed 任务已经结束
401missing_api_key 没有 Authorization 请求头
401invalid_api_key 密钥错误、不存在或已被撤销
404request_not_found 你的请求里没有这个 ID
429rate_limited 请求太多,请等待 Retry-After 指定的时间
500internal_error 问题在我们这边,请重试