API 参考 / 价格
POSThttps://api.minicut.ai/v1/quote/{model_id}
某个请求体的确切价格。15 分钟内把它的报价 ID 连同提交一起发送,就按这个价格付费。
路径
model_idstring必填
模型 ID,例如 seedance-2.5
请求体:seedance-1.0-pro
promptstring必填
要生成什么,用日常的话描述。
aspect_ratiostring
结果的宽高比,例如 16:9 或 9:16。
21:916:94:31:13:49:16autoresolutionstring
输出分辨率。越高越清晰,也越慢、越贵。
480p720p1080pdurationstring
时长,单位是秒。价格随它变化。
23456789101112camera_fixedboolean
保持镜头不动。
truefalseend_image_urlURL 字符串
作为尾帧的图片。
image_urlURL 字符串
作为起点的图片。我们会获取它,并为这个任务保留一份副本。
num_framesnumber29 至 289
要生成的帧数。
seedinteger
相同的 seed 配相同的设置,会得到相近的结果。不填则随机。
响应 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-1.0-pro" \
-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-1.0-pro",
"price": "1.750000",
"currency": "USD",
"unit": "second",
"quantity": 5,
"tier": "720p",
"unit_price": "0.350000",
"lines": [],
"expires_at": "2026-10-15T12:15:00Z"
}401
missing_api_key 没有 Authorization 请求头401
invalid_api_key 密钥错误、不存在或已被撤销422
validation_error 某个字段不符合该模型的设置429
rate_limited 请求太多,请等待 Retry-After 指定的时间500
internal_error 问题在我们这边,请重试