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
}For text-to-video models such as MiniMax-Hailuo-2.3 and MiniMax-Hailuo-02. After submission, query task status with GET /v1/videos/{task_id}.
Public fields: model, prompt, seconds, and size.
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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.