Appearance
计费元数据 GET /v1/models
查询模型列表与计费元数据。前端定价展示的权威来源。
端点
GET https://api.imodel.space/v1/models
Authorization: Bearer YOUR_API_KEY响应
HTTP 200
json
{
"object": "list",
"data": [
{
"id": "minimax-h3",
"object": "model",
"created": 1763692800,
"owned_by": "iModelSpace",
"meta": {
"model_type": "video",
"unit": "second",
"rates": {
"480P": 0.05,
"608P": 0.06,
"768P": 0.08,
"832P": 0.15
},
"duration": { "min": 4, "max": 15, "default": 6 },
"resolutions": ["480P", "576P", "768P", "1080P"],
"aspects": ["16:9", "1:1", "9:16"]
}
}
]
}meta 字段说明(minimax-h3 专项)
| 字段 | 类型 | 说明 |
|---|---|---|
model_type | string | 模型类型,minimax-h3 固定 "video" |
unit | string | 计费单位,minimax-h3 固定 "second" |
rates | object | 各 P 数对应的 ¥/秒(前端价格表渲染的真理源) |
duration.min / max | integer | duration 合法区间 |
duration.default | integer | duration 默认值 |
resolutions | string[] | minimax-h3 支持的 P 数白名单 |
aspects | string[] | minimax-h3 支持的画面比例白名单 |
价格计算公式
灵石 = duration(秒) × rates[resolution](¥/秒) × 100示例(按上方 rates):6 秒 768P × ¥0.08/秒 = ¥0.48 ≈ 48 灵石