API 参考 / 价格

报价

llms-full.txt
POSThttps://api.minicut.ai/v1/quote/{model_id}

某个请求体的确切价格。15 分钟内把它的报价 ID 连同提交一起发送,就按这个价格付费。

路径

model_idstring必填

模型 ID,例如 seedance-2.5

请求体:kling-4

multi_promptstring 数组

每个镜头一条提示词,用于在一个视频里生成多个镜头。

durationinteger3 至 30

时长,单位是秒。价格随它变化。

resolutionstring

输出分辨率。越高越清晰,也越慢、越贵。

720p1080p
voice_idsstring 数组
aspect_ratiostring

结果的宽高比,例如 16:9 或 9:16。

auto16:99:161:121:9
end_image_urlURL 字符串

作为尾帧的图片。

middle_image_urlsURL 字符串 数组
promptstring

要生成什么,用日常的话描述。

start_image_urlURL 字符串

作为首帧的图片。

elementsany

需要在整个视频里保持一致的人物或物体。

image_urlsURL 字符串 数组

用作参考的图片。

video_urlsURL 字符串 数组

要处理或参考的视频。

响应 200

quote_idstring
model_idstring
pricestring

价格,保留 6 位小数,币种由 `currency` 字段指明

currencystring

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

unitstring
quantitynumber
tierstring
unit_pricestring

一个计费单位的价格,保留 6 位小数,币种由 `currency` 字段指明

price_book_entry_idinteger
linesobject 数组
expires_atstring
curl -X POST "https://api.minicut.ai/v1/quote/kling-4" \
  -H "Authorization: Key $MINIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resolution":"720p","prompt":"a red fox runs through snow at dawn"}'
响应 200
{
  "quote_id": "qt_01JA9Y7Q2K4M5N6P7R8S9T0V1W",
  "model_id": "kling-4",
  "price": "1.750000",
  "currency": "USD",
  "unit": "second",
  "quantity": 5,
  "tier": "720p",
  "unit_price": "0.350000",
  "lines": [],
  "expires_at": "2026-10-15T12:15:00Z"
}
401missing_api_key 没有 Authorization 请求头
401invalid_api_key 密钥错误、不存在或已被撤销
422validation_error 某个字段不符合该模型的设置
429rate_limited 请求太多,请等待 Retry-After 指定的时间
500internal_error 问题在我们这边,请重试