API 参考 / 队列

结果

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

已结束请求的结果

路径

model_idstring必填

模型 ID,例如 seedance-2.5

request_idstring必填

响应 200

videoobject
video.urlURL 字符串
video.content_typestring
video.file_namestring
video.file_sizeinteger 或 null
video.widthinteger
video.heightinteger
video.fpsnumber
video.durationnumber
imagesobject 数组
audioobject
audio.urlURL 字符串
audio.content_typestring
audio.file_namestring
audio.file_sizeinteger 或 null
audio.widthinteger
audio.heightinteger
audio.fpsnumber
audio.durationnumber
stemsobject
model_meshobject
model_mesh.urlURL 字符串
model_mesh.content_typestring
model_mesh.file_namestring
model_mesh.file_sizeinteger 或 null
model_mesh.widthinteger
model_mesh.heightinteger
model_mesh.fpsnumber
model_mesh.durationnumber
seedinteger 或 null
billingobject
billing.pricestring

实际扣费,保留 6 位小数,币种由 `currency` 字段指明

billing.currencystring

这个对象及其内部各项金额的币种。始终是 USD

billing.unitstring
billing.quantitynumber
billing.tierstring
curl "https://api.minicut.ai/v1/queue/kling-lip-sync/requests/$REQUEST_ID" \
  -H "Authorization: Key $MINIAPI_KEY"
响应 200
{
  "video": {
    "url": "https://...",
    "content_type": "video/mp4",
    "file_name": "video-1.mp4",
    "file_size": 4183920,
    "width": 1280,
    "height": 720,
    "fps": 24,
    "duration": 5.04
  },
  "seed": null,
  "billing": {
    "price": "1.750000",
    "currency": "USD",
    "unit": "second",
    "quantity": 5,
    "tier": "720p"
  }
}
400request_in_progress 任务还没结束,请轮询它的状态
401missing_api_key 没有 Authorization 请求头
401invalid_api_key 密钥错误、不存在或已被撤销
404request_not_found 你的请求里没有这个 ID
422the request failed
422was cancelled
422expired
429rate_limited 请求太多,请等待 Retry-After 指定的时间
500internal_error 问题在我们这边,请重试