API 参考 / 价格

报价

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

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

路径

model_idstring必填

模型 ID,例如 seedance-2.5

请求体:seedance-2.0

promptstring必填

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

resolutionstring

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

480p720p1080p4k
durationstring

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

456789101112131415
aspect_ratiostring

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

auto21:916:94:31:13:49:16
generate_audioboolean

加入音效、背景声和语音。

truefalse
bitrate_modestring

输出码率。

standardhigh
codecstring

视频编码。auto 使用默认值。

autoH264H265
end_image_urlURL 字符串

作为尾帧的图片。

image_urlURL 字符串

作为起点的图片。我们会获取它,并为这个任务保留一份副本。

audio_urlsURL 字符串 数组

要使用的声音。

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/seedance-2.0" \
  -H "Authorization: Key $MINIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"a red fox runs through snow at dawn","resolution":"720p","duration":"5"}'
响应 200
{
  "quote_id": "qt_01JA9Y7Q2K4M5N6P7R8S9T0V1W",
  "model_id": "seedance-2.0",
  "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 问题在我们这边,请重试