跳转到主要内容
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",
  "prompt": "A woman walks through a neon street in the rain.",
  "seconds": "6",
  "size": "1080P"
}
'
{
  "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-02
prompt
string
必填

视频提示词。

seconds
string

目标视频时长,单位秒。

size
string

目标输出规格或分辨率。具体可选值以当前模型支持范围为准。

响应

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

id
string
task_id
string
object
string
示例:

"video"

model
string
status
string
示例:

"queued"

progress
integer
示例:

0

created_at
integer<int64>