curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-Hailuo-02",
"images": [
"https://example.com/assets/frame-start.png",
"https://example.com/assets/frame-end.png"
],
"prompt": "The child grows up naturally.",
"seconds": "6",
"size": "1080P"
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "queued",
"progress": 0,
"created_at": 123
}适用于 MiniMax-Hailuo-02 首尾帧视频模型。提交任务后,请通过 GET /v1/videos/{task_id} 查询状态。
公开字段:model、images、prompt、seconds、size。images 需要按 [首帧, 尾帧] 的顺序传入两张图片。
curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-Hailuo-02",
"images": [
"https://example.com/assets/frame-start.png",
"https://example.com/assets/frame-end.png"
],
"prompt": "The child grows up naturally.",
"seconds": "6",
"size": "1080P"
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "queued",
"progress": 0,
"created_at": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.