Skip to main content
POST
/
api
/
v3
/
minimax
/
hailuo-02
/
pro
hailuo-02 (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/minimax/hailuo-02/pro
Minimax’s GPTProto format for the image to video API.
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
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ YesThe 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 motionPrompt parameter
imagestring❌ Nohttps://d1q70pf5vjeyhc.cloudfront.net/media/images/1751883836278138425_vVeazvso.jpegImage parameter
durationinteger❌ No6Duration parameter
enable_prompt_expansionboolean❌ NotrueEnable Prompt Expansion parameter
go_fastboolean❌ NotrueGo Fast parameter