Skip to main content
POST
/
video-generation
MiniMax-Hailuo-2.3
curl --request POST \
  --url https://api.linkmodel.ai/api/v1/video-generation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "MiniMax-Hailuo-2.3",
  "prompt": "<string>",
  "duration": 6,
  "first_frame_image": "<string>",
  "resolution": "768P"
}
'
{
  "code": 0,
  "data": {
    "task_id": "cb6111cf-e89f-4978-b8e3-aa59c21cceff",
    "order_id": "019da9cf-d1db-78e1-ac23-526774d01193",
    "status": "processing",
    "price": 0.074
  },
  "msg": "success",
  "request_id": "250b66dd-e1fb-4bb6-b5f6-c668efadc35d"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
model
enum<string>
required

Must be one of: MiniMax-Hailuo-2.3.

Available options:
MiniMax-Hailuo-2.3
prompt
string
required

Length must be between 1 and 2000.

Required string length: 1 - 2000
duration
enum<integer>
default:6

Must be one of: 6, 10. Defaults to 6. Value is in s.

Conditional limits:

  • 1080P resolution only supports 6 seconds duration
Available options:
6,
10
first_frame_image
string<url>
resolution
enum<string>
default:768P

Must be one of: 1080P, 768P. Defaults to 768P.

Conditional limits:

  • 10 seconds duration only supports 768P resolution
Available options:
1080P,
768P

Response

Task accepted and queued for generation.

code
integer
Example:

0

data
object
msg
string
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"