Skip to main content
POST
/
api
/
v3
/
minimax
/
hailuo-02
/
pro
hailuo-pro
curl --request POST \
  --url https://gptproto.com/api/v3/minimax/hailuo-02/pro \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "image": "<string>",
  "duration": 123,
  "enable_prompt_expansion": true,
  "go_fast": true
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Overview

This endpoint provides hailuo-pro functionality.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
required
Your API key in the format: Bearer YOUR_API_KEY

Request Body

prompt
string
required
Prompt parameter
image
string
Image parameter
duration
integer
Duration parameter
enable_prompt_expansion
boolean
Enable Prompt Expansion parameter
go_fast
boolean
Go Fast parameter

Request Example

curl -X POST "https://gptproto.com/api/v3/minimax/hailuo-02/pro" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "The girl in the image begins performing a graceful ballet solo on a grand theater stage, she twirls and lifts one leg into an arabesque, soft spotlight follows her every move, cinematic lighting, slow camera pan from left to right, elegant and fluid motion",
  "image": "https://d1q70pf5vjeyhc.cloudfront.net/media/images/1751883836278138425_vVeazvso.jpeg",
  "duration": 6,
  "enable_prompt_expansion": true,
  "go_fast": true
}'

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}