跳转到主要内容
POST
/
v1
/
videos
Hailuo 主体参考视频
curl --request POST \
  --url https://api.powertokens.ai/v1/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "MiniMax-Hailuo-2.3",
  "subject_reference": [
    {
      "type": "character",
      "image": [
        "https://example.com/assets/subject-reference.png"
      ]
    }
  ]
}
'
{
  "id": "<string>",
  "task_id": "<string>",
  "object": "video",
  "model": "<string>",
  "status": "queued",
  "progress": 0,
  "created_at": 123
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
model
enum<string>
必填

当前能力使用的模型名称。

可用选项:
MiniMax-Hailuo-2.3,
MiniMax-Hailuo-2.3-Fast,
MiniMax-Hailuo-02
subject_reference
object[]
必填

主体参考信息,用于约束生成结果中的人物或物体一致性。

Minimum array length: 1
prompt
string

可选的视频提示词。

响应

提交成功,返回统一 OpenAI 风格视频任务对象。

id
string
task_id
string
object
string
示例:

"video"

model
string
status
string
示例:

"queued"

progress
integer
示例:

0

created_at
integer<int64>