curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-Hailuo-02",
"image": "https://example.com/assets/start-frame.png",
"last_frame_image": "https://example.com/assets/end-frame.png",
"prompt": "A person walking from left to right",
"seconds": "6",
"size": "720P"
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "queued",
"progress": 0,
"created_at": 123
}For the MiniMax-Hailuo-02 first-and-last-frame video model. After submission, query task status with GET /v1/videos/{task_id}.
Public fields: model, images, prompt, seconds, and size. Pass exactly two images in [first_frame, last_frame] order.
curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-Hailuo-02",
"image": "https://example.com/assets/start-frame.png",
"last_frame_image": "https://example.com/assets/end-frame.png",
"prompt": "A person walking from left to right",
"seconds": "6",
"size": "720P"
}
'{
"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.
Model name used for this capability.
MiniMax-Hailuo-02 First frame image URL or Data URL.
Last frame image URL or Data URL.
Optional video prompt describing transition from first to last frame.
Target video duration in seconds.
Target output size or resolution. Available values depend on the selected model.